CVE-2026-57197
Asterisk: Heap Buffer Overflow in OGG/Speex File Playback (format_ogg_speex)
Check your servers for CVE-2026-57197
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-57197 affects asterisk, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3, an unbounded `memcpy` of `OGG/Speex` packet data in `format_ogg_speex` can cause a heap buffer overflow and crash Asterisk when reading a file containing corrupted Speex audio. The attacker must create the file and make it available to Asterisk either through sufficiently elevated privileges or by convincing an Asterisk administrator to make it available. Asterisk must also be configured to play that file. This issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3.
Severity (CVSS)
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality high, integrity high, availability high: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.63%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 51.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 2 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| asterisk |
affected < 20.20.1 affected >= 21.0.0-pre1, < 21.12.3 affected >= 22.0.0-pre1, < 22.10.1 affected >= 23.0.0-pre1, < 23.4.1
|
| certified-asterisk |
affected < 20.7-cert11 affected >= 22.8-cert1-pre1, < 22.8-cert3
|
Is my server affected?
Find the installed version of asterisk and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i asterisk
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-57197 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-57197RHEL, Rocky, Alma, Fedora
rpm -q asterisk
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-57197Alpine
apk list --installed | grep -i asteriskWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-57197
trivy image --scanners vuln IMAGE | grep CVE-2026-57197
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/asterisk/asterisk/commit/0a2c1d9e910f7c4dfffa05e328accb8a96990df8 github.com
- https://github.com/asterisk/asterisk/commit/0e6d761ed83f1671632c91805252767eae85e1a2 github.com
- https://github.com/asterisk/asterisk/commit/1cf189549994e0898954c814ce5a023cd969f1db github.com
- https://github.com/asterisk/asterisk/commit/29026ece6fdd1834bb8f49c013ef163745ff2bbd github.com
- https://github.com/asterisk/asterisk/commit/336ebe762bf6dfaf279796700de8ab51f7acd2f3 github.com
- https://github.com/asterisk/asterisk/commit/ccec146953b5e13043a36663af84e5a50ca633a6 github.com
- https://github.com/asterisk/asterisk/commit/dbcf38933866f0ddd023bc1814a78d4c750b0809 github.com
- https://github.com/asterisk/asterisk/releases/tag/20.20.1 github.com
- https://github.com/asterisk/asterisk/releases/tag/21.12.3 github.com
- https://github.com/asterisk/asterisk/releases/tag/22.10.1 github.com
- https://github.com/asterisk/asterisk/releases/tag/23.4.1 github.com
- https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11 github.com
- https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3 github.com
- https://github.com/asterisk/asterisk/tree/24.0.0-pre1 github.com
Source: the record CVE-2026-57197 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse