cve.bz

CVE-2026-57197 asterisk: Heap-based Buffer Overflow

7.7 highEPSS 0.5%

High (7.7) in asterisk. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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 4.0

7.7 high
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
EPSS
0.5% (unchanged from 0.5% a week ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-122 Heap-based Buffer Overflow
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Under analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-57197 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-57197?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-57197?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-57197 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
asterisk< 20.20.1
asterisk>= 21.0.0-pre1, < 21.12.3
asterisk>= 22.0.0-pre1, < 22.10.1
asterisk>= 23.0.0-pre1, < 23.4.1
asterisk certified-asterisk< 20.7-cert11
asterisk certified-asterisk>= 22.8-cert1-pre1, < 22.8-cert3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14asterisk1:22.10.1+dfsg+~cs6.17.60671434-1DEBIAN-CVE-2026-57197
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 moreasteriskno fix listedUBUNTU-CVE-2026-57197

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as Important because an out-of-bounds write during audio parsing can lead to service crashes or potential arbitrary code execution, though exploitation is constrained by the prerequisite of placing a crafted media file on the host. Asterisk is not packaged or supported in Red Hat Enterprise Linux or any other Red Hat product line. Consequently, Red Hat products are not affected by this flaw.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-57197.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON