CVE-2026-57197: asterisk · Heap-based Buffer Overflow
Affects asteriskSource CVE Database V5
Not known to be exploited · CVSS 7.7 High · fixed in 23.4.1 : patch asterisk soon.
Data as of 27 Oct 2026, 17:24 UTC
- Patch
- Available – fixed in 23.4.1, 22.10.1, 21.12.3 +3
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| asteriskasterisk | Affected
| Fixed in
|
| asteriskasterisk | Affected
| Fixed in
|
| asteriskasterisk | Affected
| Fixed in
|
| asteriskasterisk | Affected
| Fixed in
|
| asteriskcertified-asterisk | Affected
| Fixed in
|
| asteriskcertified-asterisk | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official fixes by upgrading to Asterisk versions 20.20.1, 21.12.3, 22.10.1, 23.4.1 or Certified Asterisk 20.7-cert11, 22.8-cert3. These versions contain the patch that resolves the heap-based buffer overflow. No other mitigation is indicated or required.
Description
CVE-2026-57197 is a heap-based buffer overflow vulnerability in Asterisk's handling of OGG/Speex audio packets. It occurs due to an unbounded memcpy operation in the format_ogg_speex component when processing corrupted Speex audio files. An attacker must supply a crafted file and have it played by Asterisk, requiring elevated privileges or administrator cooperation. This flaw can cause Asterisk to crash. Fixed versions include Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1, and certain Certified Asterisk releases.
References
- github.com/asterisk/asterisk/security/advisories/GHSA-8jhw-m2hg-vp3h (opens in a new tab)
- github.com/asterisk/asterisk/commit/0a2c1d9e910f7c4dfffa05e328accb8a96990df8 (opens in a new tab)
- github.com/asterisk/asterisk/commit/0e6d761ed83f1671632c91805252767eae85e1a2 (opens in a new tab)
- github.com/asterisk/asterisk/commit/1cf189549994e0898954c814ce5a023cd969f1db (opens in a new tab)
- github.com/asterisk/asterisk/commit/29026ece6fdd1834bb8f49c013ef163745ff2bbd (opens in a new tab)
- github.com/asterisk/asterisk/commit/336ebe762bf6dfaf279796700de8ab51f7acd2f3 (opens in a new tab)
- github.com/asterisk/asterisk/commit/ccec146953b5e13043a36663af84e5a50ca633a6 (opens in a new tab)
- github.com/asterisk/asterisk/commit/dbcf38933866f0ddd023bc1814a78d4c750b0809 (opens in a new tab)
- github.com/asterisk/asterisk/releases/tag/20.20.1 (opens in a new tab)
- github.com/asterisk/asterisk/releases/tag/21.12.3 (opens in a new tab)
- github.com/asterisk/asterisk/releases/tag/22.10.1 (opens in a new tab)
- github.com/asterisk/asterisk/releases/tag/23.4.1 (opens in a new tab)
- github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11 (opens in a new tab)
- github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3 (opens in a new tab)
- github.com/asterisk/asterisk/tree/24.0.0-pre1 (opens in a new tab)