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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"libexpat_project:libexpat": [
"<= 2.9.0"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-118370",
"id": "CVE-2026-118370",
"imported": "2026-11-21T02:24:58.544Z",
"modified": "2026-11-02T20:17:37.377Z",
"published": "2026-10-28T03:17:13.293Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-118370"
}
]
}