---
id: CVE-2026-57195
title: 'Asterisk: NULL Pointer Dereference in HTTP AMI Digest Authentication'
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 NULL pointer dereference in the `Asterisk Manager
  Interface (…
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-476
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-27T21:04:25.747Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-57195'
references:
  - url: >-
      https://github.com/asterisk/asterisk/security/advisories/GHSA-3rhj-hhw7-m6fw
    label: >-
      https://github.com/asterisk/asterisk/security/advisories/GHSA-3rhj-hhw7-m6fw
  - url: >-
      https://github.com/asterisk/asterisk/commit/10c5b2efcacab03bf04a229f81cc24e76fe42c41
    label: >-
      https://github.com/asterisk/asterisk/commit/10c5b2efcacab03bf04a229f81cc24e76fe42c41
  - url: >-
      https://github.com/asterisk/asterisk/commit/362ef847e7e057b7626e476ddcfe7328ea314db4
    label: >-
      https://github.com/asterisk/asterisk/commit/362ef847e7e057b7626e476ddcfe7328ea314db4
  - url: >-
      https://github.com/asterisk/asterisk/commit/5d5d8d8ef7f16774820b1889ae73d8d2ab14af45
    label: >-
      https://github.com/asterisk/asterisk/commit/5d5d8d8ef7f16774820b1889ae73d8d2ab14af45
  - url: >-
      https://github.com/asterisk/asterisk/commit/87a1f43e4c465b885163665aa89172ed0f392663
    label: >-
      https://github.com/asterisk/asterisk/commit/87a1f43e4c465b885163665aa89172ed0f392663
  - url: >-
      https://github.com/asterisk/asterisk/commit/a1fcfdf9b91ed58cc8fb9da8d135da60bae7345d
    label: >-
      https://github.com/asterisk/asterisk/commit/a1fcfdf9b91ed58cc8fb9da8d135da60bae7345d
  - url: >-
      https://github.com/asterisk/asterisk/commit/abba42c58fee2226a709583afdbeec75cf1dde8b
    label: >-
      https://github.com/asterisk/asterisk/commit/abba42c58fee2226a709583afdbeec75cf1dde8b
  - url: >-
      https://github.com/asterisk/asterisk/commit/fff89162cdd702e8a143701f138edd8dceab154f
    label: >-
      https://github.com/asterisk/asterisk/commit/fff89162cdd702e8a143701f138edd8dceab154f
  - 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-27T21:58:08.882Z'
---

## 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 NULL pointer dereference in the `Asterisk Manager Interface (AMI)` may allow an unauthenticated attacker to crash Asterisk when `Digest Authentication` is used via `HTTP`. The Asterisk `HTTP` web server, AMI, and AMI access via `HTTP` must all be enabled; each is disabled by default. The attacker must be able to connect to the `HTTP` server, which binds only to `127.0.0.1` by default even when enabled. 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.
