Stack-based buffer overflow in Libxml2 - CVE-2026-86140

 

Stack-based buffer overflow in Libxml2 - CVE-2026-86140

Published: September 8, 2026


Vulnerability identifier: #VU147358
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-86140
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to a stack-based buffer overflow in xmlSnprintfElements in valid.c when processing input. A remote attacker can provide crafted input to cause a denial of service.


Affected software

Libxml2

How to mitigate CVE-2026-86140

Install security update from vendor's website.

Libxml2 - update to 2.15.4

External References

Related Security Bulletins