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.
Published: 2026-10-27
Score: 8.2 High
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Patch Immediately
AI Analysis

Impact

Asterisk PBX is vulnerable to an unbounded sscanf in res_pjsip_pubsub when parsing the MWI NOTIFY Message-Account field. An unauthenticated attacker can send a carefully crafted packet that triggers a stack buffer overflow, corrupting the underlying SIP transport and permanently disabling all SIP functionality until the Asterisk daemon is restarted. The flaw is a classic buffer copy without bound checking (CWE-120) and an out‑of‑bounds write (CWE-787).

Affected Systems

The flaw affects Asterisk and Certified Asterisk, impacting all versions released prior to 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified 20.7‑cert11, 22.8‑cert3. The specified releases 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified 20.7‑cert11, 22.8‑cert3 contain the fix.

Risk and Exploitability

With a CVSS score of 8.2 the vulnerability is considered high severity. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog. The attack vector is remote, over the SIP network, and requires no authentication; a single crafted packet sent to the Asterisk server can trigger the overflow. Given the lack of authentication checks and the potential for permanent service disruption, the likelihood of exploitation is high and the risk to operating telecom infrastructure is significant.

Generated by OpenCVE AI on October 27, 2026 at 22:46 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Asterisk 20.20.1 or later releases such as 21.12.3, 22.10.1, 23.4.1, or the corresponding Certified packages.
  • Restart the Asterisk service after the upgrade to reload transport settings and restore SIP functionality.
  • Until a patch can be applied, block or restrict inbound SIP traffic to the server to mitigate potential exploitation.

Generated by OpenCVE AI on October 27, 2026 at 22:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Asterisk
Asterisk asterisk
Asterisk certified Asterisk
Vendors & Products Asterisk
Asterisk asterisk
Asterisk certified Asterisk

Tue, 27 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
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.
Title Asterisk: Stack buffer overflow in MWI NOTIFY Message-Account parsing
Weaknesses CWE-120
CWE-787
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Asterisk Asterisk Certified Asterisk
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-27T21:32:23.714Z

Reserved: 2026-06-24T02:00:46.799Z

Link: CVE-2026-57191

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-27T22:17:27.390

Modified: 2026-10-27T22:17:27.390

Link: CVE-2026-57191

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T23:00:16Z

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-787

    Out-of-bounds Write