NULL Pointer Dereference Affecting libxml2 package, versions [,2.15.4)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (6th 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-CONAN-LIBXML2-20079011
  • published24 Sept 2026
  • disclosed5 Sept 2026
  • creditUnknown

Introduced: 5 Sep 2026

NewCVE-2026-86141  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade libxml2 to version 2.15.4 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference in the xmlRegNewParserCtxt function of the xmlregexp component when the strlen() function is called on a potentially NULL pointer before verifying the result of a memory allocation. An attacker can cause a process crash by triggering a memory allocation failure that leads to a NULL pointer dereference.

CVSS Base Scores

version 4.0
version 3.1