CVE-2026-118370 libexpat through 2.9.0 Integer Overflow in storeAtts via attIndex and nPrefixes

High 8.2 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-118370?

CVE-2026-118370 is a high-severity vulnerability in libexpat, published on 28 Oct 2026.

Official description

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.

Weakness: CWE-190

Which versions are affected by CVE-2026-118370?

How do I fix CVE-2026-118370?

Upgrade to a fixed version.

Is CVE-2026-118370 being exploited?

There is no known exploitation of CVE-2026-118370 in the wild and no public exploit code.

Sources

Also known as AZL-111148, DEBIAN-CVE-2026-118370, ECHO-716b-5eac-638d, GHSA-c6pw-vjr4-wwwr, UBUNTU-CVE-2026-118370.

Is CVE-2026-118370 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free