
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-86140 is a stack-based buffer overflow vulnerability in libxml2, a widely used XML parsing library maintained by GNOME/xmlsoft. The flaw exists in the xmlSnprintfElements function within valid.c, where unchecked strcat() calls can write beyond allocated stack buffer boundaries. All versions of libxml2 before 2.15.4 are affected. It was published on September 5, 2026, with a CVSS v3.1 base score of 8.0 (High) (Github Advisory, EUVD).
The root cause is classified as CWE-121 (Stack-based Buffer Overflow). The xmlSnprintfElements function in valid.c performs two unchecked strcat() calls — one appending "(" before a loop and another appending ")" after the loop — without verifying remaining buffer space. This is the same pattern previously fixed in the sibling function xmlSnprintfElementContent for CVE-2025-24928, but xmlSnprintfElements was overlooked. The fix (commit d1686f9) adds remaining-space checks before both strcat calls, returning early with an ellipsis when space is insufficient (libxml2 commit, Github Advisory). Exploitation requires local access but no special privileges, as the attack vector is local with low complexity and no user interaction required.
Successful exploitation allows a local unprivileged user to trigger arbitrary code execution with the privileges of the process running libxml2, potentially enabling access to sensitive memory contents and corruption of data on the affected system. The confidentiality and integrity impacts are rated High, while availability impact is Low. Given libxml2's widespread use across operating systems, browsers, and applications, the affected asset scope can be broad, though exploitation is constrained to local access (Github Advisory, EUVD).
As of the disclosure date (September 5, 2026), there is no known public proof-of-concept exploit and no evidence of in-the-wild exploitation. The EPSS score is 0.0, indicating a currently low probability of exploitation in the near term. The vulnerability has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported (EUVD, Github Advisory).
The primary remediation is to upgrade libxml2 to version 2.15.4 or later, which includes the bounds-checking fix for xmlSnprintfElements (libxml2 diff, libxml2 commit). If immediate patching is not feasible, restrict local user access to systems running vulnerable versions of libxml2 and limit the privileges of processes that use this library to reduce the potential impact of exploitation (EUVD).
The vulnerability received standard automated coverage across CVE tracking platforms and vulnerability databases shortly after disclosure. A Bluesky post from a CVE tracking account noted the advisory. No significant researcher commentary, vendor statements beyond the patch, or notable media coverage has been identified at this time (Github Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."