CVE-2025-25341CWE-400denial-of-service

CVE-2025-25341

High · published December 26, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
35.5
In the wild
Unconfirmed
What it is

⚡ A segmentation fault lurking in libxmljs 1.0.11 is like a fuse blowing during a power surge! It could lead to a denial-of-service (DoS) attack if triggered. 🔌 Imagine a busy restaurant where a chef tries to access a recipe that's not just missing, but misfiled in a completely different section. The chaos that ensues can cause the whole kitchen to shut down, just like this vulnerability can crash your service when parsing a flawed XML document. If an attacker crafts a specific XML document and the libxmljs library attempts to parse it, the server could suffer a sudden crash, resulting in downtime for your application. This downtime could lead to lost revenue and frustrated users, making it a serious issue to address!

Put simply

Imagine a busy restaurant where a chef tries to access a recipe that's not just missing, but misfiled in a completely different section. The chaos that ensues can cause the whole kitchen to shut down, just like this vulnerability can crash your service when parsing a flawed XML document. This vulnerability occurs when accessing the internal _ref property on entity_ref and entity_decl nodes in libxmljs 1.0.11, causing a segmentation fault and allowing an attacker to trigger a denial-of-service condition.

What to do

If an attacker crafts a specific XML document and the libxmljs library attempts to parse it, the server could suffer a sudden crash, resulting in downtime for your application. This downtime could lead to lost revenue and frustrated users, making it a serious issue to address! Update libxmljs to version 1.0.12 or higher as soon as possible to mitigate this vulnerability. Additionally, review your XML parsing methods for potential security weaknesses. Don't let this slip through the cracks! You've got this! Addressing this vulnerability will strengthen your defenses and keep your application running smoothly! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00422 · 35.5th percentile
Weakness
CWE-400 · Uncontrolled Resource Consumption
Published
2025-12-26T20:15Z
Affected products (1)
ProductVersionsFixed in
libxmljs_project/libxmljsall versions—
References (1)
EPSS history
Timeline
  • 26 DEC 00:00Z
    A vulnerability exists in the libxmljs 1.0.11 when parsing a specially crafted XML document
    cvelistv5