CVE-2026-56405 Integer overflow in libexpat

Medium 6.9 Published Updated

An integer overflow in libexpat's getAttributeId function can lead to denial of service, affecting applications using this XML parsing library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-56405?

CVE-2026-56405 is a medium-severity vulnerability in Libexpat Project Libexpat, published on 21 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

libexpat before 2.8.2 has an integer overflow in getAttributeId.

Weakness: CWE-190

Which versions are affected by CVE-2026-56405?

It affects 1 product.

Products include Libexpat Project Libexpat.

How do I fix CVE-2026-56405?

Upgrade to a fixed version.

Is CVE-2026-56405 being exploited?

There is no known exploitation of CVE-2026-56405 in the wild and no public exploit code.

All Libexpat Project Libexpat vulnerabilities

Sources

Also known as ALPINE-CVE-2026-56405, AZL-90228, BELL-CVE-2026-56405, DEBIAN-CVE-2026-56405, ECHO-1461-c70a-6add, GHSA-hqmj-33cm-gqpq and 3 more.

Is CVE-2026-56405 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free