Skip to main content
VulnerabilityPublished Updated

CVE-2023-52426: libexpat · XML Entity Expansion

Affects libexpatSource CVE Database V5

0

Not known to be exploited · CVSS 5.5 Medium.

Data as of 26 Oct 2026, 09:15 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Feb 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GitHublibexpat/libexpatpkg:github/libexpat/libexpatOther threatsAffected
  • <=2.5.0
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

Community reviews

Loading reviews…