Name
libxml2
Version
2.15.3
Type
library
Description
XML C Parser Library and Toolkit
Licenses
MIT
PURL
-
CPE
cpe:2.3:*:xmlsoft:libxml2:2.15.3:*:*:*:*:*:*:*
Other Versions#
Patches#
#
Title
Author
Resolve
1
xmlcatalog: overflow check for large --shell commands
Daniel Garcia Moreno <daniel.garcia@suse.com>
CVE-2026-11979
2
add yocto-specific install-ptest target
Ross Burton <ross.burton@arm.com>
3
Revert "cmake: Fix installation directories in
Peter Marko <peter.marko@siemens.com>
Vulnerabilities#
Name
Analysis
Description
Not Affected
A flaw was found in libxml2. This vulnerability occurs when the library processes a specially crafted XML Schema Definition (XSD) validated document that includes an internal entity reference. An attacker could exploit this by providing a malicious document, leading to a type confusion error that causes the application to crash. This results in a denial of service (DoS), making the affected system or application unavailable.
Patched
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.
Not Affected
A flaw was found in the interactive shell of the xmllint command-line tool, used for parsing XML files. When a user inputs an overly long command, the program does not check the input size properly, which can cause it to crash. This issue might allow attackers to run harmful code in rare configurations without modern protections.
Exploitable
The xmlreader in libxml allows remote attackers to cause a denial of service (memory consumption) via crafted XML data, related to an XML Entity Expansion (XEE) attack.