Logo
componentlibxml2
Name
libxml2
Version
2.12.10
Type
library
Description
XML C Parser Library and Toolkit
Licenses
MIT
PURL
-
CPE
cpe:2.3:*:xmlsoft:libxml2:2.12.10:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
kirkstone
2.9.14
master
2.15.3

Patches#


#
Title
Author
Resolve
1
tree: Fix integer overflow in xmlBuildQName
Nick Wellnhofer <wellnhofer@aevum.de>
CVE-2025-6021
2
Add RelaxNG include limit
Daniel Garcia Moreno <daniel.garcia@suse.com>
CVE-2026-0989
3
testcatalog: Add new tests for catalog.c
Daniel Garcia Moreno <daniel.garcia@suse.com>
CVE-2026-0992
4
catalog: Do not check value for duplication nextCatalog
Daniel Garcia Moreno <dani@danigm.net>
CVE-2026-0992
5
schematron: Fix memory safety issues in
Nick Wellnhofer <wellnhofer@aevum.de>
CVE-2025-49794
CVE-2025-49796
6
add yocto-specific install-ptest target
Ross Burton <ross.burton@arm.com>
7
catalog: prevent inf recursion in xmlCatalogXMLResolveURI
Daniel Garcia Moreno <daniel.garcia@suse.com>
CVE-2026-0989
8
[CVE-2025-6170] Fix potential buffer overflows of interactive
Michael Mann <mmann78@netscape.net>
CVE-2025-6170
9
libxslt: heap-use-after-free in xmlFreeID caused by `atype`
David Kilzer <ddkilzer@apple.com>
CVE-2025-7425
10
Schematron: Fix null pointer dereference leading to DoS
Michael Mann <mmann78@netscape.net>
CVE-2025-49795
11
shell: free cmdline before continue
Mingli Yu <mingli.yu@windriver.com>
CVE-2026-1757
12
[CVE-2025-32414] python: Read at most len/4 characters.
Maks Verver <maks@verver.ch>
CVE-2025-32414
13
catalog: Ignore repeated nextCatalog entries
Daniel Garcia Moreno <daniel.garcia@suse.com>
CVE-2026-0989
14
[CVE-2025-32415] schemas: Fix heap buffer overflow in
Nick Wellnhofer <wellnhofer@aevum.de>
CVE-2025-32415

Vulnerabilities#


Name
Analysis
Description
Patched
A flaw was identified in the interactive shell of the xmllint utility, part of the libxml2 project, where memory allocated for user input is not properly released under certain conditions. When a user submits input consisting only of whitespace, the program skips command execution but fails to free the allocated buffer. Repeating this action causes memory to continuously accumulate. Over time, this can exhaust system memory and terminate the xmllint process, creating a denial-of-service condition on the local system.
Patched
A flaw was found in the libxml2 library. This uncontrolled resource consumption vulnerability occurs when processing XML catalogs that contain repeated <nextCatalog> elements pointing to the same downstream catalog. A remote attacker can exploit this by supplying crafted catalogs, causing the parser to redundantly traverse catalog chains. This leads to excessive CPU consumption and degrades application availability, resulting in a denial-of-service condition.
Patched
A flaw was identified in the RelaxNG parser of libxml2 related to how external schema inclusions are handled. The parser does not enforce a limit on inclusion depth when resolving nested <include> directives. Specially crafted or overly complex schemas can cause excessive recursion during parsing. This may lead to stack exhaustion and application crashes, creating a denial-of-service risk.
Patched
A flaw was found in libxslt where the attribute type, atype, flags are modified in a way that corrupts internal memory management. When XSLT functions, such as the key() process, result in tree fragments, this corruption prevents the proper cleanup of ID attributes. As a result, the system may access freed memory, causing crashes or enabling attackers to trigger heap corruption.
Patched
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.
Patched
A flaw was found in libxml2's xmlBuildQName function, where integer overflows in buffer size calculations can lead to a stack-based buffer overflow. This issue can result in memory corruption or a denial of service when processing crafted input.
Patched
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.
Patched
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.
Patched
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.
Patched
In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a heap-based buffer under-read. To exploit this, a crafted XML document must be validated against an XML schema with certain identity constraints, or a crafted XML schema must be used.
Patched
In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memory access can occur in the Python API (Python bindings) because of an incorrect return value. This occurs in xmlPythonFileRead and xmlPythonFileReadRaw because of a difference between bytes and characters.
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.