LI
Product
libxml2
by xmlsoft · last CVE Sep 5, 2026
115
CVEs
0
On KEV
9.8
Max CVSS
0
New 30D
Severity mix
Critical 10High 44Medium 29Low 5
Watch

Add libxml2 to your stack to get only the CVEs that touch what you run.

CVECVSSEPSSPublishedSummary · affected versions
CVE-2015-6837
7.5
7%
May 16
The xsl_ext_function_php function in ext/xsl/xsltprocessor.c in PHP before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13, when libxml2 before 2.9.2 is used, does not…
Affected: through 2.9.1; through 2.9.1; through 2.9.1
CVE-2015-8806
7.5
5%
Apr 13
dict.c in libxml2 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via an unexpected character immediately after the…
Affected: before 2.9.4
CVE-2026-86143
7.3
0%
Sep 5
In 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…
Affected: before 2.15.4
CVE-2016-4449
7.1
2%
Jun 9
XML external entity (XXE) vulnerability in the xmlStringLenDecodeEntities function in parser.c in libxml2 before 2.9.4, when not in validating mode, allows context-dependent…
Affected: through 2.9.3
CVE-2023-45322
6.5
1%
Oct 6
libxml2 through 2.11.5 has a use-after-free that can only occur after a certain memory allocation fails
Affected: through 2.11.5
CVE-2023-39615
6.5
1%
Aug 29
Xmlsoft Libxml2 v2.11.0 was discovered to contain an out-of-bounds read via the xmlSAX2StartElement() function at /libxml2/SAX2.c
Affected: 2.11.0
CVE-2023-28484
6.5
1%
Apr 24
In libxml2 before 2.10.4, parsing of certain invalid XSD schemas can lead to a NULL pointer dereference and subsequently a segfault
Affected: before 2.10.4
CVE-2023-29469
6.5
1%
Apr 24
An issue was discovered in libxml2 before 2.10.4
Affected: before 2.10.4
CVE-2022-29824
6.5
4%
May 3
In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows
Affected: before 2.9.14
CVE-2021-3541
6.5
2%
Jul 9
A flaw was found in libxml2
Affected: before 2.9.11
CVE-2020-24977
6.5
3%
Sep 3
GNOME project libxml2 v2.9.10 has a global buffer over-read vulnerability in xmlEncodeEntitiesInternal at libxml2/entities.c
Affected: 2.9.10
CVE-2018-14567
6.5
4%
Aug 16
libxml2 2.9.8, if --with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a crafted XML file that triggers LZMA_MEMLIMIT_ERROR, as…
Affected: 2.9.8
CVE-2016-9598
6.5
1%
Aug 16
libxml2, as used in Red Hat JBoss Core Services, allows context-dependent attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted XML…
Affected: before 2.9.4
CVE-2016-9596
6.5
1%
Aug 16
libxml2, as used in Red Hat JBoss Core Services and when in recovery mode, allows context-dependent attackers to cause a denial of service (stack consumption) via a crafted XML…
Affected: before 2.9.4
CVE-2018-14404
6.5
4%
Jul 19
A NULL pointer dereference vulnerability exists in the xpath.c:xmlXPathCompOpEval() function of libxml2 through 2.9.8 when parsing an invalid XPath expression in the XPATH_OP_AND…
Affected: through 2.9.8
CVE-2017-18258
6.5
3%
Apr 8
The xz_head function in xzlib.c in libxml2 before 2.9.6 allows remote attackers to cause a denial of service (memory consumption) via a crafted LZMA file, because the decoder…
Affected: before 2.9.6
CVE-2016-2073
6.5
2%
Feb 12
The htmlParseNameComplex function in HTMLparser.c in libxml2 allows attackers to cause a denial of service (out-of-bounds read) via a crafted XML document
Affected: before 2.9.4
CVE-2009-2416
6.5
2%
Aug 11
Multiple use-after-free vulnerabilities in libxml2 2.5.10, 2.6.16, 2.6.26, 2.6.27, and 2.6.32, and libxml 1.8.17, allow context-dependent attackers to cause a denial of service…
Affected: 2.5.10; 2.6.16; 2.6.26; 2.6.27; 2.6.32
CVE-2008-3281
6.5
3%
Aug 27
libxml2 2.6.32 and earlier does not properly detect recursion during entity expansion in an attribute value, which allows context-dependent attackers to cause a denial of service…
Affected: through 2.6.32
CVE-2003-1564
6.5
2%
Dec 31
libxml2, possibly before 2.5.0, does not properly detect recursion during entity expansion, which allows context-dependent attackers to cause a denial of service (memory and CPU…
Affected: before 2.5.0
CVE-2026-86137
6.1
0%
Sep 5
In libxml2 before 2.15.4, xmlFAParsePosCharGroup has an out-of-bounds read, aka an out-of-bounds read in the NXT macro in xmlregexp
Affected: before 2.15.4
CVE-2016-3709
6.1
1%
Jul 28
Possible cross-site scripting vulnerability in libxml after commit 960f0e2
Affected: 2.9.2 before 2.9.11
CVE-2026-0990
5.9
1%
Jan 15
A flaw was found in libxml2, an XML parsing library
Affected: before 2.15.2
CVE-2021-3537
5.9
4%
May 14
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
Affected: before 2.9.11
CVE-2025-9714
5.5
0%
Sep 10
Uncontrolled 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
Affected: before 2.10.0
CVE-2016-9318
5.5
3%
Nov 16
libxml2 2.9.4 and earlier, as used in XMLSec 1.2.23 and earlier and other products, does not offer a flag directly indicating that the current document may be read but other files…
Affected: through 2.9.4
CVE-2016-1839
5.5
7%
May 20
The xmlDictAddString function in libxml2 before 2.9.4, as used in Apple iOS before 9.3.2, OS X before 10.11.5, tvOS before 9.2.1, and watchOS before 2.2.1, allows remote attackers…
Affected: before 2.9.4
CVE-2016-1838
5.5
7%
May 20
The xmlPArserPrintFileContextInternal function in libxml2 before 2.9.4, as used in Apple iOS before 9.3.2, OS X before 10.11.5, tvOS before 9.2.1, and watchOS before 2.2.1, allows…
Affected: through 2.9.4
CVE-2016-1837
5.5
4%
May 20
Multiple use-after-free vulnerabilities in the (1) htmlPArsePubidLiteral and (2) htmlParseSystemiteral functions in libxml2 before 2.9.4, as used in Apple iOS before 9.3.2, OS X…
Affected: before 2.9.4
CVE-2016-1836
5.5
4%
May 20
Use-after-free vulnerability in the xmlDictComputeFastKey function in libxml2 before 2.9.4, as used in Apple iOS before 9.3.2, OS X before 10.11.5, tvOS before 9.2.1, and watchOS…
Affected: before 2.9.4
CVE-2016-1833
5.5
3%
May 20
The htmlCurrentChar function in libxml2 before 2.9.4, as used in Apple iOS before 9.3.2, OS X before 10.11.5, tvOS before 9.2.1, and watchOS before 2.2.1, allows remote attackers…
Affected: before 2.9.4
CVE-2018-9251
5.3
2%
Apr 4
The xz_decomp function in xzlib.c in libxml2 2.9.8, if --with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a crafted XML file that…
Affected: 2.9.8
CVE-2017-5969
4.7
3%
Apr 11
libxml2 2.9.4, when used in recover mode, allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted XML document
Affected: 2.9.4
CVE-2026-0989
3.7
1%
Jan 15
A flaw was identified in the RelaxNG parser of libxml2 related to how external schema inclusions are handled
Affected: before 2.15.2
CVE-2026-86141
3.3
0%
Sep 5
xmlregexp 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
Affected: before 2.15.4
CVE-2025-8732
3.3
0%
Aug 8
A vulnerability was found in libxml2 up to 2.14.5
Affected: before 2.15.2
CVE-2026-0992
2.9
0%
Jan 15
A flaw was found in the libxml2 library
Affected: before 2.15.2
CVE-2025-6170
2.5
0%
Jun 16
Libxml2: stack buffer overflow in xmllint interactive shell command handling
Affected: All versions, or not specified
CVE-2015-8317
–
6%
Dec 15
The xmlParseXMLDecl function in parser.c in libxml2 before 2.9.3 allows context-dependent attackers to obtain sensitive information via an (1) unterminated encoding value or (2)…
Affected: through 2.9.2
CVE-2015-8242
–
4%
Dec 15
The xmlSAX2TextNode function in SAX2.c in the push interface in the HTML parser in libxml2 before 2.9.3 allows context-dependent attackers to cause a denial of service…
Affected: through 2.9.2
CVE-2015-8241
–
5%
Dec 15
The xmlNextChar function in libxml2 2.9.2 does not properly check the state, which allows context-dependent attackers to cause a denial of service (heap-based buffer over-read and…
Affected: through 2.9.2
CVE-2015-7500
–
6%
Dec 15
The xmlParseMisc function in parser.c in libxml2 before 2.9.3 allows context-dependent attackers to cause a denial of service (out-of-bounds heap read) via unspecified vectors…
Affected: through 2.9.2
CVE-2015-7499
–
6%
Dec 15
Heap-based buffer overflow in the xmlGROW function in parser.c in libxml2 before 2.9.3 allows context-dependent attackers to obtain sensitive process memory information via…
Affected: through 2.9.2
CVE-2015-7498
–
7%
Dec 15
Heap-based buffer overflow in the xmlParseXmlDecl function in parser.c in libxml2 before 2.9.3 allows context-dependent attackers to cause a denial of service via unspecified…
Affected: through 2.9.2
CVE-2015-7497
–
7%
Dec 15
Heap-based buffer overflow in the xmlDictComputeFastQKey function in dict.c in libxml2 before 2.9.3 allows context-dependent attackers to cause a denial of service via unspecified…
Affected: through 2.9.2
CVE-2015-5312
–
4%
Dec 15
The xmlStringLenDecodeEntities function in parser.c in libxml2 before 2.9.3 does not properly prevent entity expansion, which allows context-dependent attackers to cause a denial…
Affected: through 2.9.2
CVE-2015-8035
–
3%
Nov 18
The xz_decomp function in xzlib.c in libxml2 2.9.1 does not properly detect compression errors, which allows context-dependent attackers to cause a denial of service (process…
Affected: 2.9.1
CVE-2015-7942
–
4%
Nov 18
The xmlParseConditionalSections function in parser.c in libxml2 does not properly skip intermediary entities when it stops parsing invalid input, which allows context-dependent…
Affected: 2.9.2
CVE-2015-7941
–
3%
Nov 18
libxml2 2.9.2 does not properly stop parsing invalid input, which allows context-dependent attackers to cause a denial of service (out-of-bounds read and libxml2 crash) via…
Affected: 2.9.2
CVE-2014-3660
–
4%
Nov 4
parser.c in libxml2 before 2.9.2 does not properly prevent entity expansion even when entity substitution has been disabled, which allows context-dependent attackers to cause a…
Affected: through 2.9.1; 2.0.0; 2.1.0; 2.1.1; 2.2.0; 2.2.0; +34 more
Page 2 of 3 · 115 total