Buffer Overflow Affecting libxml2 package, versions [,2.15.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (5th 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 IDSNYK-CONAN-LIBXML2-20079003
  • published24 Sept 2026
  • disclosed5 Sept 2026
  • creditUnknown

Introduced: 5 Sep 2026

NewCVE-2026-86140  (opens in a new tab)
CWE-120  (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 Buffer Overflow via the xmlSnprintfElements function. An attacker can execute arbitrary code or cause a denial of service by supplying specially crafted input that triggers a stack-based buffer overflow.

CVSS Base Scores

version 4.0
version 3.1