Skip to main content
VulnerabilityPublished

CVE-2025-25341: libxmljs · Uncontrolled Resource Consumption

Affects libxmljsSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
npmlibxmljspkg:npm/libxmljsOther threatsAffected
  • =1.0.11
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2025-25341, organizations should first identify all instances where libxmljs 1.0.11 is used, particularly in services exposed to external or untrusted XML inputs. Immediate mitigation includes implementing strict input validation to reject suspicious or malformed XML documents before parsing. Employing XML schema validation can reduce the risk of processing malicious entities. Where possible, sandboxing or isolating XML parsing components can limit the impact of crashes. Monitoring application logs for segmentation faults or crashes related to XML processing can provide early detection of exploitation attempts. Organizations should track vendor advisories for patches or updates to libxmljs and plan prompt upgrades once fixes are released. In the interim, consider replacing libxmljs with alternative, more secure XML parsing libraries that have robust handling of entity references. Network-level protections such as Web Application Firewalls (WAFs) can be configured to detect and block suspicious XML payloads. Finally, ensure robust incident response plans are in place to quickly restore services if a DoS attack occurs.

Description

A vulnerability exists in the libxmljs 1.0.11 when parsing a specially crafted XML document. Accessing the internal _ref property on entity_ref and entity_decl nodes causes a segmentation fault, potentially leading to a denial-of-service (DoS).

References

Community reviews

Loading reviews…