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 python3-libxml2 | Oct 11, 2026 | Aug 31, 2026 |
| Amazon Linux Ami 2 | — | Upgrade libxml2-pythonUpgrade libxml2-staticUpgrade libxml2Upgrade libxml2-debuginfoUpgrade libxml2-devel | Aug 5, 2026 | Aug 5, 2026 |
| Amazon_linux_2023 | — | Upgrade libxml2-staticUpgrade python3-libxml2Upgrade libxml2-develUpgrade libxml2Upgrade python3-libxml2-debuginfoUpgrade libxml2-debugsourceUpgrade libxml2-debuginfo | Aug 10, 2026 | Jun 29, 2026 |
| Redhat_linux | — | Upgrade libxml2-develUpgrade libxml2-debuginfoUpgrade libxml2-debugsourceUpgrade python3-libxml2-debuginfoUpgrade libxml2Upgrade python3-libxml2Upgrade libxml2-staticNo solution exists | Jul 17, 2026 | Jun 29, 2026 |
| Rocky_linux | — | Upgrade libxml2Upgrade python3-libxml2-debuginfoUpgrade python3-libxml2Upgrade libxml2-develUpgrade libxml2-debugsourceUpgrade 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