NULL Pointer Dereference Affecting libxmljs package, versions >=0.8.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.07% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-LIBXMLJS-10557396
  • published27 Jun 2025
  • disclosed18 Feb 2025
  • creditUnknown

Introduced: 18 Feb 2025

CVE-2025-27113  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

There is no fixed version for libxmljs.

Overview

libxmljs is a libxml bindings for v8 javascript engine

Affected versions of this package are vulnerable to NULL Pointer Dereference in the xmlPatMatch() function in pattern.c. An attacker can cause the application to crash. Known functions that make use of the vulnerable function include XML::LibXML::Reader (perl), retainpath (Tcl), and xmllint --walker --pattern/xmllint --stream --pattern.

CVSS Base Scores

version 4.0
version 3.1