CVE-2026-57201

Asterisk: Stack Buffer Overflow in H.323 ooTrace() via Unbounded vsprintf into Fixed 2048-byte Buffer

Published Oct 27, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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, 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.

Analysis

AI-generated

Technical impact

A stack buffer overflow can arise in the H.323 `ooTrace()` tracing function of Asterisk when unbounded `vsprintf` writes into a fixed 2048-byte buffer; a specially crafted packet may trigger the overflow and cause the Asterisk process to crash, disrupting telephone services. The weakness is a stack buffer overflow caused by unbounded `vsprintf` into a fixed buffer (CWE-120) and an out-of-bounds write (CWE-787).

Affected Systems

Vendors: Asterisk and Certified Asterisk. Products: The `chan_ooh323` channel driver, which must be explicitly compiled and installed. Affected versions are those released before the security fix – Asterisk 20.20.0 and earlier, 21.12.2 and earlier, 22.10.0 and earlier, 23.4.0 and earlier, and Certified Asterisk 20.7-cert10 and earlier, 22.8-cert2 and earlier. All releases prior to 20.20.1, 21.12.3, 22.10.1, 23.4.1, Certified 20.7-cert11, and 22.8-cert3 are vulnerable.

Risk and Exploitability

The CVSS score of 7.5 classifies the issue as high severity. The EPSS score is 0.007, indicating a very low but nonzero probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is remote, requiring that the `chan_ooh323` addon be installed and its port be publicly reachable – a condition that is uncommon in default setups but possible when H.323 is enabled. An attacker can send a crafted H.323 packet to the exposed port, trigger the overflow, and force the Asterisk process to crash, resulting in denial of service for all callers. The lack of a current KEV listing indicates no known widespread exploitation, but the high CVSS and remote nature warrant prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Asterisk to the patched releases 20.20.1, 21.12.3, 22.10.1, 23.4.1, Certified 20.7-cert11, or 22.8-cert3 or later.
  • If an upgrade is not feasible, disable or uninstall the `chan_ooh323` channel driver so the vulnerable `ooTrace()` function is no longer compiled into the system.
  • Block inbound traffic to the H.323 port (default 1720) unless the service is required; restrict access to a trusted network or via VPN to limit exposure.

Generated by OpenCVE AI on November 2, 2026 at 13:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Asterisk
Asterisk asterisk
Asterisk certified Asterisk
Vendors & Products Asterisk
Asterisk asterisk
Asterisk certified Asterisk
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, 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.
Title Asterisk: Stack Buffer Overflow in H.323 ooTrace() via Unbounded vsprintf into Fixed 2048-byte Buffer
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-120

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

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 30, 2026, 8:19 PM
Reserved
Jun 24, 2026, 2:00 AM
Status
Undergoing Analysis
Published
Oct 27, 2026, 5:17 PM
Modified
Oct 30, 2026, 9:17 PM
Severity
Important
Public date
Oct 27, 2026, 4:56 PM