CVE-2026-86140: Buffer Overflow
In libxml2 before 2.15.4, xmlSnprintfElements in valid.c has a strcat stack-based buffer overflow.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/libxml2to a version that resolves this vulnerability.Fixed in 2.15.4+dfsg-1 - Upgrade
Upgrade
azurelinux/libxml2to a version that resolves this vulnerability.Fixed in 2.11.5-11 - Upgrade
Upgrade
ubuntu/libxml2to a version that resolves this vulnerability.Fixed in 2.9.1+dfsg1-3ubuntu4.13+esm12 - Upgrade
Upgrade
ubuntu/libxml2to a version that resolves this vulnerability.Fixed in 2.9.3+dfsg1-1ubuntu0.7+esm13 - Upgrade
Upgrade
ubuntu/libxml2to a version that resolves this vulnerability.Fixed in 2.9.4+dfsg1-6.1ubuntu1.9+esm8 - Upgrade
Upgrade
ubuntu/libxml2to a version that resolves this vulnerability.Fixed in 2.9.10+dfsg-5ubuntu0.20.04.10+esm5 - Upgrade
Upgrade
ubuntu/libxml2to a version that resolves this vulnerability.Fixed in 2.9.13+dfsg-1ubuntu0.13 - Upgrade
Upgrade
ubuntu/libxml2to a version that resolves this vulnerability.Fixed in 2.9.14+dfsg-1.3ubuntu3.9 - Upgrade
Upgrade
ubuntu/libxml2to a version that resolves this vulnerability.Fixed in 2.15.2+dfsg-0.1ubuntu0.2 - Upgrade
Upgrade
alpine/libxml2to a version that resolves this vulnerability.Fixed in 2.13.9-r4
Event History
Frequently Asked Questions
Which deployments are affected?
libxml2 versions before 2.15.4 are affected. Systems using version 2.15.4 or later are not identified as affected by the provided data.
What access does an attacker need?
The listed attack vector is local. The vulnerability is rated as requiring no privileges and no user interaction.
What could successful exploitation impact?
The severity vector indicates high confidentiality and integrity impact, with low availability impact.
How can I determine whether I need to remediate?
Identify the libxml2 version installed or bundled with the affected application. Remediate installations running a version earlier than 2.15.4.