Description
In libxml2 before 2.15.4, there is a heap-based buffer overflow in xmlXPtrEvalXPtrPart because of xmlXPtrEval xpointer length saturation.
Published: 2026-09-05
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary code execution
Action: Immediate patch
AI Analysis

Impact

The vulnerability is a heap‑based buffer overflow in libxml2 prior to version 2.15.4, triggered by the xmlXPtrEvalXPtrPart function when evaluating xpointer expressions that exceed internal length limits. This flaw is identified as CWE‑122 and CWE‑805, and its exploitation could allow an attacker to corrupt heap memory, potentially leading to arbitrary code execution or a system crash.

Affected Systems

The vendor is xmlsoft and the product is libxml2; all releases older than 2.15.4 are affected. Systems that link with these older library versions and process XML input are at risk.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate to high severity. The EPSS score of < 1% suggests a low exploitation probability. The vulnerability is listed in the vendor’s advisory and a patch is available. The attack vector is likely remote or local, depending on whether attackers can supply XML input to the affected process. Without mitigation, the flaw could be abused to hijack a process or crash a service.

Generated by OpenCVE AI on September 8, 2026 at 02:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libxml2 to version 2.15.4 or later.
  • Recompile or redeploy applications to use the updated library.
  • Apply runtime hardening such as ASLR, stack canaries, and memory protection.

Generated by OpenCVE AI on September 8, 2026 at 02:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 14 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 08 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Title Heap-Based Buffer Overflow in libxml2 via XPointer Evaluation libxml2: libxml2: Heap-based buffer overflow in xmlXPtrEval due to xpointer length saturation
Weaknesses CWE-805
References
Metrics threat_severity

None

threat_severity

Moderate


Sat, 05 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Title Heap-Based Buffer Overflow in libxml2 via XPointer Evaluation

Sat, 05 Sep 2026 04:45:00 +0000

Type Values Removed Values Added
Description In libxml2 before 2.15.4, there is a heap-based buffer overflow in xmlXPtrEvalXPtrPart because of xmlXPtrEval xpointer length saturation.
First Time appeared Xmlsoft
Xmlsoft libxml2
Weaknesses CWE-122
CPEs cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*
Vendors & Products Xmlsoft
Xmlsoft libxml2
References
Metrics cvssV3_1

{'score': 6.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-14T13:50:49.902Z

Reserved: 2026-09-05T04:29:32.967Z

Link: CVE-2026-86142

cve-icon Vulnrichment

Updated: 2026-09-14T13:48:07.113Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-05T05:17:13.133

Modified: 2026-09-15T19:35:48.663

Link: CVE-2026-86142

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-05T04:29:33Z

Links: CVE-2026-86142 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-08T02:15:08Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-805

    Buffer Access with Incorrect Length Value