CVE-2025-27113 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 patterns.

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-2025-27113?

CVE-2025-27113 is a low-severity vulnerability in Xmlsoft Libxml2, published on 18 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a NULL pointer dereference in xmlPatMatch in pattern.c.

Weakness: CWE-476

Which versions are affected by CVE-2025-27113?

3 open source packages ship an affected version, including java, java-min and jre. It affects 1 product.

PackageAffectedFixed in
java BitnamiAll versions1.8.0, 8.0.461
java-min BitnamiAll versions1.8.0, 8.0.461
jre BitnamiAll versions1.8.0, 8.0.461

Products include Xmlsoft Libxml2.

How do I fix CVE-2025-27113?

Upgrade java to a fixed version for your release line: 1.8.0 or 8.0.461.

Is CVE-2025-27113 being exploited?

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

All Xmlsoft Libxml2 vulnerabilities

Sources

Also known as ALPINE-CVE-2025-27113, AZL-56964, AZL-57058, BELL-CVE-2025-27113, BIT-java-2025-27113, BIT-java-min-2025-27113 and 18 more.

Is CVE-2025-27113 in your software?

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

Check your SBOMs for free