CVE-2026-57197 Asterisk: Heap Buffer Overflow in OGG/Speex File Playback (format_ogg_speex)

High 7.7 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-57197?

CVE-2026-57197 is a high-severity vulnerability in asterisk, published on 27 Oct 2026.

Official 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.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2026-57197?

How do I fix CVE-2026-57197?

Upgrade to a fixed version.

Is CVE-2026-57197 being exploited?

There is no known exploitation of CVE-2026-57197 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-57197, GHSA-8jhw-m2hg-vp3h, UBUNTU-CVE-2026-57197.

Is CVE-2026-57197 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free