CVE-2023-52426: libexpat · XML Entity Expansion
Affects libexpatSource CVE Database V5
Not known to be exploited · CVSS 5.5 Medium.
Data as of 26 Oct 2026, 11:42 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 4 Feb 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHublibexpat/libexpatpkg:github/libexpat/libexpatOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2023-52426, organizations should first identify all instances of libexpat in their environments, focusing on versions up to 2.5.0 and verifying if XML_DTD was undefined at compile time. Recompiling libexpat with XML_DTD defined is a direct mitigation to prevent recursive entity expansion. Until official patches are released, consider applying custom patches or configuration changes that disable or limit entity expansion in XML parsers. Implement strict access controls to limit local user privileges and reduce the risk of exploitation by unauthorized users. Monitor XML processing logs for unusual or recursive entity patterns that could indicate exploitation attempts. For embedded systems, coordinate with vendors to obtain updated firmware or software versions that address this vulnerability. Additionally, employ resource usage monitoring and limits on XML parsing processes to detect and mitigate potential denial of service conditions. Regularly update software dependencies and maintain a robust vulnerability management program to quickly respond to new information or patches related to this CVE.
Description
libexpat through 2.5.0 allows recursive XML Entity Expansion if XML_DTD is undefined at compile time.
References
- github.com/libexpat/libexpat/pull/777 (opens in a new tab)
- github.com/libexpat/libexpat/commit/0f075ec8ecb5e43f8fdca5182f8cca4703da0404 (opens in a new tab)
- cwe.mitre.org/data/definitions/776.html (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PNRIHC7DVVRAIWFRGV23Y6UZXFBXSQDB/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WNUBSGZFEZOBHJFTAD42SAN4ATW2VEMV/ (opens in a new tab)
- security.netapp.com/advisory/ntap-20240307-0005/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PNRIHC7DVVRAIWFRGV23Y6UZXFBXSQDB/ (opens in a new tab)