CVE-2026-57192 Asterisk: Out-of-Bounds Write in Codec2 Decoder Due to Floor/Ceil Sample Count Mismatch

Medium 6.0 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-57192?

CVE-2026-57192 is a medium-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 authenticated attacker may cause a heap buffer overflow through an out-of-bounds write in the `Codec2` decoder caused by a `floor/ceil sample-count mismatch`. The `codec_codec2` module must be loaded and `Codec2` must be configured on the attacked endpoint. The attacker must pass SIP authentication by username/password or `source IP address matching`, establish a call using `Codec2`, and send carefully crafted `Codec2` audio packets. 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-131, CWE-125

Which versions are affected by CVE-2026-57192?

How do I fix CVE-2026-57192?

Upgrade to a fixed version.

Is CVE-2026-57192 being exploited?

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

Sources

Also known as DEBIAN-CVE-2026-57192, GHSA-qf8j-jp7h-c5hx, UBUNTU-CVE-2026-57192.

Is CVE-2026-57192 in your software?

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

Check your SBOMs for free