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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade libxml2Upgrade libxml2-develUpgrade libxml2-staticUpgrade python3-libxml2 | Oct 11, 2026 | Aug 31, 2026 |
| Alpine Linux | — | Upgrade libxml2 | Nov 27, 2026 | Jun 29, 2026 |
| Amazon Linux Ami 2 | — | Upgrade libxml2Upgrade libxml2-debuginfoUpgrade libxml2-develUpgrade libxml2-pythonUpgrade libxml2-static | Aug 5, 2026 | Aug 5, 2026 |
| Amazon_linux_2023 | — | Upgrade libxml2Upgrade libxml2-debuginfoUpgrade libxml2-debugsourceUpgrade libxml2-develUpgrade libxml2-staticUpgrade python3-libxml2Upgrade python3-libxml2-debuginfo | Aug 10, 2026 | Jun 29, 2026 |
| Echo Linux | — | Upgrade libxml2Upgrade libxml2-2.11.7Upgrade libxml2-2.15.3Upgrade libxml2-2.9.1 | Nov 12, 2026 | Jun 29, 2026 |
| Oracle_linux | — | Upgrade libxml2Upgrade libxml2-develUpgrade libxml2-staticUpgrade python3-libxml2 | Oct 22, 2026 | Jun 29, 2026 |
| Redhat_linux | — | No solution existsUpgrade libxml2Upgrade libxml2-debuginfoUpgrade libxml2-debugsourceUpgrade libxml2-develUpgrade libxml2-staticUpgrade python3-libxml2Upgrade python3-libxml2-debuginfo | Jul 17, 2026 | Jun 29, 2026 |
| Rocky_linux | — | Upgrade libxml2Upgrade libxml2-debuginfoUpgrade libxml2-debugsourceUpgrade libxml2-develUpgrade python3-libxml2Upgrade python3-libxml2-debuginfo | Aug 31, 2026 | Aug 28, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 13, 2026 | Jun 29, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub