CVE-2026-118370
libexpat through 2.9.0 contains a signed integer overflow …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/libexpat/libexpat
- github.com/libexpat/libexpat/blob/a76b1174c1ea52abb639a4c69d52b630a8a106a2/expat/lib/xmlpa
- github.com/libexpat/libexpat/commit/1bac53c4fc460a03cd9860f39501c7979f6750ae
- github.com/libexpat/libexpat/commit/621cb2c78b253ee023a86bc91d6ddb048481c04c
- github.com/libexpat/libexpat/pull/1450
- www.vulncheck.com/advisories/libexpat-through-2.9.0-integer-overflow-in-storeatts-via-atti
- nvd.nist.gov/vuln/detail/CVE-2026-118370
- cve.org/CVERecord?id=CVE-2026-118370
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.