CVE-2026-11979
Fixed in a distro release EPSS <1%CVSS 1.8
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.
Products: xmlsoft libxml2
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | libxml2 | 2.12.5-10.el10_2.3 |
| AlmaLinux 10 | libxml2-devel | 2.12.5-10.el10_2.3 |
| AlmaLinux 10 | libxml2-static | 2.12.5-10.el10_2.3 |
| AlmaLinux 10 | python3-libxml2 | 2.12.5-10.el10_2.3 |
| AlmaLinux 8 | libxml2 | 2.9.7-21.el8_10.7 |
| AlmaLinux 8 | libxml2-devel | 2.9.7-21.el8_10.7 |
| AlmaLinux 8 | python3-libxml2 | 2.9.7-21.el8_10.7 |
| AlmaLinux 9 | libxml2 | 2.9.13-14.el9_8.4 |
| AlmaLinux 9 | libxml2-devel | 2.9.13-14.el9_8.4 |
| AlmaLinux 9 | python3-libxml2 | 2.9.13-14.el9_8.4 |
| Amazon Linux 2 | libxml2 | 2.9.1-6.amzn2.5.26 |
| Amazon Linux 2 | libxml2-devel | 2.9.1-6.amzn2.5.26 |
| Amazon Linux 2 | libxml2-python | 2.9.1-6.amzn2.5.26 |
| Amazon Linux 2 | libxml2-static | 2.9.1-6.amzn2.5.26 |
| Amazon Linux 2023 | libxml2 | 2.10.4-1.amzn2023.0.20 |
| Amazon Linux 2023 | libxml2-devel | 2.10.4-1.amzn2023.0.20 |
| Amazon Linux 2023 | libxml2-static | 2.10.4-1.amzn2023.0.20 |
| Amazon Linux 2023 | python3-libxml2 | 2.10.4-1.amzn2023.0.20 |
| Chainguard | libxml2-16 | 0 |
| Debian 12 | libxml2 | no fix |
| Debian 13 | libxml2 | no fix |
| Debian 14 | libxml2 | 2.15.4+dfsg-1 |
| Red Hat Enterprise Linux 10.2 | libxml2 | 0:2.12.5-10.el10_2.3 |
| Red Hat Enterprise Linux 10.2 | libxml2-debuginfo | 0:2.12.5-10.el10_2.3 |
| Red Hat Enterprise Linux 10.2 | libxml2-debugsource | 0:2.12.5-10.el10_2.3 |
| Red Hat Enterprise Linux 10.2 | libxml2-devel | 0:2.12.5-10.el10_2.3 |
| Red Hat Enterprise Linux 10.2 | libxml2-static | 0:2.12.5-10.el10_2.3 |
| Red Hat Enterprise Linux 10.2 | python3-libxml2 | 0:2.12.5-10.el10_2.3 |
| Red Hat Enterprise Linux 10.2 | python3-libxml2-debuginfo | 0:2.12.5-10.el10_2.3 |
| Red Hat Enterprise Linux 8 | libxml2 | 0:2.9.7-21.el8_10.7 |
| Red Hat Enterprise Linux 8 | libxml2-debuginfo | 0:2.9.7-21.el8_10.7 |
| Red Hat Enterprise Linux 8 | libxml2-debugsource | 0:2.9.7-21.el8_10.7 |
| Red Hat Enterprise Linux 8 | libxml2-devel | 0:2.9.7-21.el8_10.7 |
| Red Hat Enterprise Linux 8 | python3-libxml2 | 0:2.9.7-21.el8_10.7 |
| Red Hat Enterprise Linux 8 | python3-libxml2-debuginfo | 0:2.9.7-21.el8_10.7 |
| Red Hat Enterprise Linux 9 | libxml2 | 0:2.9.13-14.el9_8.4 |
| Red Hat Enterprise Linux 9 | libxml2-debuginfo | 0:2.9.13-14.el9_8.4 |
| Red Hat Enterprise Linux 9 | libxml2-debugsource | 0:2.9.13-14.el9_8.4 |
| Red Hat Enterprise Linux 9 | libxml2-devel | 0:2.9.13-14.el9_8.4 |
| Red Hat Enterprise Linux 9 | python3-libxml2 | 0:2.9.13-14.el9_8.4 |
| Red Hat Enterprise Linux 9 | python3-libxml2-debuginfo | 0:2.9.13-14.el9_8.4 |
| Red Hat hummingbird 1 | libxml2 | 0:2.15.3-0.1.1.hum1 |
| Red Hat hummingbird 1 | libxml2-16 | 0:2.15.3-0.1.1.hum1 |
| Red Hat hummingbird 1 | libxml2-devel | 0:2.15.3-0.1.1.hum1 |
| Red Hat hummingbird 1 | libxml2-static | 0:2.15.3-0.1.1.hum1 |
| Red Hat hummingbird 1 | python3-libxml2 | 0:2.15.3-0.1.1.hum1 |
| Rocky Linux 10 | libxml2 | 0:2.12.5-10.el10_2.3 |
| Rocky Linux 8 | libxml2 | 0:2.9.7-21.el8_10.7 |
| Rocky Linux 9 | libxml2 | 0:2.9.13-14.el9_8.4 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | libxml2 | 2.9.14-150400.5.58.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | libxml2-python | 2.9.14-150400.5.58.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | libxml2 | 2.9.14-150400.5.58.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | libxml2-python | 2.9.14-150400.5.58.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | libxml2 | 2.10.3-150500.5.41.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | libxml2-python | 2.10.3-150500.5.41.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | libxml2 | 2.10.3-150500.5.41.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | libxml2-python | 2.10.3-150500.5.41.1 |
| SUSE Linux Enterprise Micro 5.3 | libxml2 | 2.9.14-150400.5.58.1 |
| SUSE Linux Enterprise Micro 5.3 | libxml2-python | 2.9.14-150400.5.58.1 |
| SUSE Linux Enterprise Micro 5.4 | libxml2 | 2.9.14-150400.5.58.1 |
| SUSE Linux Enterprise Micro 5.4 | libxml2-python | 2.9.14-150400.5.58.1 |
| SUSE Linux Enterprise Micro 5.5 | libxml2 | 2.10.3-150500.5.41.1 |
| SUSE Linux Enterprise Micro 5.5 | libxml2-python | 2.10.3-150500.5.41.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | libxml2 | 2.12.10-150700.4.14.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | libxml2-python | 2.12.10-150700.4.14.1 |
| SUSE Linux Enterprise Module for Python 3 15 SP7 | libxml2-python | 2.12.10-150700.4.14.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | libxml2 | 2.9.4-46.102.2 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | python-libxml2 | 2.9.4-46.102.2 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | libxml2 | 2.9.14-150400.5.58.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | libxml2-python | 2.9.14-150400.5.58.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | libxml2 | 2.10.3-150500.5.41.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | libxml2-python | 2.10.3-150500.5.41.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | libxml2 | 2.10.3-150500.5.41.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | libxml2-python | 2.10.3-150500.5.41.1 |
| SUSE Linux Enterprise Server 16.0 | libxml2 | 2.13.8-160000.5.1 |
| SUSE Linux Enterprise Server 16.0 | libxml2-python | 2.13.8-160000.5.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | libxml2 | 2.9.4-46.102.2 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | python-libxml2 | 2.9.4-46.102.2 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | libxml2 | 2.9.14-150400.5.58.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | libxml2-python | 2.9.14-150400.5.58.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | libxml2 | 2.10.3-150500.5.41.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | libxml2-python | 2.10.3-150500.5.41.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | libxml2 | 2.10.3-150500.5.41.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | libxml2-python | 2.10.3-150500.5.41.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | libxml2 | 2.13.8-160000.5.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | libxml2-python | 2.13.8-160000.5.1 |
| SUSE Linux Micro 6.0 | libxml2 | 2.11.6-13.1 |
| SUSE Linux Micro 6.0 | libxml2-python | 2.11.6-13.1 |
| SUSE Linux Micro 6.1 | libxml2 | 2.11.6-slfo.1.1_9.1 |
| SUSE Linux Micro 6.1 | libxml2-python | 2.11.6-slfo.1.1_9.1 |
| SUSE Linux Micro 6.2 | libxml2 | 2.13.8-160000.5.1 |
| SUSE Linux Micro 6.2 | libxml2-python | 2.13.8-160000.5.1 |
| Ubuntu 22.04 LTS | libxml2 | no fix |
| Ubuntu 24.04 LTS | libxml2 | no fix |
| Ubuntu 25.10 | libxml2 | no fix |
| Ubuntu 26.04 LTS | libxml2 | no fix |
| Ubuntu Pro 14.04 LTS | libxml2 | no fix |
| Ubuntu Pro 16.04 LTS | libxml2 | no fix |
| Ubuntu Pro 18.04 LTS | libxml2 | no fix |
| Ubuntu Pro 20.04 LTS | libxml2 | no fix |
| Wolfi | libxml2-16 | 0 |
| openSUSE Leap 16.0 | libxml2 | 2.13.8-160000.5.1 |
| openSUSE Leap 16.0 | libxml2-python | 2.13.8-160000.5.1 |
| openSUSE Tumbleweed | libxml2 | 2.15.3-2.1 |