CVE-2026-57195Asterisk: NULL Pointer Dereference in HTTP AMI Digest Authentication
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | asterisk | Fix pending | UBUNTU-CVE-2026-57195 | |
| Ubuntu 26.04 | asterisk | Under investigation | UBUNTU-CVE-2026-57195 | |
| Ubuntu 24.04 | asterisk | Under investigation | UBUNTU-CVE-2026-57195 | |
| Ubuntu 22.04 | asterisk | Under investigation | UBUNTU-CVE-2026-57195 | |
| Ubuntu 20.04 | asterisk | Fix pending | UBUNTU-CVE-2026-57195 | |
| Ubuntu 18.04 | asterisk | Fix pending | UBUNTU-CVE-2026-57195 | |
| Ubuntu 16.04 | asterisk | Fix pending | UBUNTU-CVE-2026-57195 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- asterisk: affected: < 20.20.1, >= 21.0.0-pre1, < 21.12.3, >= 22.0.0-pre1, < 22.10.1, >= 23.0.0-pre1, < 23.4.1
- asterisk certified-asterisk: affected: < 20.7-cert11, >= 22.8-cert1-pre1, < 22.8-cert3
References
- https://github.com/asterisk/asterisk/security/advisories/GHSA-3rhj-hhw7-m6fw
- https://github.com/asterisk/asterisk/commit/10c5b2efcacab03bf04a229f81cc24e76fe42c41
- https://github.com/asterisk/asterisk/commit/362ef847e7e057b7626e476ddcfe7328ea314db4
- https://github.com/asterisk/asterisk/commit/5d5d8d8ef7f16774820b1889ae73d8d2ab14af45
- https://github.com/asterisk/asterisk/commit/87a1f43e4c465b885163665aa89172ed0f392663
- https://github.com/asterisk/asterisk/commit/a1fcfdf9b91ed58cc8fb9da8d135da60bae7345d
- https://github.com/asterisk/asterisk/commit/abba42c58fee2226a709583afdbeec75cf1dde8b
- https://github.com/asterisk/asterisk/commit/fff89162cdd702e8a143701f138edd8dceab154f
- https://github.com/asterisk/asterisk/releases/tag/20.20.1
- https://github.com/asterisk/asterisk/releases/tag/21.12.3
- https://github.com/asterisk/asterisk/releases/tag/22.10.1
- https://github.com/asterisk/asterisk/releases/tag/23.4.1
- https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11
- https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3
- https://github.com/asterisk/asterisk/tree/24.0.0-pre1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.