CVE-2026-11979
Beschrijving NL
libxml2 is kwetsbaar voor meerdere stack-gebaseerde bufferoverlopen in het hulpprogramma xmlcatalog wanneer het in de --shell-modus wordt uitgevoerd. De gebruikersshell() -functie verwerkt gebruikersinvoer met behulp van stapelbuffers van vaste grootte zonder de juiste grenzen te controleren. Door een te lange invoerregel te leveren, kan een aanvaller interne buffers (commando, arg en argv) overlopen tijdens het ontleden van de invoer. Dit resulteert in geheugenbeschadiging binnen het stackframe. Succesvolle exploitatie kan een crash veroorzaken of mogelijk willekeurige code-uitvoering toestaan in het kader van het xmlcatalog-proces. Dit probleem is opgelost in de commit c2e233fc. OPMERKING:
De beheerders van dit project waren het er niet mee eens dat dit probleem een kwetsbaarheid is en beschouwden het als een bug.
Origineel (Engels) tonen
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.