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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | libxml2 | 2.12.5-7.el10_0 | ALSA-2025:10630 |
| AlmaLinux:10 | libxml2-devel | 2.12.5-7.el10_0 | ALSA-2025:10630 |
| AlmaLinux:10 | libxml2-static | 2.12.5-7.el10_0 | ALSA-2025:10630 |
| AlmaLinux:10 | python3-libxml2 | 2.12.5-7.el10_0 | ALSA-2025:10630 |
| Alpine:v3.21 | libxml2 | 2.13.9-r0 | ALPINE-CVE-2025-49795 |
| Alpine:v3.22 | libxml2 | 2.13.9-r0 | ALPINE-CVE-2025-49795 |
| Alpine:v3.23 | libxml2 | 2.13.9-r0 | ALPINE-CVE-2025-49795 |
| Alpine:v3.24 | libxml2 | 2.13.9-r0 | ALPINE-CVE-2025-49795 |
| Rocky Linux:10 | libxml2 | 0:2.12.5-7.el10_0 | RLSA-2025:10630 |
| Ubuntu:25.10 | libxml2 | 2.14.5+dfsg-0.2 | UBUNTU-CVE-2025-49795 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- RHSA-2025:10630 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19020 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:7519 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-49795 vdb-entry, x_refsource_REDHAT
- RHBZ#2372379 issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/932
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html