CVE-2025-49795 Libxml: null pointer dereference leads to denial of service (dos)
An attacker can cause a denial of service by sending malicious XML input to applications using libxml2 for XPath processing.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-49795?
CVE-2025-49795 is a high-severity vulnerability in GNOME Red Hat Enterprise Linux 10, published on 16 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A NULL pointer dereference vulnerability was found in libxml2 when processing XPath XML expressions. This flaw allows an attacker to craft a malicious XML input to libxml2, leading to a denial of service.
Weakness: CWE-825
Which versions are affected by CVE-2025-49795?
How do I fix CVE-2025-49795?
Apply the vendor's patch.
Is CVE-2025-49795 being exploited?
There is no known exploitation of CVE-2025-49795 in the wild and no public exploit code.
Sources
Also known as ALPINE-CVE-2025-49795, AZL-64098, AZL-64121, BELL-CVE-2025-49795, ECHO-44c5-a0a5-783a, GHSA-gg7j-w83p-fxr9 and 1 more.