CVE-2026-86138
Received Received - Intake

Integer Overflow Leading to Heap Buffer Overflow in libxml2

Vulnerability report for CVE-2026-86138, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-05

Last updated on: 2026-09-05

Assigner: MITRE

Description

In libxml2 before 2.15.4, xmlDictAddQString in dict.c has an integer overflow and resultant heap-based buffer overflow.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-05
Last Modified
2026-09-05
Generated
2026-09-05
AI Q&A
2026-09-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gnome libxml2 to 2.15.4 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a heap-based buffer overflow in libxml2 before version 2.15.4. It occurs in the xmlDictAddQString function due to an integer overflow in the calculation namelen + plen + 1, which can lead to incorrect memory allocation. This causes a buffer overflow during a memcpy operation when writing data.

Detection Guidance

Detecting this vulnerability requires checking the version of libxml2 installed on your system. Use commands like 'xml2-config --version' or 'dpkg -l libxml2' on Debian-based systems to verify if the version is below 2.15.4. If the version is outdated, the system is likely vulnerable.

Impact Analysis

An attacker could exploit this to execute arbitrary code, crash applications, or gain unauthorized access to sensitive data by triggering the buffer overflow. Systems using vulnerable libxml2 versions are at risk.

Mitigation Strategies

Immediately update libxml2 to version 2.15.4 or later. On Debian/Ubuntu, run 'sudo apt update && sudo apt upgrade libxml2'. For other distributions, use the appropriate package manager. If updating is not immediately possible, consider disabling applications or services that rely on libxml2 until the update is applied.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-86138. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart