This library allows to manipulate XML files. It includes support to read, modify and write XML and HTML files. There is DTDs support this includes parsing and validation even with complex DtDs, either at parse time or later once the document has been modified. The output can be a simple SAX stream or and in-memory DOM like representations. In this case one can use the built-in XPath and XPointer implementation to select sub nodes or ranges. A flexible Input/Output mechanism is available, with existing HTTP and FTP modules and combined to an URI library.
Security Fix(es):
A use-after-free vulnerability was found in libxml2. This issue occurs when parsing XPath elements under certain circumstances when the XML schematron has the <sch:name path="..."/> schema elements. This flaw allows a malicious actor to craft a malicious XML document used as input for libxml, resulting in the program's crash using libxml or other possible undefined behaviors.(CVE-2025-49794)
A NULL pointer dereference vulnerability was found in libxml2 when processing XPath XML expressions. This flaw allows an attacker to craft a malicious XML input to libxml2, leading to a denial of service.(CVE-2025-49795)
A vulnerability was found in libxml2. Processing certain sch:name elements from the input XML file can trigger a memory corruption issue. This flaw allows an attacker to craft a malicious XML input file that can lead libxml to crash, resulting in a denial of service or other possible undefined behavior due to sensitive data being corrupted in memory.(CVE-2025-49796)
A vulnerability was found in xmlsoft libxml2 (Document Processing Software) (version now known). It has been declared as critical.The CWE definition for the vulnerability is CWE-121. A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).As an impact it is known to affect confidentiality, integrity, and availability.There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2025-18175).(CVE-2025-6021)
{ "severity": "Critical" }
{ "aarch64": [ "libxml2-2.11.9-5.oe2403sp2.aarch64.rpm", "libxml2-debuginfo-2.11.9-5.oe2403sp2.aarch64.rpm", "libxml2-debugsource-2.11.9-5.oe2403sp2.aarch64.rpm", "libxml2-devel-2.11.9-5.oe2403sp2.aarch64.rpm", "python3-libxml2-2.11.9-5.oe2403sp2.aarch64.rpm" ], "noarch": [ "libxml2-help-2.11.9-5.oe2403sp2.noarch.rpm" ], "x86_64": [ "libxml2-2.11.9-5.oe2403sp2.x86_64.rpm", "libxml2-debuginfo-2.11.9-5.oe2403sp2.x86_64.rpm", "libxml2-debugsource-2.11.9-5.oe2403sp2.x86_64.rpm", "libxml2-devel-2.11.9-5.oe2403sp2.x86_64.rpm", "python3-libxml2-2.11.9-5.oe2403sp2.x86_64.rpm" ], "src": [ "libxml2-2.11.9-5.oe2403sp2.src.rpm" ] }