CVE-2026-57199 Asterisk: Asterisk app_sms.c copies externally controlled SMS lengths into fixed in-struct buffers

Low 2.3 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-57199?

CVE-2026-57199 is a low-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, `app_sms.c` copies externally controlled `SMS` lengths into `fixed in-struct buffers` without sufficient bounds checks, allowing an attacker to corrupt memory or crash Asterisk. The administrator must explicitly use the `SMS` dialplan application, which is useful when routing calls to or from `analog devices`, and must not have ensured that data passed to the application is valid. 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

Which versions are affected by CVE-2026-57199?

How do I fix CVE-2026-57199?

Upgrade to a fixed version.

Is CVE-2026-57199 being exploited?

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

Sources

Also known as DEBIAN-CVE-2026-57199, GHSA-q9fr-m7g8-6ph5, UBUNTU-CVE-2026-57199.

Is CVE-2026-57199 in your software?

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

Check your SBOMs for free