Gnome Libxml2 vulnerabilities
11 vulnerabilities
Known vulnerabilities in Gnome Libxml2, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
RoutineCVE-2026-137067gnome · libxml2 +2 moreGNOME libxml2 2.9.10 through 2.15.4 Use-After-Free via xmlValidatePopElementGNOME libxml2 2.9.10 through 2.15.4 contains a use-after-free vulnerability in xmlValidatePopElement because xmlCtxtReset frees the DTD without popping stale validation states. Attackers supplying an XML document ending inside an element to an application reusing a DTD-validating xmlTextReader can trigger heap reads, causing crashes and limited heap disclosure via error messages.CVSS5.8MediumEPSS0.19%RoutineCVE-2026-137068gnome · libxml2 +2 morelibxml2 through 2.15.4 Use-After-Free in xmlFreeNode via reader->faketextlibxml2 through 2.15.4 contains a heap use-after-free vulnerability that allows attackers to crash applications by triggering xmlFreeNode on a stale reader->faketext node after xmlTextReader reuse. Attackers can supply XML containing a namespace declaration to applications that read its value and reuse the reader, causing a freed document's dictionary read and process crash.CVSS5.7MediumEPSS0.39%RoutineCVE-2026-137069gnome · libxml2 +2 morelibxml2 2.13.0 through 2.15.4 Denial of Service via xmlTextReaderSetup Unreset Error Statelibxml2 2.13.0 through 2.15.4 contains a denial of service vulnerability because xmlTextReaderSetup does not reset reader->state when a reader is reused. Attackers can submit one malformed XML document to an application reusing a single reader, causing every later document to be rejected until the reader is recreated.CVSS5.7MediumEPSS0.20%RoutineCVE-2026-137072gnome · libxml2 +2 moreGNOME libxml2 2.9.10 through 2.15.4 Use-After-Free in xmlValidatePopElementGNOME libxml2 2.9.10 through 2.15.4 contains a use-after-free vulnerability that allows attackers to trigger stale DTD validation states after xmlTextReaderCurrentDoc documents are freed. Attackers can supply an XML document ending with an error inside an element, causing xmlTextReaderClose to read freed element declarations, leading to crashes and possible invalid frees.CVSS5.8MediumEPSS0.26%RoutineCVE-2026-137073gnome · libxml2 +10 moreGNOME libxml2 through 2.15.4 Double Free in xmlReaderNewWalker()GNOME libxml2 through 2.15.4 contains a double free vulnerability in xmlReaderNewWalker() that frees reader->input again after xmlTextReaderClose() already released it. Applications reusing a closed xmlTextReader with xmlReaderNewWalker() can crash, and groomed heap memory can control the close callback for possible code execution.CVSS5.8MediumEPSS0.27%RoutineCVE-2026-137074gnome · libxml2 +2 morelibxml2 2.12.6 through 2.15.4 NULL Pointer Dereference via xmlTextReaderConstEncoding()GNOME libxml2 2.12.6 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlTextReaderConstEncoding() after a reader is reset with xmlReaderNewWalker(). Because xmlCtxtReset() leaves ctxt->input NULL, querying the document encoding makes xmlGetActualEncoding() read ctxt->input->flags without a check, crashing the application and causing denial of service.CVSS5.7MediumEPSS0.27%RoutineCVE-2026-137075gnome · libxml2 +2 moreGNOME libxml2 2.14.0 through 2.15.4 Missing NUL Termination in xmlBufferAddHead()GNOME libxml2 2.14.0 through 2.15.4 contains a missing NUL termination flaw in xmlBufferAddHead() in buf.c that leaves uninitialized heap bytes as the terminator for storage-less buffers. Attackers supplying data to applications reusing an xmlBuffer can trigger over-reads via xmlBufferCat() and xmlStrlen(), disclosing adjacent heap memory or causing crashes.CVSS3.6LowEPSS0.26%RoutineCVE-2026-137082gnome · libxml2 +10 moreGNOME libxml2 through 2.15.4 NULL Pointer Dereference in xmlParseStartTag2()GNOME libxml2 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlParseStartTag2() that allows attackers to crash applications by triggering parser context reuse after SAX1 parsing. Attackers can supply documents with attributes parsed first with XML_PARSE_SAX1 and then without it on a reused context, causing writes to unallocated ctxt->attallocs and denial of service.CVSS5.7MediumEPSS0.21%PrioritiseCVE-2026-6653gnome · libxml2 +9 morelibxml2: Use after free in xmlParseInternalSubset via improper entity resolution handlingUse After Free in libxml2's xmlParseInternalSubset from GNOME libxml2 version 2.9.11 to 2.11.0 allows a remote attacker to cause a denial-of-service via maliciously crafted XML input with improper entity resolution handling.CVSS9.8CriticalEPSS0.35%RoutineCVE-2025-7425gnome · libxml2 +110 moreLibxslt: libxml2: heap use-after-free in libxslt caused by atype corruption in xmlattrptrA 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.CVSS7.8HighEPSS0.44%PrioritiseCVE-2025-49795gnome · libxml2 +2 moreLibxml: null pointer dereference leads to denial of service (dos)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.CVSS7.5HighEPSS0.80%