CVE-2024-28757: libexpat · XML Entity Expansion
Affects libexpatSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 2.6.2 soon.
Data as of 26 Oct 2026, 09:15 UTC
- EPSS
- 2.0% chance of exploitation in 30 days – higher than 80% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.6.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Mar 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
Upgrade libexpat/libexpat to 2.6.2.
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
European organizations should immediately audit their use of libexpat, focusing on whether XML_ExternalEntityParserCreate is used to create isolated external parsers. If so, they should avoid or disable this usage pattern until patches are available. Applying vendor patches or updates to libexpat once released is critical. In the interim, organizations can implement input validation and filtering to block XML documents containing external entity declarations or recursive entity references. Network-level protections such as Web Application Firewalls (WAFs) can be configured to detect and block malicious XML payloads exploiting entity expansion. Monitoring XML parser logs for unusual activity or resource spikes can provide early warning signs of exploitation attempts. For software vendors embedding libexpat, updating to a patched version and releasing updates to customers is essential. Additionally, organizations should consider isolating XML processing environments and applying resource limits to prevent resource exhaustion. Comprehensive incident response plans should be updated to include this vulnerability scenario.
Description
libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate).
References
- github.com/libexpat/libexpat/pull/842 (opens in a new tab)
- github.com/libexpat/libexpat/issues/839 (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FPLC6WDSRDUYS7F7JWAOVOHFNOUQ43DD/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LKJ7V5F6LJCEQJXDBWGT27J7NAP3E3N7/ (opens in a new tab)
- security.netapp.com/advisory/ntap-20240322-0001/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VK2O34GH43NTHBZBN7G5Y6YKJKPUCTBE/ (opens in a new tab)
- openwall.com/lists/oss-security/2024/03/15/1 (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VK2O34GH43NTHBZBN7G5Y6YKJKPUCTBE/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FPLC6WDSRDUYS7F7JWAOVOHFNOUQ43DD/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LKJ7V5F6LJCEQJXDBWGT27J7NAP3E3N7/ (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-784301.html (opens in a new tab)