CVEsasteriskCVE-2026-57191Published Oct 27, 21:32 · Updated Oct 27, 21:32 UTC
8.2
HighCVSS 4.0 · from GitHub_M
CVE-2026-57191

Asterisk: Stack buffer overflow in MWI NOTIFY Message-Account parsing

asterisk · Buffer overflow · CWE-120
Affectedasterisk, certified-asterisk
FixNo fix listed yet.
PublishedOct 27, 21:32 · GitHub_M
ScoredOct 27 · 8.2 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:06 UTC

What we know

No known exploitation. CISA KEV, checked 22:06 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
It only works under certain conditions, which makes it harder to pull off. CVSS: high attack complexity.
A successful attack can take the service down. CVSS impact.

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 `sscanf` in `res_pjsip_pubsub` when parsing the `MWI NOTIFY` `Message-Account` field may allow an unauthenticated attacker to send a carefully crafted packet that causes a stack buffer overflow and corrupts the underlying transport, permanently disabling all SIP functionality. An Asterisk restart is required to restore full operation. 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.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed inasterisk< 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–certified-asterisk< 20.7-cert11–certified-asterisk>= 22.8-cert1-pre1, < 22.8-cert3–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/asterisk/asterisk/security/advisories/GHSA-589g-qgf8-m6mx · github.comrefsource_CONFIRMgithub.com/asterisk/asterisk/commit/0e89514084490070c5ecee419ec5ee37b7c49528 · github.comrefsource_MISCgithub.com/asterisk/asterisk/commit/647b35c3cfd4a2cc3b1fb7560b085feba5c24b4b · github.comrefsource_MISCgithub.com/asterisk/asterisk/commit/7a1ffcdf38cc76d1c4eae51651667f3fd4548ab0 · github.comrefsource_MISCgithub.com/asterisk/asterisk/commit/b4be3bd67ce4ac35b94fbfa860cdd9e1c906610b · github.comrefsource_MISCgithub.com/asterisk/asterisk/commit/b5281828dad7d44658439ba6393fe6be3328a4bd · github.comrefsource_MISCgithub.com/asterisk/asterisk/commit/dca516f6d895e8867d48fa56b6ce7f05b6f7457a · github.comrefsource_MISCgithub.com/asterisk/asterisk/commit/ee1b66a5e40733ba0b9fad7fc4d032cabbe1dd75 · github.comrefsource_MISCgithub.com/asterisk/asterisk/releases/tag/20.20.1 · github.comrefsource_MISCgithub.com/asterisk/asterisk/releases/tag/21.12.3 · github.comrefsource_MISCgithub.com/asterisk/asterisk/releases/tag/22.10.1 · github.comrefsource_MISCgithub.com/asterisk/asterisk/releases/tag/23.4.1 · github.comrefsource_MISCgithub.com/asterisk/asterisk/releases/tag/certified-20.7-cert11 · github.comrefsource_MISCgithub.com/asterisk/asterisk/releases/tag/certified-22.8-cert3 · github.comrefsource_MISCgithub.com/asterisk/asterisk/tree/24.0.0-pre1 · github.comrefsource_MISC

Other CVEs in asterisk

All 36 →
2.3Asterisk: Asterisk app_sms.c copies externally controlled SMS lengths into fixed in-struct buffers · CVE-2026-57199Oct 276.9Asterisk: Local privilege escalation through ast_loggrabber's world-writable helper location · CVE-2026-57203Oct 277.0Asterisk: SQL Injection in cel_pgsql and cel_tds via CELGenUserEvent eventtype Field · CVE-2026-57190Oct 27