Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. libxmljs
  4. ›
  5. CVE-2025-25341

CVE-2025-25341: libxmljs has segmentation fault, potentially leading to a denial-of-service (DoS)

December 26, 2025

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

  • github.com/advisories/GHSA-jv72-59wq-8rxm
  • github.com/libxmljs/libxmljs
  • github.com/libxmljs/libxmljs/issues/667
  • nvd.nist.gov/vuln/detail/CVE-2025-25341

Code Behaviors & Features

Detect and mitigate CVE-2025-25341 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 1.0.11

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/libxmljs/CVE-2025-25341.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:23 +0000.