CVE-2026-57201: Asterisk H.323 stack buffer overflow in trace logging

CVE-2026-57201 · Severity: high · CVSS 7.5 · Published 2026-10-27

Asterisk is an open-source telephone system and communication toolkit. The H.323 channel driver addon, when explicitly compiled and installed, contains a stack buffer overflow in its trace-logging function that can be triggered remotely by a crafted packet. An attacker with network access to the H.323 port can crash the Asterisk process, causing loss of telephone service.

Technologies: Asterisk, Asterisk Certified Asterisk. Vendors: Asterisk.

Quick answers

Is CVE-2026-57201 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-57201 being exploited in the wild.
How severe is CVE-2026-57201?
High severity, with a CVSS score of 7.5, published 27 October 2026.
Which products and versions are affected?
Asterisk before 20.20.1, 21.12.3, 22.10.1, 23.4.1; Asterisk Certified Asterisk before 20.7-cert11, 22.8-cert3.
Is there a fix for CVE-2026-57201?
Yes: fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1; Certified Asterisk 20.7-cert11, 22.8-cert3. Until then: Ensure the chan_ooh323 H.323 channel driver addon is not compiled and installed unless explicitly required, as it is not included in the default Asterisk build. Restrict network access to the H.323 port to trusted sources only. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-57201 attacked?
It is attacked over the network, in a hosted service.
Am I affected by CVE-2026-57201?
Check whether you run Asterisk or Asterisk Certified Asterisk at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1; Certified Asterisk 20.7-cert11, 22.8-cert3

Ensure the chan_ooh323 H.323 channel driver addon is not compiled and installed unless explicitly required, as it is not included in the default Asterisk build. Restrict network access to the H.323 port to trusted sources only.

Technical details

The vulnerability is a stack buffer overflow in the ooTrace() function within the chan_ooh323 addon driver, where unbounded vsprintf writes into a fixed 2048-byte buffer. A remote attacker can send a specially crafted H.323 packet to trigger the overflow, causing denial of service by crashing the Asterisk process. The fix replaces vsprintf with ast_vasprintf for bounds-checked formatting.

Affected products

  • Asterisk Asterisk before 20.20.1, 21.12.3, 22.10.1, 23.4.1
  • Asterisk Certified Asterisk before 20.7-cert11, 22.8-cert3

Timeline

  • 2026-10-27: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.