{"id":"CVE-2026-118370","aliases":["CVE-2026-118370"],"related":[],"kind":"vulnerability","state":"published","title":"libexpat through 2.9.0 Integer Overflow in storeAtts via attIndex and nPrefixes","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-28T02:03:19.447Z","modified":"2026-11-02T20:17:37.377Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.9.0","status":"affected"}],"vendor":"libexpat","product":"libexpat","repo":"https://github.com/libexpat/libexpat","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.9.0"}],"vendor":"libexpat_project","product":"libexpat","cpe":"cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/libexpat/libexpat/pull/1450","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/libexpat/libexpat/commit/1bac53c4fc460a03cd9860f39501c7979f6750ae","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/libexpat/libexpat/commit/621cb2c78b253ee023a86bc91d6ddb048481c04c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/libexpat/libexpat/blob/a76b1174c1ea52abb639a4c69d52b630a8a106a2/expat/lib/xmlparse.c#L4138-L4140","tags":["product","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/libexpat/libexpat","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/libexpat-through-2.9.0-integer-overflow-in-storeatts-via-attindex-and-nprefixes","tags":["patch","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Mirko Swillus","Sebastian Pipping"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-02T19:56:13.049Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-118370","url":"https://www.cve.org/CVERecord?id=CVE-2026-118370","licence":"CVE Terms of Use","modified":"2026-11-02T19:56:23.246Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-118370","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118370","licence":"Public domain","modified":"2026-11-02T20:17:37.377Z"}],"updatedAt":"2026-11-25T22:59:47.493Z","epss":{"score":0.00508,"percentile":0.44916,"date":"2026-12-01T12:00:22.000Z"}}