7.1
HIGH CVSS 4.0
CVE-2026-57188
Asterisk: Stack buffer overflow in res_xmpp XMPP namespace prefix handling
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 stack buffer overflow in `res_xmpp` `XMPP namespace prefix` handling using carefully crafted packets. The `res_xmpp` module must be loaded, an XMPP connection must be configured in `xmpp.conf`, and the attacker must have an XMPP account on the same or a federated server. 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.

INFO

Published Date :

Oct. 27, 2026, 6:17 p.m.

Last Modified :

Oct. 27, 2026, 6:17 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-57188 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Asterisk asterisk
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 HIGH [email protected]
Solution
Update Asterisk to a patched version to fix stack buffer overflow in XMPP handling.
  • Update Asterisk to 20.20.1 or later.
  • Update Asterisk to 21.12.3 or later.
  • Update Asterisk to 22.10.1 or later.
  • Update Asterisk to 23.4.1 or later.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-57188 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-57188 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-57188 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-57188 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Oct. 27, 2026

    Action Type Old Value New Value
    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 authenticated attacker may cause a stack buffer overflow in `res_xmpp` `XMPP namespace prefix` handling using carefully crafted packets. The `res_xmpp` module must be loaded, an XMPP connection must be configured in `xmpp.conf`, and the attacker must have an XMPP account on the same or a federated server. 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.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-787
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/57xxx/CVE-2026-57188.json">CVE-2026-57188</a>
    Added Reference https://github.com/asterisk/asterisk/commit/12072a559f592736a44dd9fbe1594e84714edfb4
    Added Reference https://github.com/asterisk/asterisk/commit/1328dbb503da4aa11a480a9c28e170f17e5f4e84
    Added Reference https://github.com/asterisk/asterisk/commit/3c4b08cf94eeaa3faefb3ae6c2d6ce1bd9747a13
    Added Reference https://github.com/asterisk/asterisk/commit/433102c16b8edfc31d28c96166fef03fe72fb923
    Added Reference https://github.com/asterisk/asterisk/commit/5e626250628b2579530f3f17e7b0aa37d082873b
    Added Reference https://github.com/asterisk/asterisk/commit/d570a85e45153a36919ace5d0ab06a195b30f9d1
    Added Reference https://github.com/asterisk/asterisk/commit/e329a6803ac5214028f98cc5f0b7167d66e32c08
    Added Reference https://github.com/asterisk/asterisk/releases/tag/20.20.1
    Added Reference https://github.com/asterisk/asterisk/releases/tag/21.12.3
    Added Reference https://github.com/asterisk/asterisk/releases/tag/22.10.1
    Added Reference https://github.com/asterisk/asterisk/releases/tag/23.4.1
    Added Reference https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11
    Added Reference https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3
    Added Reference https://github.com/asterisk/asterisk/security/advisories/GHSA-mxgm-8c6f-5p8f
    Added Reference https://github.com/asterisk/asterisk/tree/24.0.0-pre1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.