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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| libexpat | libexpat | ≤ 2.9.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | expat | 2.10.0-1 | — |
| Debian 13 | expat | No fix yet | — |
| Debian 12 | expat | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | tdom +6 | No fix yet | — |
| Ubuntu 26.04 LTS | tdom +5 | No fix yet | — |
| Ubuntu 24.04 LTS | tdom +4 | No fix yet | — |
| Ubuntu 22.04 LTS | tdom +5 | No fix yet | — |
| Ubuntu 20.04 LTS | tdom +4 | No fix yet | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | gdcm +7 | No fix yet | — |
| Ubuntu 16.04 LTS | gdcm +6 | No fix yet | — |
| Ubuntu Pro 26.04 LTS | swish-e | No fix yet | — |
| Ubuntu Pro 24.04 LTS | swish-e +2 | No fix yet | — |
| Ubuntu Pro 22.04 LTS | swish-e +2 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | expat +3 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | coin3 +4 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | vtk +8 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | vtk +4 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | expat +2 | 2.9.0-1.2.hum1 | RHSA-2026:93593 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | expat | 2.10.0-1.1 | openSUSE-SU-2026:12396-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | expat | 2.10.0-r0 | — |
| Alpine v3.23 | expat | 2.10.0-r0 | — |
| Alpine v3.22 | expat | 2.10.0-r0 | — |
| Alpine v3.21 | expat | 2.10.0-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | cmake +1 | No fix yet | — |
Advisories 3
- RHSA-2026:93593 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- openSUSE-SU-2026:12396-1 expat-2.10.0-1.1 on GA media SUSE / openSUSE Security Updates · Nov 4, 2026
- WID-SEC-2026-4214 expat: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Nov 1, 2026
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