Buffer Access with Incorrect Length Value Affecting libxml2-devel package, versions <0:2.9.1-6.amzn2.5.27


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

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-AMZN2-LIBXML2DEVEL-20244479
  • published29 Sept 2026
  • disclosed5 Sept 2026

Introduced: 5 Sep 2026

CVE-2026-86142  (opens in a new tab)
CWE-805  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libxml2-devel to version 0:2.9.1-6.amzn2.5.27 or higher.
This issue was patched in ALAS2-2026-3940.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxml2-devel package and not the libxml2-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

In libxml2 before 2.15.4, there is a heap-based buffer overflow in xmlXPtrEvalXPtrPart because of xmlXPtrEval xpointer length saturation.

CVSS Base Scores

version 3.1