CVE-2026-11979

EUVD-2026-40092
libxml2 is vulnerable to multiple stack-based buffer overflows in the xmlcatalog utility when running in --shell mode. The usershell() function processes user input using fixed-size stack buffers without proper bounds checking.
By supplying an overly long input line, an attacker can overflow internal buffers (command, arg, and argv) during input parsing. This results in memory corruption within the stack frame.
Successful exploitation may cause a crash or potentially allow arbitrary code execution in the context of the xmlcatalog process.

This issue has been fixed in the commit c2e233fc.

NOTE:
The maintainers of this project did not agree that this issue is a vulnerability and considered it a bug.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.8 HIGH
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 4.54%
Affected Products (NVD)
VendorProductVersion
xmlsoftlibxml2
𝑥
≤ 2.15.3
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libxml2
bookworm
unimportant
bookworm (security)
unimportant
bullseye
unimportant
bullseye (security)
unimportant
forky
unimportant
sid
unimportant
trixie
unimportant
trixie (security)
unimportant
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libxml2
bionic
ignored
focal
ignored
jammy
ignored
noble
ignored
questing
ignored
resolute
ignored
trusty
ignored
xenial
ignored
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
libxml2-2
suse enterprise desktop 15 SP7
2.12.10-150700.4.14.1
fixed
suse enterprise sap 15 SP5
2.10.3-150500.5.41.1
fixed
suse enterprise sap 15 SP6
2.10.3-150500.5.41.1
fixed
suse enterprise sap 15 SP7
2.12.10-150700.4.14.1
fixed
suse enterprise server 12 SP3
2.9.4-46.102.2
fixed
suse enterprise server 12 SP5
2.9.4-46.102.2
fixed
suse enterprise server 15 SP4
2.9.14-150400.5.58.1
fixed
suse enterprise server 15 SP5
2.10.3-150500.5.41.1
fixed
suse enterprise server 15 SP6
2.10.3-150500.5.41.1
fixed
suse enterprise server 15 SP7
2.12.10-150700.4.14.1
fixed
libxml2-2-32bit
suse enterprise desktop 15 SP7
2.12.10-150700.4.14.1
fixed
suse enterprise sap 15 SP5
2.10.3-150500.5.41.1
fixed
suse enterprise sap 15 SP6
2.10.3-150500.5.41.1
fixed
suse enterprise sap 15 SP7
2.12.10-150700.4.14.1
fixed
suse enterprise server 12 SP3
2.9.4-46.102.2
fixed
suse enterprise server 12 SP5
2.9.4-46.102.2
fixed
suse enterprise server 15 SP4
2.9.14-150400.5.58.1
fixed
suse enterprise server 15 SP5
2.10.3-150500.5.41.1
fixed
suse enterprise server 15 SP6
2.10.3-150500.5.41.1
fixed
suse enterprise server 15 SP7
2.12.10-150700.4.14.1
fixed
libxml2-devel
suse enterprise desktop 15 SP7
2.12.10-150700.4.14.1
fixed
suse enterprise sap 15 SP5
2.10.3-150500.5.41.1
fixed
suse enterprise sap 15 SP6
2.10.3-150500.5.41.1
fixed
suse enterprise sap 15 SP7
2.12.10-150700.4.14.1
fixed
suse enterprise server 12 SP5
2.9.4-46.102.2
fixed
suse enterprise server 15 SP4
2.9.14-150400.5.58.1
fixed
suse enterprise server 15 SP5
2.10.3-150500.5.41.1
fixed
suse enterprise server 15 SP6
2.10.3-150500.5.41.1
fixed
suse enterprise server 15 SP7
2.12.10-150700.4.14.1
fixed
libxml2-doc
suse enterprise server 12 SP3
2.9.4-46.102.2
fixed
suse enterprise server 12 SP5
2.9.4-46.102.2
fixed
libxml2-tools
suse enterprise desktop 15 SP7
2.12.10-150700.4.14.1
fixed
suse enterprise sap 15 SP5
2.10.3-150500.5.41.1
fixed
suse enterprise sap 15 SP6
2.10.3-150500.5.41.1
fixed
suse enterprise sap 15 SP7
2.12.10-150700.4.14.1
fixed
suse enterprise server 12 SP3
2.9.4-46.102.2
fixed
suse enterprise server 12 SP5
2.9.4-46.102.2
fixed
suse enterprise server 15 SP4
2.9.14-150400.5.58.1
fixed
suse enterprise server 15 SP5
2.10.3-150500.5.41.1
fixed
suse enterprise server 15 SP6
2.10.3-150500.5.41.1
fixed
suse enterprise server 15 SP7
2.12.10-150700.4.14.1
fixed
python-libxml2
suse enterprise server 12 SP3
2.9.4-46.102.2
fixed
suse enterprise server 12 SP5
2.9.4-46.102.2
fixed
python3-libxml2
suse enterprise desktop 15 SP7
2.12.10-150700.4.14.1
fixed
suse enterprise sap 15 SP5
2.10.3-150500.5.41.1
fixed
suse enterprise sap 15 SP6
2.10.3-150500.5.41.1
fixed
suse enterprise sap 15 SP7
2.12.10-150700.4.14.1
fixed
suse enterprise server 15 SP4
2.9.14-150400.5.58.1
fixed
suse enterprise server 15 SP5
2.10.3-150500.5.41.1
fixed
suse enterprise server 15 SP6
2.10.3-150500.5.41.1
fixed
suse enterprise server 15 SP7
2.12.10-150700.4.14.1
fixed
python311-libxml2
suse enterprise sap 15 SP5
2.10.3-150500.5.41.1
fixed
suse enterprise sap 15 SP6
2.10.3-150500.5.41.1
fixed
suse enterprise server 15 SP4
2.9.14-150400.5.58.1
fixed
suse enterprise server 15 SP5
2.10.3-150500.5.41.1
fixed
suse enterprise server 15 SP6
2.10.3-150500.5.41.1
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
libxml2
Amazon Linux 2
0:2.9.1-6.amzn2.5.26
fixed
Amazon Linux 2023
0:2.10.4-1.amzn2023.0.20
fixed
libxml2-debuginfo
Amazon Linux 2
0:2.9.1-6.amzn2.5.26
fixed
Amazon Linux 2023
0:2.10.4-1.amzn2023.0.20
fixed
libxml2-debugsource
Amazon Linux 2023
0:2.10.4-1.amzn2023.0.20
fixed
libxml2-devel
Amazon Linux 2
0:2.9.1-6.amzn2.5.26
fixed
Amazon Linux 2023
0:2.10.4-1.amzn2023.0.20
fixed
libxml2-python
Amazon Linux 2
0:2.9.1-6.amzn2.5.26
fixed
libxml2-static
Amazon Linux 2
0:2.9.1-6.amzn2.5.26
fixed
Amazon Linux 2023
0:2.10.4-1.amzn2023.0.20
fixed
python3-libxml2
Amazon Linux 2023
0:2.10.4-1.amzn2023.0.20
fixed
python3-libxml2-debuginfo
Amazon Linux 2023
0:2.10.4-1.amzn2023.0.20
fixed