NULL Pointer Dereference Affecting libxml2 package, versions [,2.12.10)[2.13.0,2.13.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (20th 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-UNMANAGED-LIBXML2-8732760
  • published19 Feb 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?

Upgrade libxml2 to version 2.12.10, 2.13.6 or higher.

Overview

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