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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118370.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.9.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "1bac53c4fc460a03cd9860f39501c7979f6750ae"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "621cb2c78b253ee023a86bc91d6ddb048481c04c"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118370.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"105471245200848829273344265135435283561",
"126364655563430159410015600752474291922",
"27691526817326155454225107474520612945",
"121930985278034515237096815147195904556"
],
"threshold": 0.9
},
"id": "CVE-2026-118370-c35c5424",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/libexpat/libexpat/commit/621cb2c78b253ee023a86bc91d6ddb048481c04c",
"target": {
"file": "expat/lib/xmlparse.c"
}
}
]
"2026-11-04T07:04:30Z"