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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*

History

02 Nov 2026, 15:35

Type Values Removed Values Added
CPE cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*
References () https://github.com/libexpat/libexpat - () https://github.com/libexpat/libexpat - Product
References () https://github.com/libexpat/libexpat/blob/a76b1174c1ea52abb639a4c69d52b630a8a106a2/expat/lib/xmlparse.c#L4138-L4140 - () https://github.com/libexpat/libexpat/blob/a76b1174c1ea52abb639a4c69d52b630a8a106a2/expat/lib/xmlparse.c#L4138-L4140 - Product
References () https://github.com/libexpat/libexpat/commit/1bac53c4fc460a03cd9860f39501c7979f6750ae - () https://github.com/libexpat/libexpat/commit/1bac53c4fc460a03cd9860f39501c7979f6750ae - Patch
References () https://github.com/libexpat/libexpat/commit/621cb2c78b253ee023a86bc91d6ddb048481c04c - () https://github.com/libexpat/libexpat/commit/621cb2c78b253ee023a86bc91d6ddb048481c04c - Patch
References () https://github.com/libexpat/libexpat/pull/1450 - () https://github.com/libexpat/libexpat/pull/1450 - Patch
References () https://www.vulncheck.com/advisories/libexpat-through-2.9.0-integer-overflow-in-storeatts-via-attindex-and-nprefixes - () https://www.vulncheck.com/advisories/libexpat-through-2.9.0-integer-overflow-in-storeatts-via-attindex-and-nprefixes - Patch, Third Party Advisory
First Time Libexpat Project
Libexpat Project libexpat

28 Oct 2026, 03:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-28 03:17

Updated : 2026-11-02 20:17


NVD link : CVE-2026-118370

Mitre link : CVE-2026-118370

CVE.ORG link : CVE-2026-118370


JSON object : View

Products Affected

libexpat_project

  • libexpat
CWE
CWE-190

Integer Overflow or Wraparound