Skip to content
NewA calmer, faster ZeroHour

CVE-2026-118370

Integer overflow in libexpat storeAtts() through 2.9.0

CVSS 4.0
8.2 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-118370 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

libexpat through 2.9.0 has a signed integer overflow in storeAtts() in lib/xmlparse.c. A remote attacker, without privileges or user interaction, can send a multi-gigabyte document whose start tag has more than 2^30 attributes, overflowing attIndex and nPrefixes and causing out-of-bounds writes. That can crash the application or corrupt heap memory. Software that parses such XML with these libexpat versions is affected.

What to do: No fixed release is identified for libexpat through 2.9.0. No vendor workaround is stated.

ProductAffected
libexpat project libexpatthrough 2.9.0
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

Vendors
libexpat project
Products
libexpat
Weakness
CWE-190
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

2 stories