# CVE-2026-118370: libexpat through 2.9.0 Integer Overflow in storeAtts via attIndex and nPrefixes

- Severity: High 8.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-10-28T02:03:19.447Z
- Modified: 2026-11-02T20:17:37.377Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

libexpat through 2.9.0 contains a signed integer overflow vulnerability in storeAtts() in lib/xmlparse.c that allows attackers to trigger out-of-bounds writes via oversized attribute counts. Attackers can supply a multi-gigabyte document with a start tag carrying over 2^30 attributes to overflow attIndex and nPrefixes, crashing applications or corrupting heap memory.

(As written by CVE List.)

## Affected

- libexpat libexpat: up to 2.9.0
- libexpat_project libexpat: up to 2.9.0

## Every score

- VulnCheck: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://github.com/libexpat/libexpat/pull/1450> (issue-tracking, patch)
- <https://github.com/libexpat/libexpat/commit/1bac53c4fc460a03cd9860f39501c7979f6750ae> (patch)
- <https://github.com/libexpat/libexpat/commit/621cb2c78b253ee023a86bc91d6ddb048481c04c> (patch)
- <https://github.com/libexpat/libexpat/blob/a76b1174c1ea52abb639a4c69d52b630a8a106a2/expat/lib/xmlparse.c#L4138-L4140> (product, technical-description)
- <https://github.com/libexpat/libexpat> (product)
- <https://www.vulncheck.com/advisories/libexpat-through-2.9.0-integer-overflow-in-storeatts-via-attindex-and-nprefixes> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2026-118370](https://www.cve.org/CVERecord?id=CVE-2026-118370), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-118370](https://nvd.nist.gov/vuln/detail/CVE-2026-118370), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-118370 · Whole record: https://cve.day/CVE-2026-118370.json · Rebuilt by cve.day 2026-11-25T22:59:47.493Z
