Vulnerability · Published Oct 28, 2026 · Assigned by VulnCheck
CVE-2026-118370libexpat through 2.9.0 Integer Overflow in storeAtts via attIndex and nPrefixes
Medium 5.9
In plain English
A medium-severity integer overflow in libexpat from libexpat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.21 | expat | 2.10.0-r0 | ALPINE-CVE-2026-118370 |
| Alpine:v3.22 | expat | 2.10.0-r0 | ALPINE-CVE-2026-118370 |
| Alpine:v3.23 | expat | 2.10.0-r0 | ALPINE-CVE-2026-118370 |
| Alpine:v3.24 | expat | 2.10.0-r0 | ALPINE-CVE-2026-118370 |
| Debian:12 | expat | no fix listed | DEBIAN-CVE-2026-118370 |
| Debian:13 | expat | no fix listed | DEBIAN-CVE-2026-118370 |
| Debian:14 | expat | no fix listed | DEBIAN-CVE-2026-118370 |
| Ubuntu:22.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:24.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:26.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:26.10 | cadaver | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:22.04:LTS | expat | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:24.04:LTS | expat | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:26.04:LTS | expat | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:26.10 | expat | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:22.04:LTS | insighttoolkit4 | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:22.04:LTS | matanza | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:24.04:LTS | matanza | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:26.04:LTS | matanza | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:26.10 | matanza | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:26.10 | swish-e | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:22.04:LTS | tdom | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:24.04:LTS | tdom | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:26.04:LTS | tdom | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:26.10 | tdom | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:22.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:24.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:26.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:26.10 | wbxml2 | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:26.04:LTS | xmlrpc-c | no fix listed | UBUNTU-CVE-2026-118370 |
| Ubuntu:26.10 | xmlrpc-c | no fix listed | UBUNTU-CVE-2026-118370 |
Affected products (as reported)
Weakness: CWE-190 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/libexpat/libexpat/pull/1450 patch, issue-tracking
- https://github.com/libexpat/libexpat/commit/1bac53c4fc460a03cd9860f39501c7979f6750ae patch
- https://github.com/libexpat/libexpat/commit/621cb2c78b253ee023a86bc91d6ddb048481c04c patch
- https://github.com/libexpat/libexpat/blob/a76b1174c1ea52abb639a4c69d52b630a8a106a2/expat/lib/xmlparse.c#L4138-L4140 technical-description
- https://github.com/libexpat/libexpat product
- VulnCheck Advisory: libexpat through 2.9.0 Integer Overflow in storeAtts via attIndex and nPrefixes third-party-advisory