← Back

Libxml2

libxml2

Vendor: Xmlsoft • 115 CVEs

CVEs (115)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Xmlsoft
1Libxml2
Jun 17, 2026
Feb 18, 2025
N/A· v4
7.5 HIGH· v3
N/A· v2
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a NULL pointer dereference in xmlPatMatch in pattern.c.
2Netapp
Xmlsoft
11Active Iq Unified Manager
H300s FirmwareH410c Firmware+8 more
Jun 17, 2026
Feb 18, 2025
N/A· v4
7.7 HIGH· v3
N/A· v2
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c. To exploit this, DTD validation must occur for an untrusted document or untrusted DTD. NOTE: this is si...Show more
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c. To exploit this, DTD validation must occur for an untrusted document or untrusted DTD. NOTE: this is similar to CVE-2017-9047.Show less
2Netapp
Xmlsoft
11Active Iq Unified Manager
H300s FirmwareH410c Firmware+8 more
Jun 17, 2026
Feb 18, 2025
N/A· v4
9.8 CRITICAL· v3
N/A· v2
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a use-after-free in xmlSchemaIDCFillNodeTables and xmlSchemaBubbleIDCNodeTables in xmlschemas.c. To exploit this, a crafted XML document must be validated against an XM...Show more
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a use-after-free in xmlSchemaIDCFillNodeTables and xmlSchemaBubbleIDCNodeTables in xmlschemas.c. 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.Show less
1Xmlsoft
1Libxml2
Jun 17, 2026
Jan 26, 2025
N/A· v4
7.8 HIGH· v3
N/A· v2
xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free.
2Netapp
Xmlsoft
9H300s Firmware
H410c FirmwareH410s Firmware+6 more
Jun 17, 2026
Dec 23, 2024
N/A· v4
9.1 CRITICAL· v3
N/A· v2
In libxml2 2.11 before 2.11.9, 2.12 before 2.12.9, and 2.13 before 2.13.3, the SAX parser can produce events for external entities even if custom SAX handlers try to override entity content (by setting "checked"). This m...Show more
In libxml2 2.11 before 2.11.9, 2.12 before 2.12.9, and 2.13 before 2.13.3, the SAX parser can produce events for external entities even if custom SAX handlers try to override entity content (by setting "checked"). This makes classic XXE attacks possible.Show less
1Xmlsoft
1Libxml2
Oct 15, 2026
May 14, 2024
N/A· v4
7.5 HIGH· v3
N/A· v2
An issue was discovered in xmllint (from libxml2) before 2.11.8 and 2.12.x before 2.12.7. Formatting error messages with xmllint --htmlout can result in a buffer over-read in xmlHTMLPrintFileContext in xmllint.c.
1Xmlsoft
1Libxml2
Oct 15, 2026
Feb 4, 2024
N/A· v4
7.5 HIGH· v3
N/A· v2
An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValida...Show more
An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.Show less
1Xmlsoft
1Libxml2
Oct 15, 2026
Oct 6, 2023
N/A· v4
6.5 MEDIUM· v3
N/A· v2
libxml2 through 2.11.5 has a use-after-free that can only occur after a certain memory allocation fails. This occurs in xmlUnlinkNode in tree.c. NOTE: the vendor's position is "I don't think these issues are critical eno...Show more
libxml2 through 2.11.5 has a use-after-free that can only occur after a certain memory allocation fails. This occurs in xmlUnlinkNode in tree.c. NOTE: the vendor's position is "I don't think these issues are critical enough to warrant a CVE ID ... because an attacker typically can't control when memory allocations fail."Show less
1Xmlsoft
1Libxml2
Oct 15, 2026
Aug 29, 2023
N/A· v4
6.5 MEDIUM· v3
N/A· v2
Xmlsoft Libxml2 v2.11.0 was discovered to contain an out-of-bounds read via the xmlSAX2StartElement() function at /libxml2/SAX2.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via supplying a cr...Show more
Xmlsoft Libxml2 v2.11.0 was discovered to contain an out-of-bounds read via the xmlSAX2StartElement() function at /libxml2/SAX2.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via supplying a crafted XML file. NOTE: the vendor's position is that the product does not support the legacy SAX1 interface with custom callbacks; there is a crash even without crafted input.Show less
2Debian
Xmlsoft
2Debian Linux
Libxml2
Oct 14, 2026
Apr 24, 2023
N/A· v4
6.5 MEDIUM· v3
N/A· v2
An issue was discovered in libxml2 before 2.10.4. When hashing empty dict strings in a crafted XML document, xmlDictComputeFastKey in dict.c can produce non-deterministic values, leading to various logic and memory error...Show more
An issue was discovered in libxml2 before 2.10.4. When hashing empty dict strings in a crafted XML document, xmlDictComputeFastKey in dict.c can produce non-deterministic values, leading to various logic and memory errors, such as a double free. This behavior occurs because there is an attempt to use the first byte of an empty string, and any value is possible (not solely the '\0' value).Show less
2Debian
Xmlsoft
2Debian Linux
Libxml2
Oct 14, 2026
Apr 24, 2023
N/A· v4
6.5 MEDIUM· v3
N/A· v2
In libxml2 before 2.10.4, parsing of certain invalid XSD schemas can lead to a NULL pointer dereference and subsequently a segfault. This occurs in xmlSchemaFixupComplexType in xmlschemas.c.
3Apple
NetappXmlsoft
17Active Iq Unified Manager
Clustered Data OntapClustered Data Ontap Antivirus Connector+14 more
Oct 14, 2026
Nov 23, 2022
N/A· v4
7.8 HIGH· v3
N/A· v2
An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked.
3Apple
NetappXmlsoft
17Active Iq Unified Manager
Clustered Data OntapClustered Data Ontap Antivirus Connector+14 more
Oct 14, 2026
Nov 23, 2022
N/A· v4
7.5 HIGH· v3
N/A· v2
An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an a...Show more
An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault.Show less
1Xmlsoft
1Libxml2
Oct 14, 2026
Jul 28, 2022
N/A· v4
6.1 MEDIUM· v3
N/A· v2
Possible cross-site scripting vulnerability in libxml after commit 960f0e2.
5Debian
FedoraprojectNetapp+2 more
19Active Iq Unified Manager
Clustered Data OntapClustered Data Ontap Antivirus Connector+16 more
Oct 14, 2026
May 3, 2022
N/A· v4
6.5 MEDIUM· v3
4.3 MEDIUM· v2
In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to...Show more
In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file. Other software using libxml2's buffer functions, for example libxslt through 1.1.35, is affected as well.Show less
6Apple
DebianFedoraproject+3 more
35Active Iq Unified Manager
Bootstrap OsClustered Data Ontap+32 more
Oct 14, 2026
Feb 26, 2022
N/A· v4
7.5 HIGH· v3
4.3 MEDIUM· v2
valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.
4Netapp
OracleRedhat+1 more
19Active Iq Unified Manager
Cloud BackupClustered Data Ontap+16 more
Oct 14, 2026
Jul 9, 2021
N/A· v4
6.5 MEDIUM· v3
4.0 MEDIUM· v2
A flaw was found in libxml2. Exponential entity expansion attack its possible bypassing all existing protection mechanisms and leading to denial of service.
6Debian
FedoraprojectNetapp+3 more
28Active Iq Unified Manager
Clustered Data OntapClustered Data Ontap Antivirus Connector+25 more
Oct 14, 2026
May 19, 2021
N/A· v4
8.6 HIGH· v3
7.5 HIGH· v2
There is a flaw in the xml entity encoding functionality of libxml2 in versions before 2.9.11. An attacker who is able to supply a crafted file to be processed by an application linked with the affected functionality of...Show more
There is a flaw in the xml entity encoding functionality of libxml2 in versions before 2.9.11. An attacker who is able to supply a crafted file to be processed by an application linked with the affected functionality of libxml2 could trigger an out-of-bounds read. The most likely impact of this flaw is to application availability, with some potential impact to confidentiality and integrity if an attacker is able to use memory information to further exploit the application.Show less
6Debian
FedoraprojectNetapp+3 more
18Active Iq Unified Manager
Clustered Data OntapClustered Data Ontap Antivirus Connector+15 more
Oct 14, 2026
May 18, 2021
N/A· v4
8.8 HIGH· v3
6.8 MEDIUM· v2
There's a flaw in libxml2 in versions before 2.9.11. An attacker who is able to submit a crafted file to be processed by an application linked with libxml2 could trigger a use-after-free. The greatest impact from this fl...Show more
There's a flaw in libxml2 in versions before 2.9.11. An attacker who is able to submit a crafted file to be processed by an application linked with libxml2 could trigger a use-after-free. The greatest impact from this flaw is to confidentiality, integrity, and availability.Show less
6Debian
FedoraprojectNetapp+3 more
19Active Iq Unified Manager
Clustered Data OntapClustered Data Ontap Antivirus Connector+16 more
Oct 14, 2026
May 14, 2021
N/A· v4
5.9 MEDIUM· v3
4.3 MEDIUM· v2
A vulnerability found in libxml2 in versions before 2.9.11 shows that it did not propagate errors while parsing XML mixed content, causing a NULL dereference. If an untrusted XML document was parsed in recovery mode and...Show more
A vulnerability found in libxml2 in versions before 2.9.11 shows that it did not propagate errors while parsing XML mixed content, causing a NULL dereference. If an untrusted XML document was parsed in recovery mode and post-validated, the flaw could be used to crash the application. The highest threat from this vulnerability is to system availability.Show less