Cloudanix VulnDB

CVE-2025-49795

High · 7.5

CVSS

7.5

EPSS

0.6%

Published

Jun 16, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in a widely used library for handling XML data lets attackers crash programs by sending specially crafted input, leading to temporary service disruptions.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A NULL pointer dereference occurs in libxml2 during XPath XML expression processing, causing the affected process to crash when supplied with crafted malicious XML input.

Why it matters to the business

Attackers can trigger denial-of-service crashes in applications that parse XML, resulting in service outages and potential loss of availability for dependent systems.

How an attack unfolds

An attacker crafts a malicious XML document containing specific XPath expressions designed to trigger the null dereference, then supplies the input to an application using libxml2 such as through file processing or network requests, leading to an immediate crash.

How to fix it

Upgrade to the fixed package version claws-mail 3.11.1-3.1.mga5 or apply any upstream libxml2 patches that resolve the NULL pointer dereference in XPath handling.

How to confirm the fix worked

Confirm the installed version of libxml2 or the affected application meets or exceeds the fixed version; test parsing of known malicious XPath samples in a controlled environment to verify absence of crashes.

Typical attack path

  1. Craft malicious XML input containing XPath expressions that trigger the null dereference
  2. Deliver the XML payload to the target application via supported input channels
  3. Trigger XML parsing and XPath evaluation in libxml2
  4. Cause application process to crash due to the dereference

How to detect it

Review application and system logs for crashes or segmentation faults occurring during XML or XPath processing; correlate with timestamps of unexpected service restarts.

What your security team should do

  • Apply the listed fixed package version as soon as possible given the public disclosure
  • Restrict processing of untrusted XML inputs where feasible until patched
  • Monitor application logs for segmentation faults during XML parsing activities

The record

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

Ecosystem Package Introduced Fixed
AlmaLinux:10 libxml2 0 2.12.5-7.el10_0
AlmaLinux:10 libxml2-devel 0 2.12.5-7.el10_0
AlmaLinux:10 libxml2-static 0 2.12.5-7.el10_0
AlmaLinux:10 python3-libxml2 0 2.12.5-7.el10_0
Debian:11 libxml2 0 No fix
Debian:12 libxml2 0 No fix
Debian:13 libxml2 0 No fix
Mageia:9 libxml2 0 2.10.4-1.8.mga9
Mageia:9 libxslt 0 1.1.38-1.2.mga9
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS libxml2 0 2.10.3-150500.5.29.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS libxml2-python 0 2.10.3-150500.5.29.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS libxml2 0 2.10.3-150500.5.29.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS libxml2-python 0 2.10.3-150500.5.29.1
SUSE:Linux Enterprise Micro 5.5 libxml2 0 2.10.3-150500.5.29.1
SUSE:Linux Enterprise Micro 5.5 libxml2-python 0 2.10.3-150500.5.29.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 libxml2 0 2.10.3-150500.5.29.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 libxml2-python 0 2.10.3-150500.5.29.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7 libxml2 0 2.12.10-150700.4.3.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7 libxml2-python 0 2.12.10-150700.4.3.1
SUSE:Linux Enterprise Module for Python 3 15 SP6 libxml2-python 0 2.10.3-150500.5.29.1
SUSE:Linux Enterprise Module for Python 3 15 SP7 libxml2-python 0 2.12.10-150700.4.3.1
SUSE:Linux Enterprise Server 15 SP5-LTSS libxml2 0 2.10.3-150500.5.29.1
SUSE:Linux Enterprise Server 15 SP5-LTSS libxml2-python 0 2.10.3-150500.5.29.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 libxml2 0 2.10.3-150500.5.29.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 libxml2-python 0 2.10.3-150500.5.29.1
openSUSE:Leap 15.6 libxml2 0 2.10.3-150500.5.29.1
openSUSE:Leap 15.6 libxml2-python 0 2.10.3-150500.5.29.1
openSUSE:Tumbleweed libxml2 0 2.13.8-2.1

Related vulnerabilities