CVE-2026-86140: CWE-121 Stack-based Buffer Overflow in xmlsoft libxml2
Description
A stack-based buffer overflow vulnerability exists in libxml2 versions before 2.15.4 in the xmlSnprintfElements function within valid.c. This flaw involves the use of strcat, which can lead to memory corruption. The vulnerability has a high severity with a CVSS score of 8.0 and impacts confidentiality, integrity, and availability.
CVSS v3.1
Score 8.0high
Affected software
xmlsoft
libxml2
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-86140 is a stack-based buffer overflow vulnerability in the xmlSnprintfElements function of libxml2 prior to version 2.15.4. The issue arises due to unsafe use of strcat, which can overflow a stack buffer, potentially allowing an attacker to execute arbitrary code or cause denial of service. The vulnerability has been assigned a CVSS v3.1 score of 8.0, indicating high severity with local attack vector, low attack complexity, no privileges required, no user interaction, and impacts on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker with local access to execute arbitrary code, compromise system confidentiality and integrity, or cause a denial of service by crashing the affected application. The vulnerability affects the core XML parsing library libxml2, which is widely used in many applications, potentially increasing the impact surface.
Mitigation Recommendations
A fix is available in libxml2 version 2.15.4. Users and administrators should upgrade to version 2.15.4 or later to remediate this vulnerability. No vendor advisory content was provided, so patch status is based on the version information indicating the fix is in 2.15.4.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-09-05T04:26:13.510Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a9b9ca2acd9273b49507015
Added to database: 09/05/2026, 04:37:54 UTC
Last enriched: 09/15/2026, 00:50:14 UTC
Last updated: 10/20/2026, 18:48:24 UTC
Views: 118
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.