CVE-2026-11979

High

Description

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductXmlsoft Libxml2
PublishedJun 29, 2026
First seenJun 29, 2026
Weakness typeCWE-121CWE-121

How to fix

Affected products

ProductAffected versionsFixed in
xmlsoft libxml2v ≤ 2.15.3—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.