CVE-2026-11979Stack-Based Buffer Overflow in libxml2
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libxml2 | Will not fix Compiler hardening on Ubuntu renders this a denial of service issue only. This is only a denial of service when specifying long command lines to a command… | UBUNTU-CVE-2026-11979 | |
| Ubuntu 25.10 | libxml2 | Will not fix Compiler hardening on Ubuntu renders this a denial of service issue only. This is only a denial of service when specifying long command lines to a command… | UBUNTU-CVE-2026-11979 | |
| Ubuntu 24.04 | libxml2 | Will not fix Compiler hardening on Ubuntu renders this a denial of service issue only. This is only a denial of service when specifying long command lines to a command… | UBUNTU-CVE-2026-11979 | |
| Ubuntu 22.04 | libxml2 | Will not fix Compiler hardening on Ubuntu renders this a denial of service issue only. This is only a denial of service when specifying long command lines to a command… | UBUNTU-CVE-2026-11979 | |
| Ubuntu 20.04 | libxml2 | Fix pending | UBUNTU-CVE-2026-11979 | |
| Ubuntu 18.04 | libxml2 | Fix pending | UBUNTU-CVE-2026-11979 | |
| Ubuntu 16.04 | libxml2 | Fix pending | UBUNTU-CVE-2026-11979 | |
| Ubuntu 14.04 | libxml2 | Fix pending | UBUNTU-CVE-2026-11979 | |
| Debian 14 | libxml2 | Fixed | 2.15.4+dfsg-1 | DEBIAN-CVE-2026-11979 |
| Debian 13 | libxml2 | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-11979 | |
| Debian 12 | libxml2 | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-11979 | |
| Red Hat Enterprise Linux 10 | libxml2 | Fixed | 0:2.12.5-10.el10_2.3 | RHSA-2026:98572 |
| Red Hat Enterprise Linux 10 | libxml2-devel | Fixed | 0:2.12.5-15.el10_3.2 | RHSA-2026:60394 |
| Red Hat Enterprise Linux 10 | libxml2-static | Fixed | 0:2.12.5-15.el10_3.2 | RHSA-2026:60394 |
| Red Hat Enterprise Linux 10 | python3-libxml2 | Fixed | 0:2.12.5-15.el10_3.2 | RHSA-2026:60394 |
| Red Hat Enterprise Linux 9 | libxml2 | Fixed | 0:2.9.13-18.el9_9.1 | RHSA-2026:61247 |
| Red Hat Enterprise Linux 9 | libxml2-devel | Fixed | 0:2.9.13-18.el9_9.1 | RHSA-2026:61247 |
| Red Hat Enterprise Linux 9 | python3-libxml2 | Fixed | 0:2.9.13-14.el9_8.4 | RHSA-2026:98468 |
| Red Hat Enterprise Linux 8 | libxml2 | Fixed | 0:2.9.7-21.el8_10.7 | RHSA-2026:61248 |
| Red Hat Enterprise Linux 8 | libxml2-devel | Fixed | 0:2.9.7-21.el8_10.7 | RHSA-2026:61248 |
| Red Hat Enterprise Linux 8 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-catatonit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-gvproxy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-manpages | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-plugins | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | python3-libxml2 | Fixed | 0:2.9.7-21.el8_10.7 | RHSA-2026:61248 |
| Red Hat Enterprise Linux 7 | libxml2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libxml2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libxml2-python | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libxml2-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libxml2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libxml2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libxml2-python | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libxml2-static | Fix pending Fix deferred | ||
| AlmaLinux 10 | libxml2 | Fixed | 2.12.5-15.el10_3.2 | ALSA-2026:60394 |
| AlmaLinux 10 | libxml2-devel | Fixed | 2.12.5-10.el10_2.3 | ALSA-2026:98572 |
| AlmaLinux 10 | libxml2-static | Fixed | 2.12.5-15.el10_3.2 | ALSA-2026:60394 |
| AlmaLinux 10 | python3-libxml2 | Fixed | 2.12.5-15.el10_3.2 | ALSA-2026:60394 |
| AlmaLinux 9 | libxml2 | Fixed | 2.9.13-18.el9_9.1 | ALSA-2026:61247 |
| AlmaLinux 9 | libxml2-devel | Fixed | 2.9.13-14.el9_8.4 | ALSA-2026:98468 |
| AlmaLinux 9 | python3-libxml2 | Fixed | 2.9.13-18.el9_9.1 | ALSA-2026:61247 |
| AlmaLinux 8 | libxml2 | Fixed | 2.9.7-21.el8_10.7 | ALSA-2026:61248 |
| AlmaLinux 8 | libxml2-devel | Fixed | 2.9.7-21.el8_10.7 | ALSA-2026:61248 |
| AlmaLinux 8 | python3-libxml2 | Fixed | 2.9.7-21.el8_10.7 | ALSA-2026:61248 |
| Rocky Linux 10 | libxml2 | Fixed | 0:2.12.5-15.el10_3.2 | RLSA-2026:98572 |
| Rocky Linux 10 | libxml2-devel | Fixed | 0:2.12.5-15.el10_3.2 | RLSA-2026:98572 |
| Rocky Linux 10 | libxml2-static | Fixed | 0:2.12.5-15.el10_3.2 | RLSA-2026:98572 |
| Rocky Linux 10 | python3-libxml2 | Fixed | 0:2.12.5-15.el10_3.2 | RLSA-2026:98572 |
| Rocky Linux 9 | libxml2 | Fixed | 0:2.9.13-18.el9_9.1 | RLSA-2026:98468 |
| Rocky Linux 9 | libxml2-devel | Fixed | 0:2.9.13-18.el9_9.1 | RLSA-2026:98468 |
| Rocky Linux 9 | python3-libxml2 | Fixed | 0:2.9.13-18.el9_9.1 | RLSA-2026:98468 |
| Rocky Linux 8 | libxml2 | Fixed | 0:2.9.7-21.el8_10.7 | RLSA-2026:61248 |
What the vendor says
As published in the CVE record by CERT-PL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- xmlsoft libxml2: affected: up to 2.15.3
Vendor advisories:
References
- https://cert.pl/en/posts/2026/06/CVE-2026-11979
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/c2e233fc1b341685fc99621b2768b503f777a72e
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.