Out-of-bounds Write Affecting libxml2 package, versions [,2.15.4)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (3rd 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 Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-LIBXML2-20079009
  • published24 Sept 2026
  • disclosed5 Sept 2026
  • creditUnknown

Introduced: 5 Sep 2026

NewCVE-2026-86138  (opens in a new tab)
CWE-787  (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 Out-of-bounds Write in the xmlDictAddQString function in dict.c due to an integer overflow that leads to a heap-based buffer overflow. An attacker can execute arbitrary code by supplying specially crafted input that triggers the overflow during processing.

CVSS Base Scores

version 4.0
version 3.1