CVE-2026-86141 Null dereference in libxml2

Low 2.9 Published Updated

A NULL pointer dereference in libxml2 allows attackers to cause a 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-86141?

CVE-2026-86141 is a low-severity vulnerability in Xmlsoft Libxml2, published on 5 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

xmlregexp in libxml2 before 2.15.4 has a NULL pointer dereference in xmlRegNewParserCtxt after a strdup failure, i.e., it does not calculate a string length after NULL checking.

Weakness: CWE-252

Which versions are affected by CVE-2026-86141?

It affects 1 product.

Products include Xmlsoft Libxml2.

How do I fix CVE-2026-86141?

Upgrade to a fixed version.

Is CVE-2026-86141 being exploited?

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

All Xmlsoft Libxml2 vulnerabilities

Sources

Also known as AZL-99708, DEBIAN-CVE-2026-86141, ECHO-65ff-653b-67a3, GHSA-7g6w-jj32-qj92.

Is CVE-2026-86141 in your software?

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

Check your SBOMs for free