PT-2026-86301 · Libxml2 · Libxml2

CVE-2026-86140

·

Published

2026-09-05

·

Updated

2026-09-05

CVSS v3.1

8.0

High

VectorAV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Name of the Vulnerable Software and Affected Versions libxml2 versions prior to 2.15.4
Description A stack-based buffer overflow exists in the xmlSnprintfElements() function within the valid.c file. The issue occurs because the function uses strcat() to build element strings into a fixed-size stack buffer. An attacker can provide specially crafted XML to trigger the validation path, leading to memory corruption, which may result in remote code execution or a denial of service.
Recommendations Update libxml2 to version 2.15.4.

Fix

RCE

Stack Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-86140

Affected Products

Libxml2