CVE-2026-56132 Memory corruption in libexpat

Medium 6.9 Published Updated

Heap-based buffer overflow in libexpat allows attackers to execute arbitrary code or cause denial of service via crafted XML input.

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-56132?

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

Official description

In libexpat before 2.8.2, there is a heap-based buffer overflow in doProlog in xmlparse.c because scaffold backing array reallocation is mishandled when there is data-structure sharing across parsers.

Weakness: CWE-821

Which versions are affected by CVE-2026-56132?

It affects 1 product.

Products include Libexpat Project Libexpat.

How do I fix CVE-2026-56132?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-56132 being exploited?

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

All Libexpat Project Libexpat vulnerabilities

Sources

Also known as ALPINE-CVE-2026-56132, AZL-90243, BELL-CVE-2026-56132, DEBIAN-CVE-2026-56132, ECHO-a065-4d1e-ce4b, GHSA-425r-vwq2-26qv and 3 more.

Is CVE-2026-56132 in your software?

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

Check your SBOMs for free