CVE-2026-118370

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.

CVSS base score
5.9 (v3.1)
Severity
MEDIUM
Attack vector
Network
Weakness
CWE-190
Last modified
November 2, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

libexpat project libexpat

References

View full NVD advisory →

More libexpat project vulnerabilities

Published the same day

← Back to CVE watch