CVE-2026-86138: Integer Overflow
In libxml2 before 2.15.4, xmlDictAddQString in dict.c has an integer overflow and resultant heap-based buffer overflow.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.11.5-11 - Upgrade
Upgrade
debian/libxml2to a version that resolves this vulnerability.Fixed in 2.15.4+dfsg-1 - Upgrade
Upgrade
ubuntu/libxml2to a version that resolves this vulnerability.Fixed in 2.9.1+dfsg1-3ubuntu4.13+esm13 - Upgrade
Upgrade
ubuntu/libxml2to a version that resolves this vulnerability.Fixed in 2.9.3+dfsg1-1ubuntu0.7+esm14 - Upgrade
Upgrade
ubuntu/libxml2to a version that resolves this vulnerability.Fixed in 2.9.4+dfsg1-6.1ubuntu1.9+esm9 - Upgrade
Upgrade
ubuntu/libxml2to a version that resolves this vulnerability.Fixed in 2.9.10+dfsg-5ubuntu0.20.04.10+esm6 - Upgrade
Upgrade
ubuntu/libxml2to a version that resolves this vulnerability.Fixed in 2.9.13+dfsg-1ubuntu0.14 - Upgrade
Upgrade
ubuntu/libxml2to a version that resolves this vulnerability.Fixed in 2.9.14+dfsg-1.3ubuntu3.10 - Upgrade
Upgrade
ubuntu/libxml2to a version that resolves this vulnerability.Fixed in 2.15.2+dfsg-0.1ubuntu0.3 - Upgrade
Upgrade
alpine/libxml2to a version that resolves this vulnerability.Fixed in 2.13.9-r4
Event History
Frequently Asked Questions
What level of access does an attacker need?
The attack vector is local and requires no privileges or user interaction. Exploitation has high attack complexity.
Which installations are affected?
Installations using libxml2 versions before 2.15.4 are affected. Version 2.15.4 is the first version indicated as not affected by the provided data.
How can I determine whether my environment is exposed?
Identify the libxml2 version in use by the affected application or system package. Versions earlier than 2.15.4 should be treated as affected.