CVE-2026-32778 Null dereference in libexpat

Low 2.9 Published Updated

A NULL pointer dereference in libexpat allows attackers to cause a denial of service via retry after an out-of-memory condition.

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

CVE-2026-32778 is a low-severity vulnerability in Libexpat Project Libexpat, published on 16 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

libexpat before 2.7.5 allows a NULL pointer dereference in the function setContext on retry after an earlier ouf-of-memory condition.

Weakness: CWE-476

Which versions are affected by CVE-2026-32778?

It affects 1 product.

Products include Libexpat Project Libexpat.

How do I fix CVE-2026-32778?

Upgrade to a fixed version.

Is CVE-2026-32778 being exploited?

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

All Libexpat Project Libexpat vulnerabilities

Sources

Also known as ALPINE-CVE-2026-32778, AZL-79856, BELL-CVE-2026-32778, CLSA-2026-1774611572, DEBIAN-CVE-2026-32778, ECHO-3af7-0bd3-2a49 and 5 more.

Is CVE-2026-32778 in your software?

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

Check your SBOMs for free