Xmlsoft Libxml2 vulnerabilities, page 2

115 vulnerabilities

Known vulnerabilities in Xmlsoft Libxml2, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2025-27113xmlsoft · libxml2 +21 morexmlsoft libxml2libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a NULL pointer dereference in xmlPatMatch in pattern.c.CVSS7.5HighEPSS1.06%RoutineCVE-2025-24928netapp · active_iq_unified_manager +33 morenetapp active_iq_unified_managerlibxml2 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.CVSS7.8HighEPSS0.39%RoutineCVE-2024-56171netapp · active_iq_unified_manager +31 morenetapp active_iq_unified_managerlibxml2 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.CVSS9.8CriticalEPSS1.18%RoutineCVE-2022-49043xmlsoft · libxml2 +56 morexmlsoft libxml2xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free.CVSS8.1HighEPSS0.27%PrioritiseCVE-2024-40896libxml2 +35 morelibxml2 libxml2In 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.CVSS9.1CriticalEPSS1.22%PrioritiseCVE-2024-34459xmlsoft · libxml2 +39 morexmlsoft libxml2An 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.CVSS7.5HighEPSS1.80%PrioritiseCVE-2024-25062xmlsoft · libxml2 +80 morexmlsoft libxml2An 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.CVSS7.5HighEPSS1.31%RoutineCVE-2023-45322xmlsoft · libxml2 +36 morexmlsoft libxml2libxml2 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."CVSS6.5MediumEPSS0.97%RoutineCVE-2023-39615xmlsoft · libxml2 +59 morexmlsoft libxml2Xmlsoft 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.CVSS6.5MediumEPSS1.08%RoutineCVE-2023-29469debian · debian_linux +5 moredebian debian_linuxAn 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).CVSS6.5MediumEPSS1.31%RoutineCVE-2023-28484debian · debian_linux +4 moredebian debian_linuxIn 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.CVSS6.5MediumEPSS1.24%RoutineCVE-2022-40304apple · ipados +21 moreapple ipadosAn 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.CVSS7.8HighEPSS5.81%PrioritiseCVE-2022-40303apple · ipados +21 moreapple ipadosAn 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.CVSS7.5HighEPSS41.37%RoutineCVE-2016-3709xmlsoft · libxml2 +10 morexmlsoft libxml2Possible cross-site scripting vulnerability in libxml after commit 960f0e2.CVSS6.1MediumEPSS1.35%RoutineCVE-2022-29824debian · debian_linux +29 moredebian debian_linuxIn 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.CVSS6.5MediumEPSS3.75%PrioritiseCVE-2022-23308apple · ipados +101 moreapple ipadosvalid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.CVSS7.5HighEPSS4.69%RoutineCVE-2021-3541netapp · active_iq_unified_manager +40 morenetapp active_iq_unified_managerA flaw was found in libxml2. Exponential entity expansion attack its possible bypassing all existing protection mechanisms and leading to denial of service.CVSS6.5MediumEPSS2.07%PrioritiseCVE-2021-3517debian · debian_linux +32 moredebian debian_linuxThere 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.CVSS8.6HighEPSS12.83%RoutineCVE-2021-3518debian · debian_linux +21 moredebian debian_linuxThere'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.CVSS8.8HighEPSS18.87%RoutineCVE-2021-3537debian · debian_linux +22 moredebian debian_linuxA 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.CVSS5.9MediumEPSS3.15%