CVE-2026-118370: libexpat · Integer Overflow or Wraparound
Affects libexpatSource CVE Database V5
Not known to be exploited · CVSS 8.2 High.
Data as of 28 Oct 2026, 02:42 UTC
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2026
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 |
|---|---|---|
| libexpatlibexpat | Affected
| Fixed in– |
GitHublibexpatpkg:github/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
Until a fix is available, applications using libexpat should consider limiting the size and complexity of XML documents processed to mitigate risk.
Description
CVE-2026-118370 is a high-severity vulnerability in libexpat up to version 2.9.0 involving a signed integer overflow in the storeAtts() function. This flaw allows attackers to cause out-of-bounds writes by supplying a document with an extremely large number of attributes, potentially crashing applications or corrupting heap memory.
References
- github.com/libexpat/libexpat/pull/1450 (opens in a new tab)
- github.com/libexpat/libexpat/commit/1bac53c4fc460a03cd9860f39501c7979f6750ae (opens in a new tab)
- github.com/libexpat/libexpat/commit/621cb2c78b253ee023a86bc91d6ddb048481c04c (opens in a new tab)
- github.com/libexpat/libexpat/blob/a76b1174c1ea52abb639a4c69d52b630a8a106a2/expat/lib/xmlparse.c (opens in a new tab)
- github.com/libexpat/libexpat (opens in a new tab)
- vulncheck.com/advisories/libexpat-through-2.9.0-integer-overflow-in-storeatts-via-attindex-and-nprefixes (opens in a new tab)