CVE-2026-23739
published low CVSS 3.1 · 2.0Asterisk xml.c uses unsafe XML_PARSE_NOENT leading to potential XXE Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| asterisk | — | asterisk< 23.2.2 · < 22.8.2 · < 21.12.1 · < 20.18.2 · < 20.7-cert9 | Affected | Not stated | GitHub_M |
| Debian | bullseye | asterisk | Advisory build | 1:16.28.0~dfsg-0+deb11u9 | DLA-4515-1 |
Description
Asterisk is an open source private branch exchange and telephony toolkit. Prior to versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2, the ast_xml_open() function in xml.c parses XML documents using libxml with unsafe parsing options that enable entity expansion and XInclude processing. Specifically, it invokes xmlReadFile() with the XML_PARSE_NOENT flag and later processes XIncludes via xmlXIncludeProcess().If any untrusted or user-supplied XML file is passed to this function, it can allow an attacker to trigger XML External Entity (XXE) or XInclude-based local file disclosure, potentially exposing sensitive files from the host system. This can also be triggered in other cases in which the user is able to supply input in xml format that triggers the asterisk process to parse it. This issue has been patched in versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.0 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| asterisk | asterisk | < 23.2.2 (affected)< 22.8.2 (affected)< 21.12.1 (affected)< 20.18.2 (affected)< 20.7-cert9 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-611 CWE-611: Improper Restriction of XML External Entity Reference
References
1Provider assertions
2GitHub_M · cna
Asterisk xml.c uses unsafe XML_PARSE_NOENT leading to potential XXE Injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ef7fc2f82d942897f096481de326899585d11f8cbaeafd6bbfabd5b9398ea901
- Ingested
- 23 Sep 2026, 09:06:03 UTC
- Source record
- Official CVE record