CVE-2026-57191: asterisk · Classic Buffer Overflow
Affects asteriskSource CVE Database V5
Not known to be exploited · CVSS 8.2 High · fixed in 23.4.1 : patch asterisk soon.
Data as of 27 Oct 2026, 21:58 UTC
- Patch
- Available – fixed in 23.4.1, 22.10.1, 21.12.3 +3
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade asterisk to 23.4.1, 22.10.1, 21.12.3 or 20.20.1; certified-asterisk to 22.8-cert3 or 20.7-cert11.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| asteriskasterisk | Affected
| Fixed in
|
| asteriskasterisk | Affected
| Fixed in
|
| asteriskasterisk | Affected
| Fixed in
|
| asteriskasterisk | Affected
| Fixed in
|
| asteriskcertified-asterisk | Affected
| Fixed in
|
| asteriskcertified-asterisk | Affected
| Fixed in
|
AI-suggested
The vulnerability is fixed in Asterisk versions 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3. Users should upgrade to these fixed versions to remediate the issue. No other mitigation or workaround is indicated.
Description
CVE-2026-57191 is a high-severity classic stack buffer overflow vulnerability in Asterisk's res_pjsip_pubsub module. It occurs due to an unbounded sscanf call when parsing the MWI NOTIFY Message-Account field. An unauthenticated attacker can send a crafted packet to trigger this overflow, corrupting the transport and disabling all SIP functionality until the service is restarted. Fixed versions are available.
References
- github.com/asterisk/asterisk/security/advisories/GHSA-589g-qgf8-m6mx (opens in a new tab)
- github.com/asterisk/asterisk/commit/0e89514084490070c5ecee419ec5ee37b7c49528 (opens in a new tab)
- github.com/asterisk/asterisk/commit/647b35c3cfd4a2cc3b1fb7560b085feba5c24b4b (opens in a new tab)
- github.com/asterisk/asterisk/commit/7a1ffcdf38cc76d1c4eae51651667f3fd4548ab0 (opens in a new tab)
- github.com/asterisk/asterisk/commit/b4be3bd67ce4ac35b94fbfa860cdd9e1c906610b (opens in a new tab)
- github.com/asterisk/asterisk/commit/b5281828dad7d44658439ba6393fe6be3328a4bd (opens in a new tab)
- github.com/asterisk/asterisk/commit/dca516f6d895e8867d48fa56b6ce7f05b6f7457a (opens in a new tab)
- github.com/asterisk/asterisk/commit/ee1b66a5e40733ba0b9fad7fc4d032cabbe1dd75 (opens in a new tab)
- github.com/asterisk/asterisk/releases/tag/20.20.1 (opens in a new tab)
- github.com/asterisk/asterisk/releases/tag/21.12.3 (opens in a new tab)
- github.com/asterisk/asterisk/releases/tag/22.10.1 (opens in a new tab)
- github.com/asterisk/asterisk/releases/tag/23.4.1 (opens in a new tab)
- github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11 (opens in a new tab)
- github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3 (opens in a new tab)
- github.com/asterisk/asterisk/tree/24.0.0-pre1 (opens in a new tab)