Vulnerability · Published Jun 16, 2025 · Assigned by redhat

CVE-2025-49795Libxml: null pointer dereference leads to denial of service (dos)

High 7.5

In plain English

A high-severity security flaw in libxml2 from GNOME. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 51.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10libxml22.12.5-7.el10_0ALSA-2025:10630
AlmaLinux:10libxml2-devel2.12.5-7.el10_0ALSA-2025:10630
AlmaLinux:10libxml2-static2.12.5-7.el10_0ALSA-2025:10630
AlmaLinux:10python3-libxml22.12.5-7.el10_0ALSA-2025:10630
Alpine:v3.21libxml22.13.9-r0ALPINE-CVE-2025-49795
Alpine:v3.22libxml22.13.9-r0ALPINE-CVE-2025-49795
Alpine:v3.23libxml22.13.9-r0ALPINE-CVE-2025-49795
Alpine:v3.24libxml22.13.9-r0ALPINE-CVE-2025-49795
Rocky Linux:10libxml20:2.12.5-7.el10_0RLSA-2025:10630
Ubuntu:25.10libxml22.14.5+dfsg-0.2UBUNTU-CVE-2025-49795

Affected products (as reported)

VendorProductVersions
GNOME libxml2 2.10.0 – before 2.14.5
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat JBoss Core Services 2.4.62.SP2 see references
Red Hat Red Hat Hardened Images see references
Red Hat Red Hat Enterprise Linux 6 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 9 see references

Weakness: CWE-825 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References