Technology
Libxml2 vulnerabilities
177 published CVEs are tagged Libxml2, 9 of them in the last 30 days. The newest 50 are below.
- medium 5.7CVE-2026-13708218 h agoGNOME 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…
- low 2.0CVE-2026-13707518 h agoGNOME 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…
- medium 5.7CVE-2026-13707418 h agoGNOME 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…
- medium 5.8CVE-2026-13707318 h agoGNOME 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…
- medium 5.8CVE-2026-13707218 h agoGNOME 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…
- medium 5.7CVE-2026-13706918 h agolibxml2 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…
- medium 5.7CVE-2026-13706818 h agolibxml2 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.…
- medium 5.8CVE-2026-13706718 h agoGNOME 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…
- medium 5.1CVE-2026-1364061 d agoCanvas 7.0.0 before 7.2.11 contains a stored cross-site scripting vulnerability that allows authenticated Contributors to inject scripts by exploiting a libxml2 parser differential in…
- medium 6.9CVE-2026-10102527 Oct 2026Description NGINX JavaScript (njs) has a vulnerability where the built-in njs engine leaks a libxml2 parser context when xml.parse() fails. The failure path did not register cleanup and the context…
- high 8.3CVE-2026-10101927 Oct 2026Description NGINX JavaScript (njs) has a vulnerability where the njs XML module exposes entity-backed XML attributes inconsistently with libxml2 canonicalization. In both the built-in njs and QuickJS…
- medium 5.5CVE-2026-7678127 Oct 2026A flaw was found in libxml2. A local user or an attacker providing a specially crafted XML catalog can trigger a NULL pointer dereference during XML catalog parsing. This occurs when a `nextCatalog`…
- high 8.5CVE-2026-7486027 Oct 2026A flaw was found in libxml2 with Python bindings enabled. A remote attacker could exploit this vulnerability by providing a specially crafted XML document containing a Document Type Definition (DTD)…
- high 7.8CVE-2026-8614427 Oct 2026In xinclude in libxml2 before 2.15.4, xmlXIncludeProcess and xmlXIncludeProcessTree do not propagate parseFlags. This has security relevance for, for example, the XML_PARSE_NONET flag, if (without…
- high 7.3CVE-2026-8614327 Oct 2026In xmlIO in libxml2 before 2.15.4, an inconsistency in xmlOutputWriteCallback and xmlBufUse causes negative lengths to reach write callbacks, aka a lack of a check for integer overflow before calling…
- high 7.8CVE-2026-8614227 Oct 2026In libxml2 before 2.15.4, there is a heap-based buffer overflow in xmlXPtrEvalXPtrPart because of xmlXPtrEval xpointer length saturation.
- low 3.3CVE-2026-8614127 Oct 2026xmlregexp in libxml2 before 2.15.4 has a NULL pointer dereference in xmlRegNewParserCtxt after a strdup failure, i.e., it does not calculate a string length after NULL checking.
- high 7.8CVE-2026-8614027 Oct 2026In libxml2 before 2.15.4, xmlSnprintfElements in valid.c has a strcat stack-based buffer overflow.
- high 7.8CVE-2026-8613927 Oct 2026In libxml2 before 2.15.4, xmlURIEscapeStr in uri.c has an integer overflow.
- high 7.8CVE-2026-8613827 Oct 2026In libxml2 before 2.15.4, xmlDictAddQString in dict.c has an integer overflow and resultant heap-based buffer overflow.
- medium 6.1CVE-2026-8613727 Oct 2026In libxml2 before 2.15.4, xmlFAParsePosCharGroup has an out-of-bounds read, aka an out-of-bounds read in the NXT macro in xmlregexp.
- low 1.8CVE-2026-1197927 Oct 2026libxml2 is vulnerable to multiple stack-based buffer overflows in the xmlcatalog utility when running in --shell mode. The usershell() function processes user input using fixed-size stack buffers…
- low 1.7CVE-2026-5723627 Oct 2026Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, calling Document#encoding= with an invalid encoding (e.g., a non-string, or a string containing a…
- high 7.0CVE-2026-665327 Oct 2026Use 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…
- medium 6.7CVE-2026-4898127 Oct 2026pam_usb provides hardware authentication for Linux using ordinary removable media. In versions prior to 0.9.2, pam_usb calls xmlReadFile() with flags=0 when loading the configuration file, allowing…
- medium 6.7CVE-2026-4806527 Oct 2026pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.1, src/conf.c allocates heap memory proportional to n_devices, a count derived from libxml2 XPath…
- high 7.5CVE-2026-673227 Oct 2026A flaw was found in libxml2. This vulnerability occurs when the library processes a specially crafted XML Schema Definition (XSD) validated document that includes an internal entity reference. An…
- medium 6.2CVE-2026-175727 Oct 2026A 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…
- low 2.9CVE-2026-099227 Oct 2026A 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…
- medium 5.9CVE-2026-099027 Oct 2026A flaw was found in libxml2, an XML parsing library. This uncontrolled recursion vulnerability occurs in the xmlCatalogXMLResolveURI function when an XML catalog contains a delegate URI entry that…
- low 3.7CVE-2026-098927 Oct 2026A 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>…
- high 7.5CVE-2025-6657827 Oct 2026xmlseclibs is a library written in PHP for working with XML Encryption and Signatures. Versions 3.1.3 contain an authentication bypass vulnerability due to a flaw in the libxml2 canonicalization…
- critical 9.3CVE-2025-6656827 Oct 2026The ruby-saml library implements the client side of an SAML authorization. Versions up to and including 1.12.4, are vulnerable to authentication bypass through the libxml2 canonicalization process…
- unscoredCVE-2025-1286327 Oct 2026Rejected reason: This CVE was assigned for a libxml2 issue#1012 but later deemed not valid. Ref.: https://gitlab.gnome.org/GNOME/libxml2/-/issues/1012#note_2608283
- medium 5.5CVE-2025-971427 Oct 2026Uncontrolled recursion in XPath evaluation in libxml2 up to and including version 2.9.14 allows a local attacker to cause a stack overflow via crafted expressions. XPath processing functions…
- medium 5.5CVE-2025-2643427 Oct 2026In libxml2, there is a possible out of bounds read due to a buffer overflow. This could lead to local information disclosure with no additional execution privileges needed. User interaction is not…
- low 1.9CVE-2025-873227 Oct 2026A vulnerability was found in libxml2 up to 2.14.5. It has been declared as problematic. This vulnerability affects the function xmlParseSGMLCatalog of the component xmlcatalog. The manipulation leads…
- low 2.5CVE-2025-617027 Oct 2026A 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…
- critical 9.1CVE-2025-4979627 Oct 2026A 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…
- high 7.5CVE-2025-4979527 Oct 2026A 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…
- critical 9.1CVE-2025-4979427 Oct 2026A 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.…
- high 7.5CVE-2025-602127 Oct 2026A 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…
- high 7.5CVE-2025-3241527 Oct 2026In 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…
- high 7.5CVE-2025-3241427 Oct 2026In 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…
- high 7.5CVE-2025-2711327 Oct 2026libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a NULL pointer dereference in xmlPatMatch in pattern.c.
- high 7.7CVE-2025-2492827 Oct 2026libxml2 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…
- critical 9.8CVE-2024-5617127 Oct 2026libxml2 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…
- high 7.8CVE-2022-4904327 Oct 2026xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free.
- critical 9.1CVE-2024-4089627 Oct 2026In 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…
- high 7.5CVE-2024-3445927 Oct 2026An 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…
Tags come from the NVD's product data and the text of each record; a CVE can carry several. All vulnerabilities.
Running Libxml2? Ingati finds it on your site and tells you when a new CVE affects it.
Start scanning