CVE-2026-23739 Details
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.
A vulnerability allowing XML External Entity (XXE) injection has been identified in Asterisk versions through 23.2.1, 22.8.1, 21.12.0, 20.18.1, and 20.7-cert8. The issue arises in the ast_xml_open() function within xml.c, where XML documents are parsed using libxml with unsafe options that enable entity expansion and XInclude processing. The function invokes xmlReadFile() with the XML_PARSE_NOENT flag, allowing the loading and resolution of external entities, a feature disabled by default in libxml2 versions 2.9 and later due to safety concerns. This vulnerability could be exploited to trigger XXE attacks or XInclude-based local file disclosure, potentially exposing sensitive files from the host system. While Asterisk currently does not permit untrusted or user-supplied XML to be processed in this manner, a fix is recommended to prevent future risks.
Users can upgrade to Asterisk versions 23.2.2, 22.8.2, 21.12.1, 20.18.2, or 20.7-cert9 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/asterisk/asterisk/security/advisories/GHSA-85x7-54wr-vh42 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sangoma asterisk | < 20.18.2 >= 21.0.0, < 21.12.1 >= 22.0.0, < 22.8.2 >= 23.0.0, < 23.2.2 |
CPE
Remediation
| |
| sangoma certified asterisk | <= 18.9 20.7 cert1 20.7 cert1-rc1 20.7 cert1-rc2 20.7 cert2 20.7 cert3 20.7 cert4 20.7 cert5 20.7 cert6 20.7 cert7 20.7 cert8 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 18, 2026 | Initial Analysis | [email protected] |
| Feb 6, 2026 | New CVE Received | [email protected] |