Skip to main content
Network Thinking Solutions Logo

CVE-2026-23739

Asterisk xml.c uses unsafe XML_PARSE_NOENT leading to potential XXE Injection

All CVEs
CVE-2026-23739Published 2/6/2026

Asterisk xml.c uses unsafe XML_PARSE_NOENT leading to potential XXE Injection

Vendor advisory
CVSS6.5Medium

Overview

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.

Published
2/6/2026
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
asterisk
sangoma
< 20.18.2

Verify advisory

Source
asterisk
sangoma
≥ 21.0.0, < 21.12.1

Verify advisory

Source
asterisk
sangoma
≥ 22.0.0, < 22.8.2

Verify advisory

Source
asterisk
sangoma
≥ 23.0.0, < 23.2.2

Verify advisory

Source
certified asterisk
sangoma
≤ 18.9

Verify advisory

Source
certified asterisk
sangoma
20.7

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
asterisk
asterisk
< 23.2.2

Verify advisory

Source
asterisk
asterisk
< 22.8.2

Verify advisory

Source
asterisk
asterisk
< 21.12.1

Verify advisory

Source
asterisk
asterisk
< 20.18.2

Verify advisory

Source
asterisk
asterisk
< 20.7-cert9

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 6.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.