CVE-2026-86142
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2026-86142 is a heap-based buffer overflow vulnerability in libxml2's XPointer parsing component, specifically in the xmlXPtrEvalXPtrPart function, caused by integer length saturation in xmlXPtrEval. It affects all versions of libxml2 before 2.15.4, maintained by GNOME/xmlsoft. The vulnerability was published on September 5, 2026, with a patch released in libxml2 version 2.15.4. It carries a CVSS v3.1 base score of 6.9 (Medium/High) (GitHub Advisory, EUVD).

Technical details

The root cause is a heap-based buffer overflow (CWE-122) triggered by an integer overflow (CAPEC-92) in the xmlXPtrEvalXPtrPart function within xpointer.c. When xmlStrlen is called on the current XPointer cursor string, an overflow condition can cause the returned length to be zero even when the string is non-empty, leading to an undersized heap buffer allocation followed by an out-of-bounds write. The fix, introduced in commit 6b3a736, adds an explicit overflow check: if xmlStrlen returns 0 but the string pointer is non-NULL and non-empty, the function now raises a memory error and returns safely (libxml2 commit, GitHub Advisory). Exploitation requires local access and high attack complexity, as the attacker must supply a crafted XPointer expression to a process that parses attacker-controlled XML (EUVD).

Impact

Successful exploitation allows a local unauthenticated attacker to trigger a heap-based buffer overflow, potentially enabling arbitrary code execution with the privileges of the process using libxml2. The vulnerability has high confidentiality and integrity impact, as arbitrary code execution could expose sensitive data and allow unauthorized modification of system state, with low availability impact. Given libxml2's widespread use as a foundational XML parsing library across Linux distributions, browsers, language runtimes, and server applications, the affected asset scope is broad, though exploitation is constrained to local access with high complexity (GitHub Advisory, EUVD).

Exploitability

As of the disclosure date (September 5, 2026), there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation. The EPSS score is 0.0, reflecting very low current exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires local access and high attack complexity, further limiting practical risk (GitHub Advisory, EUVD).

Mitigation and workarounds

The primary remediation is to upgrade libxml2 to version 2.15.4 or later, which includes the overflow check fix in xmlXPtrEvalXPtrPart (libxml2 release diff, libxml2 commit). If immediate patching is not feasible, restrict local access to systems running vulnerable libxml2 versions and validate or sanitize XPointer expressions before passing them to the library. Organizations should audit applications and system packages that bundle libxml2 and prioritize updates for those processing untrusted XML input (EUVD).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-86140HIGH8
  • Linux Debian logoLinux Debian
  • libxml2
NoNoSep 05, 2026
CVE-2026-86143MEDIUM6.9
  • Linux Debian logoLinux Debian
  • libxml2
NoNoSep 05, 2026
CVE-2026-86142MEDIUM6.9
  • Linux Debian logoLinux Debian
  • libxml2
NoNoSep 05, 2026
CVE-2026-86144MEDIUM5.6
  • Linux Debian logoLinux Debian
  • libxml2
NoNoSep 05, 2026
CVE-2026-86141LOW2.9
  • Linux Debian logoLinux Debian
  • libxml2
NoNoSep 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management