libexpat through 2.9.0 contains a signed integer overflow vulnerability in storeAtts() in lib/xmlparse.c that allows
Affects libexpatSource GCVE Database
Not known to be exploited · CVSS 8.2 High : upgrade to 2.9.1 soon.
Data as of 28 Oct 2026, 04:15 UTC
- Affects
- libexpat through 2.9.0
- Patch
- Available – fixed in 2.9.1
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
Upgrade libexpat/libexpat to 2.9.1.
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
If you cannot patch yet, avoid processing untrusted XML documents with extremely large attribute counts.
Description
A signed integer overflow vulnerability exists in libexpat versions through 2.9.0 in the storeAtts() function within lib/xmlparse.c. This flaw allows attackers to cause out-of-bounds writes by supplying XML documents with an excessively large number of attributes, potentially leading to application crashes or heap memory corruption.
References
- nvd.nist.gov/vuln/detail/CVE-2026-118370 (opens in a new tab)
- 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 (opens in a new tab)
- github.com/libexpat/libexpat/blob/a76b1174c1ea52abb639a4c69d52b630a8a106a2/expat/lib/xmlparse.c (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)