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

CVE-2025-49795 is fixed in 10 products on 1 platform, first by RHSA-2025:10630, released June 12, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-49795
- Priority: High
- CVSS: 9.1 (Moderate)
- EPSS: 0.0059
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 11, 2025
- Weakness: Expired Pointer Dereference
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-49795

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libxml2 RHEL 10 | 2.12.5-7.el10_0 | [RHSA-2025:10630](https://patchblox.com/security/data/fix/linux/rhsa-2025-10630.md) | Jun 12, 2025 |
| Linux | libxml2 almalinux 10 | 2.12.5-7.el10_0 | [ALSA-2025:10630](https://patchblox.com/security/data/fix/linux/alsa-2025-10630.md) | Jul 8, 2025 |
| Linux | libxml2 amzn 2023 | 2.10.4-1.amzn2023.0.12 | [ALAS2023-2025-1103](https://patchblox.com/security/data/fix/linux/alas2023-2025-1103.md) | Jul 21, 2025 |
| Linux | libxml2 ol 10 | 0:2.12.5-7.el10_0 | [ELSA-2025-10630](https://patchblox.com/security/data/fix/linux/elsa-2025-10630.md) | Jul 8, 2025 |
| Linux | libxml2 opensuse-leap 15.6 | 2.10.3-150500.5.29.1 | [SUSE-SU-2025:02314-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02314-1.md) | Jul 15, 2025 |
| Linux | libxml2 rocky 10 | 0:2.12.5-7.el10_0 | [RLSA-2025:10630](https://patchblox.com/security/data/fix/linux/rlsa-2025-10630.md) | Oct 3, 2025 |
| Linux | libxml2 sles 15.6 | 2.10.3-150500.5.29.1 | [SUSE-SU-2025:02314-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02314-1.md) | Jul 15, 2025 |
| Linux | libxml2 sles 15.7 | 2.12.10-150700.4.3.1 | [SUSE-SU-2025:02260-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02260-1.md) | Jul 9, 2025 |
| Linux | libxml2-16 Ubuntu 25.10 (questing) | 2.14.5+dfsg-0.2 | [libxml2-16 2.14.5+dfsg-0.2](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libxml2-16-2.14.5-dfsg-0.2.md) | Jun 16, 2025 |
| Linux | libxml2-debuginfo amzn 2023 | 2.10.4-1.amzn2023.0.12 | [ALAS2023-2025-1103](https://patchblox.com/security/data/fix/linux/alas2023-2025-1103.md) | Jul 21, 2025 |
| Linux | libxml2-debugsource amzn 2023 | 2.10.4-1.amzn2023.0.12 | [ALAS2023-2025-1103](https://patchblox.com/security/data/fix/linux/alas2023-2025-1103.md) | Jul 21, 2025 |
| Linux | libxml2-devel almalinux 10 | 2.12.5-7.el10_0 | [ALSA-2025:10630](https://patchblox.com/security/data/fix/linux/alsa-2025-10630.md) | Jul 8, 2025 |
| Linux | libxml2-devel amzn 2023 | 2.10.4-1.amzn2023.0.12 | [ALAS2023-2025-1103](https://patchblox.com/security/data/fix/linux/alas2023-2025-1103.md) | Jul 21, 2025 |
| Linux | libxml2-devel ol 10 | 0:2.12.5-7.el10_0 | [ELSA-2025-10630](https://patchblox.com/security/data/fix/linux/elsa-2025-10630.md) | Jul 8, 2025 |
| Linux | libxml2-python opensuse-leap 15.6 | 2.10.3-150500.5.29.1 | [SUSE-SU-2025:02314-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02314-1.md) | Jul 15, 2025 |
| Linux | libxml2-python sles 15.6 | 2.10.3-150500.5.29.1 | [SUSE-SU-2025:02314-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02314-1.md) | Jul 15, 2025 |
| Linux | libxml2-python sles 15.7 | 2.12.10-150700.4.3.1 | [SUSE-SU-2025:02260-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02260-1.md) | Jul 9, 2025 |
| Linux | libxml2-static almalinux 10 | 2.12.5-7.el10_0 | [ALSA-2025:10630](https://patchblox.com/security/data/fix/linux/alsa-2025-10630.md) | Jul 8, 2025 |
| Linux | libxml2-static amzn 2023 | 2.10.4-1.amzn2023.0.12 | [ALAS2023-2025-1103](https://patchblox.com/security/data/fix/linux/alas2023-2025-1103.md) | Jul 21, 2025 |
| Linux | libxml2-static ol 10 | 0:2.12.5-7.el10_0 | [ELSA-2025-10630](https://patchblox.com/security/data/fix/linux/elsa-2025-10630.md) | Jul 8, 2025 |
| Linux | libxml2-utils Ubuntu 25.10 (questing) | 2.14.5+dfsg-0.2 | [libxml2-utils 2.14.5+dfsg-0.2](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libxml2-utils-2.14.5-dfsg-0.2.md) | Jun 16, 2025 |
| Linux | python3-libxml2 Ubuntu 25.10 (questing) | 2.14.5+dfsg-0.2 | [python3-libxml2 2.14.5+dfsg-0.2](https://patchblox.com/security/data/fix/linux/ubuntu-questing-python3-libxml2-2.14.5-dfsg-0.2.md) | Jun 16, 2025 |
| Linux | python3-libxml2 almalinux 10 | 2.12.5-7.el10_0 | [ALSA-2025:10630](https://patchblox.com/security/data/fix/linux/alsa-2025-10630.md) | Jul 8, 2025 |
| Linux | python3-libxml2 amzn 2023 | 2.10.4-1.amzn2023.0.12 | [ALAS2023-2025-1103](https://patchblox.com/security/data/fix/linux/alas2023-2025-1103.md) | Jul 21, 2025 |
| Linux | python3-libxml2 ol 10 | 0:2.12.5-7.el10_0 | [ELSA-2025-10630](https://patchblox.com/security/data/fix/linux/elsa-2025-10630.md) | Jul 8, 2025 |
| Linux | python3-libxml2-debuginfo amzn 2023 | 2.10.4-1.amzn2023.0.12 | [ALAS2023-2025-1103](https://patchblox.com/security/data/fix/linux/alas2023-2025-1103.md) | Jul 21, 2025 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
