CVE-2025-25341: libxmljs has segmentation fault, potentially leading to a denial-of-service (DoS)
A vulnerability exists in the libxmljs 1.0.11 when parsing a specially crafted XML document. Accessing the internal ref property on entityref and entitydecl nodes causes a segmentation fault, potentially leading to a denial-of-service (DoS).
Published Dec 26, 2025
Affected packages
libxmljs
- Ecosystem
- npm
- Affected
- <= 1.0.11
- Fixed in
- No patched version yet
- Check
npm ls libxmljs
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
