---
id: CVE-2026-57201
title: >-
  Asterisk: Stack Buffer Overflow in H.323 ooTrace() via Unbounded vsprintf into
  Fixed 2048-byte Buffer
summary: >-
  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 …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-787
vendor: asterisk
product: asterisk
affected:
  - asterisk < 20.20.1
  - 'asterisk >= 21.0.0-pre1, < 21.12.3'
  - 'asterisk >= 22.0.0-pre1, < 22.10.1'
  - 'asterisk >= 23.0.0-pre1, < 23.4.1'
  - certified-asterisk < 20.7-cert11
  - 'certified-asterisk >= 22.8-cert1-pre1, < 22.8-cert3'
published: '2026-10-27'
updated: '2026-10-27'
sourceUpdated: '2026-10-27T16:56:37.203Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-57201'
references:
  - url: >-
      https://github.com/asterisk/asterisk/security/advisories/GHSA-x348-j6c9-77f3
    label: >-
      https://github.com/asterisk/asterisk/security/advisories/GHSA-x348-j6c9-77f3
  - url: >-
      https://github.com/asterisk/asterisk/commit/2d7b8c8dc13d9ead8b6f36cc38b6dd91cd4abd3a
    label: >-
      https://github.com/asterisk/asterisk/commit/2d7b8c8dc13d9ead8b6f36cc38b6dd91cd4abd3a
  - url: >-
      https://github.com/asterisk/asterisk/commit/33f62e351642edd9c58ef97b0002132722546af9
    label: >-
      https://github.com/asterisk/asterisk/commit/33f62e351642edd9c58ef97b0002132722546af9
  - url: >-
      https://github.com/asterisk/asterisk/commit/875ac7413de0b7068cd12d0da2f140cd06ba9357
    label: >-
      https://github.com/asterisk/asterisk/commit/875ac7413de0b7068cd12d0da2f140cd06ba9357
  - url: >-
      https://github.com/asterisk/asterisk/commit/ac0a64dec6d4231bf005a68da6af3e02bb311634
    label: >-
      https://github.com/asterisk/asterisk/commit/ac0a64dec6d4231bf005a68da6af3e02bb311634
  - url: >-
      https://github.com/asterisk/asterisk/commit/bf0c9a906892bc0f91fa753476e326919e4e30e5
    label: >-
      https://github.com/asterisk/asterisk/commit/bf0c9a906892bc0f91fa753476e326919e4e30e5
  - url: >-
      https://github.com/asterisk/asterisk/commit/c4d9b4defe83f74523880fd630c02c49683786a3
    label: >-
      https://github.com/asterisk/asterisk/commit/c4d9b4defe83f74523880fd630c02c49683786a3
  - url: >-
      https://github.com/asterisk/asterisk/commit/fff256d0539e96f70ac315844d72e9d540f03a4c
    label: >-
      https://github.com/asterisk/asterisk/commit/fff256d0539e96f70ac315844d72e9d540f03a4c
  - url: 'https://github.com/asterisk/asterisk/releases/tag/20.20.1'
    label: 'https://github.com/asterisk/asterisk/releases/tag/20.20.1'
  - url: 'https://github.com/asterisk/asterisk/releases/tag/21.12.3'
    label: 'https://github.com/asterisk/asterisk/releases/tag/21.12.3'
  - url: 'https://github.com/asterisk/asterisk/releases/tag/22.10.1'
    label: 'https://github.com/asterisk/asterisk/releases/tag/22.10.1'
  - url: 'https://github.com/asterisk/asterisk/releases/tag/23.4.1'
    label: 'https://github.com/asterisk/asterisk/releases/tag/23.4.1'
  - url: 'https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11'
    label: 'https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11'
  - url: 'https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3'
    label: 'https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3'
  - url: 'https://github.com/asterisk/asterisk/tree/24.0.0-pre1'
    label: 'https://github.com/asterisk/asterisk/tree/24.0.0-pre1'
tags:
  - cve.org
ingestedAt: '2026-10-27T17:33:23.790Z'
---

## Overview

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.

## Affected

- `asterisk < 20.20.1`
- `asterisk >= 21.0.0-pre1, < 21.12.3`
- `asterisk >= 22.0.0-pre1, < 22.10.1`
- `asterisk >= 23.0.0-pre1, < 23.4.1`
- `certified-asterisk < 20.7-cert11`
- `certified-asterisk >= 22.8-cert1-pre1, < 22.8-cert3`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
