Skip to main content
EPSS 0.2%top 96%

CVE-2026-86140: CWE-121 Stack-based Buffer Overflow in xmlsoft libxml2

0
High
Published: 09/05/2026 (09/05/2026, 05:17:00 UTC)
Source: CVE Database V5
Vendor/Project: xmlsoft
Product: 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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Affected software

xmlsoft

libxml2

Affected versions
>=0 <2.15.4

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/15/2026, 00:50:14 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses