« List of all CVEs

CVE-2026-11979

Stack-Based Buffer Overflow in libxml2

Published: 6/29/2026 Last updated: 6/29/2026 Reserved: 6/11/2026

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.

CNA assigner: CERT-PL (4bb8329e-dd38-46c1-aafb-9bf32bcb93c6) Requested by: n/a

Metrics

Version Score Severity Vector String
4.0 1.8 Low CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:L/SI:L/SA:N

Opam packages affected (5)

bap-llvm conf-gtksourceview conf-gtksourceview3 conf-librsvg2 lablgtk3-gtkspell3

Products affected (2)

Product Vendor Version
libxml2 xmlsoft < 68.10.0
libxml2 xmlsoft < publication

References (4)

Credits (4)