CVE-2026-57201: Asterisk: Stack Buffer Overflow in H.323 ooTrace() via Unbounded vsprintf into Fixed 2048-byte Buffer
CVE-2026-57201 affects 239 listed versions of Sangoma Asterisk in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Sangoma Asterisk
239 of 250 listed versions are affected. Fixed in 23.4.1, 22.10.1, 21.12.3, 20.20.1. The newest release, 24.0.0, is not affected.
23.4.0 23.3.0 23.2.2 23.2.1 23.2.0 23.1.0 23.0.0 22.10.0 22.9.0 22.8.2 22.8.1 22.8.0 22.7.0 22.6.0 22.5.2 22.5.1 22.5.0 22.4.1 22.4.0 22.3.0 22.2.0 22.1.1 22.1.0 22.0.0 22.0.0-rc2 22.0.0-rc1 21.12.2 21.12.1 21.12.0 21.11.0 21.10.2 21.10.1 21.10.0 21.9.1 21.9.0 21.8.0 21.7.0 21.6.1 21.6.0 21.5.0 21.4.3 21.4.2 21.4.1 21.4.0 21.3.1 21.3.0 21.2.0 21.1.0 21.0.2 21.0.1 21.0.0 20.20.0 20.19.0 20.18.2 20.18.1 20.18.0 20.17.0 20.16.0 20.15.2 20.15.1 and 179 more
What it is
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, a stack buffer overflow in the H.323 `ooTrace()` trace-logging function can occur when unbounded `vsprintf` writes into a fixed `2048-byte buffer`. A remote attacker may send a carefully crafted packet that causes the Asterisk process to crash. The `chan_ooh323` addon channel driver must be explicitly compiled and installed, which is not the default, and its port must be publicly reachable. 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (GitHub)
Published by GitHub on 27 October 2026. Last changed 30 October 2026.
Sources
Check one version you run: look CVE-2026-57201 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.