Skip to main content
← All vulnerabilities
CVE-2026-57188EUVD-2026-111344GHSA-MXGM-8C6F-5P8F

Asterisk: Stack buffer overflow in res_xmpp XMPP namespace prefix handling

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 20.20.1, 21.12.3, 22.10.1, 23.4.1, 20.7-cert11, and 1 more
None on Exploit-DB, Metasploit or GitHub

Summary

Asterisk, an open source telephony toolkit, is affected through its res_xmpp module, which handles XMPP (chat) connections. An authenticated attacker who sends specially crafted XMPP packets can overflow a stack buffer, which could crash the service or potentially allow code execution.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • asterisk asterisk

    fixed in 20.20.1; From 21.0.0-pre1 · fixed in 21.12.3; From 22.0.0-pre1 · fixed in 22.10.1; From 23.0.0-pre1 · fixed in 23.4.1

  • asterisk certified-asterisk

    fixed in 20.7-cert11; From 22.8-cert1-pre1 · fixed in 22.8-cert3

References 15

GitHub · asterisk/asterisk