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-2021-3518
8.8
22%
May 18
There's a flaw in libxml2 in versions before 2.9.11
Affected: before 2.9.11
CVE-2017-15412
8.8
3%
Aug 28
Use after free in libxml2 before 2.9.5, as used in Google Chrome prior to 63.0.3239.84 and other products, allowed a remote attacker to potentially exploit heap corruption via a…
Affected: before 2.9.5
CVE-2017-5130
8.8
3%
Feb 7
An integer overflow in xmlmemory.c in libxml2 before 2.9.5, as used in Google Chrome prior to 62.0.3202.62 and other products, allowed a remote attacker to potentially exploit…
Affected: before 2.9.5
CVE-2016-5131
8.8
2%
Jul 23
Use-after-free vulnerability in libxml2 through 2.9.4, as used in Google Chrome before 52.0.2743.82, allows remote attackers to cause a denial of service or possibly have…
Affected: through 2.9.4
CVE-2021-3517
8.6
17%
May 19
There is a flaw in the xml entity encoding functionality of libxml2 in versions before 2.9.11
Affected: before 2.9.11
CVE-2016-1762
8.1
6%
Mar 24
The xmlNextChar function in libxml2 before 2.9.4 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted XML document
Affected: before 2.9.4
CVE-2026-86144
7.8
0%
Sep 5
In xinclude in libxml2 before 2.15.4, xmlXIncludeProcess and xmlXIncludeProcessTree do not propagate parseFlags
Affected: before 2.15.4
CVE-2026-86142
7.8
0%
Sep 5
In libxml2 before 2.15.4, there is a heap-based buffer overflow in xmlXPtrEvalXPtrPart because of xmlXPtrEval xpointer length saturation
Affected: before 2.15.4
CVE-2026-86140
7.8
0%
Sep 5
In libxml2 before 2.15.4, xmlSnprintfElements in valid.c has a strcat stack-based buffer overflow
Affected: before 2.15.4
CVE-2026-86139
7.8
0%
Sep 5
In libxml2 before 2.15.4, xmlURIEscapeStr in uri.c has an integer overflow
Affected: before 2.15.4
CVE-2026-86138
7.8
0%
Sep 5
In libxml2 before 2.15.4, xmlDictAddQString in dict.c has an integer overflow and resultant heap-based buffer overflow
Affected: before 2.15.4
CVE-2026-11979
7.8
0%
Jun 29
Stack-Based Buffer Overflow in libxml2
Affected: through 2.15.3
CVE-2022-49043
7.8
0%
Jan 26
xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free
Affected: before 2.11.0
CVE-2022-40304
7.8
6%
Nov 23
An issue was discovered in libxml2 before 2.10.3
Affected: before 2.10.3
CVE-2016-1840
7.8
3%
May 20
Heap-based buffer overflow in the xmlFAParsePosCharGroup 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-1834
7.8
5%
May 20
Heap-based buffer overflow in the xmlStrncat 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,…
Affected: before 2.9.4
CVE-2025-24928
7.7
0%
Feb 18
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c
Affected: before 2.12.10; 2.13.0 before 2.13.6
CVE-2026-6732
7.5
1%
Apr 23
Libxml2: libxml2: denial of service via crafted xsd-validated document
Affected: 2.13.0 before 2.15.3
CVE-2025-6021
7.5
1%
Jun 12
Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2
Affected: before 2.14.4
CVE-2025-32415
7.5
1%
Apr 17
In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a heap-based buffer under-read
Affected: before 2.13.8; 2.14.0 before 2.14.2
CVE-2025-32414
7.5
0%
Apr 8
In 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
Affected: before 2.13.8; 2.14.0 before 2.14.2
CVE-2025-27113
7.5
1%
Feb 18
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a NULL pointer dereference in xmlPatMatch in pattern.c
Affected: before 2.12.10; 2.13.0 before 2.13.6
CVE-2024-34459
7.5
2%
May 13
An issue was discovered in xmllint (from libxml2) before 2.11.8 and 2.12.x before 2.12.7
Affected: before 2.11.8; 2.12.0 before 2.12.7
CVE-2024-25062
7.5
1%
Feb 4
An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5
Affected: before 2.11.7; 2.12.0 before 2.12.5
CVE-2022-40303
7.5
41%
Nov 22
An issue was discovered in libxml2 before 2.10.3
Affected: before 2.10.3
CVE-2022-23308
7.5
5%
Feb 26
valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes
Affected: before 2.9.13
CVE-2020-7595
7.5
8%
Jan 21
xmlStringLenDecodeEntities in parser.c in libxml2 2.9.10 has an infinite loop in a certain end-of-file situation
Affected: 2.9.10
CVE-2019-20388
7.5
3%
Jan 21
xmlSchemaPreRun in xmlschemas.c in libxml2 2.9.10 allows an xmlSchemaValidateStream memory leak
Affected: 2.9.10
CVE-2019-19956
7.5
6%
Dec 24
xmlParseBalancedChunkMemoryRecover in parser.c in libxml2 before 2.9.10 has a memory leak related to newDoc->oldNs
Affected: before 2.9.10
CVE-2016-9597
7.5
4%
Jul 30
It was found that Red Hat JBoss Core Services erratum RHSA-2016:2957 for CVE-2016-3705 did not actually include the fix for the issue found in libxml2, making it vulnerable to a…
Affected: 2.9.3
CVE-2017-16932
7.5
6%
Nov 23
parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities
Affected: through 2.9.4
CVE-2017-9047
7.5
3%
May 18
A buffer overflow was discovered in libxml2 20904-GITv2.9.4-16-g0741801
Affected: 2.9.4
CVE-2017-9048
7.5
5%
May 18
libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a stack-based buffer overflow
Affected: 2.9.4
CVE-2017-9050
7.5
5%
May 18
libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a heap-based buffer over-read in the xmlDictAddString function in dict.c
Affected: 2.9.4
CVE-2017-9049
7.5
5%
May 18
libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a heap-based buffer over-read in the xmlDictComputeFastKey function in dict.c
Affected: 2.9.4
CVE-2016-4483
7.5
6%
Apr 11
The xmlBufAttrSerializeTxtContent function in xmlsave.c in libxml2 allows context-dependent attackers to cause a denial of service (out-of-bounds read and application crash) via a…
Affected: before 2.9.4
CVE-2016-4447
7.5
14%
Jun 9
The xmlParseElementDecl function in parser.c in libxml2 before 2.9.4 allows context-dependent attackers to cause a denial of service (heap-based buffer underread and application…
Affected: through 2.9.3
CVE-2016-3705
7.5
5%
May 17
The (1) xmlParserEntityCheck and (2) xmlParseAttValueComplex functions in parser.c in libxml2 2.9.3 do not properly keep track of the recursion depth, which allows…
Affected: 2.9.3
CVE-2016-3627
7.5
7%
May 17
The xmlStringGetNodeList function in tree.c in libxml2 2.9.3 and earlier, when used in recovery mode, allows context-dependent attackers to cause a denial of service (infinite…
Affected: through 2.9.3
CVE-2015-6838
7.5
8%
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-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
Showing 44