Vulnerability

CVE-2026-118370

highCVSS 4.0 8.2Published 28 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Libexpat Project libexpat

Weakness type

References

  • github.com /libexpat/libexpat
  • github.com /libexpat/libexpat/blob/a76b1174c1ea52abb639a4c69d52b630a8a…
  • github.com /libexpat/libexpat/commit/1bac53c4fc460a03cd9860f39501c7979…
  • github.com /libexpat/libexpat/commit/621cb2c78b253ee023a86bc91d6ddb048…
  • github.com /libexpat/libexpat/pull/1450
  • www.vulncheck.com /advisories/libexpat-through-2.9.0-integer-overflow-in-stor…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning