← Back

Libexpat

libexpat

Vendor: Libexpat Project • 62 CVEs

CVEs (62)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
4Debian
Libexpat ProjectSiemens+1 more
4Debian Linux
LibexpatNessus+1 more
Jun 17, 2026
Jan 10, 2022
N/A· v4
8.8 HIGH· v3
6.8 MEDIUM· v2
nextScaffoldPart in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
4Debian
Libexpat ProjectSiemens+1 more
4Debian Linux
LibexpatNessus+1 more
Jun 17, 2026
Jan 10, 2022
N/A· v4
8.8 HIGH· v3
6.8 MEDIUM· v2
lookup in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
4Debian
Libexpat ProjectSiemens+1 more
4Debian Linux
LibexpatNessus+1 more
Jun 17, 2026
Jan 10, 2022
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
defineAttribute in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
4Debian
Libexpat ProjectSiemens+1 more
4Debian Linux
LibexpatNessus+1 more
Jun 17, 2026
Jan 10, 2022
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
build_model in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
4Debian
Libexpat ProjectSiemens+1 more
4Debian Linux
LibexpatNessus+1 more
Jun 17, 2026
Jan 10, 2022
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
4Libexpat Project
NetappSiemens+1 more
8Active Iq Unified Manager
Clustered Data OntapHci Baseboard Management Controller+5 more
Jun 17, 2026
Jan 6, 2022
N/A· v4
7.8 HIGH· v3
6.8 MEDIUM· v2
In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize.
5Debian
Libexpat ProjectNetapp+2 more
8Active Iq Unified Manager
Debian LinuxHci Baseboard Management Controller+5 more
Jun 17, 2026
Jan 1, 2022
N/A· v4
8.8 HIGH· v3
9.0 HIGH· v2
In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes, or only freeing memory).
2Libexpat Project
Python
2Libexpat
Python
Jun 17, 2026
Sep 4, 2019
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
In libexpat before 2.2.8, crafted XML input could fool the parser into changing from DTD parsing to document parsing too early; a consecutive call to XML_GetCurrentLineNumber (or XML_GetCurrentColumnNumber) then resulted...Show more
In libexpat before 2.2.8, crafted XML input could fool the parser into changing from DTD parsing to document parsing too early; a consecutive call to XML_GetCurrentLineNumber (or XML_GetCurrentColumnNumber) then resulted in a heap-based buffer over-read.Show less
7Canonical
DebianFedoraproject+4 more
9Debian Linux
FedoraHospitality Res 3700+6 more
May 30, 2025
Jun 24, 2019
N/A· v4
7.5 HIGH· v3
7.8 HIGH· v2
In libexpat in Expat before 2.2.7, XML input including XML names that contain a large number of colons could make the XML parser consume a high amount of RAM and CPU resources while processing (enough to be usable for de...Show more
In libexpat in Expat before 2.2.7, XML input including XML names that contain a large number of colons could make the XML parser consume a high amount of RAM and CPU resources while processing (enough to be usable for denial-of-service attacks).Show less
1Libexpat Project
1Libexpat
May 13, 2026
Jul 30, 2017
N/A· v4
7.8 HIGH· v3
4.6 MEDIUM· v2
The writeRandomBytes_RtlGenRandom function in xmlparse.c in libexpat in Expat 2.2.1 and 2.2.2 on Windows allows local users to gain privileges via a Trojan horse ADVAPI32.DLL in the current working directory because of a...Show more
The writeRandomBytes_RtlGenRandom function in xmlparse.c in libexpat in Expat 2.2.1 and 2.2.2 on Windows allows local users to gain privileges via a Trojan horse ADVAPI32.DLL in the current working directory because of an untrusted search path, aka DLL hijacking.Show less
3Debian
Libexpat ProjectPython
3Debian Linux
LibexpatPython
May 13, 2026
Jul 25, 2017
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
XML External Entity vulnerability in libexpat 2.2.0 and earlier (Expat XML Parser Library) allows attackers to put the parser in an infinite loop using a malformed external entity definition from an external DTD.
4Canonical
Libexpat ProjectMcafee+1 more
4Libexpat
Policy AuditorPython+1 more
May 6, 2026
Jun 30, 2016
N/A· v4
8.1 HIGH· v3
6.8 MEDIUM· v2
The overflow protection in Expat is removed by compilers with certain optimization settings, which allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via crafted XML data. NO...Show more
The overflow protection in Expat is removed by compilers with certain optimization settings, which allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via crafted XML data. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-1283 and CVE-2015-2716.Show less
4Canonical
DebianGoogle+1 more
4Android
Debian LinuxLibexpat+1 more
May 6, 2026
Jun 16, 2016
N/A· v4
7.5 HIGH· v3
7.8 HIGH· v2
The XML parser in Expat does not use sufficient entropy for hash initialization, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted identifiers in an XML document. NOTE:...Show more
The XML parser in Expat does not use sufficient entropy for hash initialization, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted identifiers in an XML document. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0876.Show less
4Canonical
DebianGoogle+1 more
4Android
Debian LinuxLibexpat+1 more
May 6, 2026
Jun 16, 2016
N/A· v4
5.9 MEDIUM· v3
4.3 MEDIUM· v2
Expat, when used in a parser that has not called XML_SetHashSalt or passed it a seed of 0, makes it easier for context-dependent attackers to defeat cryptographic protection mechanisms via vectors involving use of the sr...Show more
Expat, when used in a parser that has not called XML_SetHashSalt or passed it a seed of 0, makes it easier for context-dependent attackers to defeat cryptographic protection mechanisms via vectors involving use of the srand function.Show less
9Apple
CanonicalDebian+6 more
14Debian Linux
FirefoxLeap+11 more
May 6, 2026
May 26, 2016
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
Expat allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a malformed input document, which triggers a buffer overflow.
8Canonical
DebianGoogle+5 more
13Chrome
Debian LinuxLeap+10 more
May 6, 2026
Jul 23, 2015
N/A· v4
N/A· v3
6.8 MEDIUM· v2
Multiple integer overflows in the XML_GetBuffer function in Expat through 2.1.0, as used in Google Chrome before 44.0.2403.89 and other products, allow remote attackers to cause a denial of service (heap-based buffer ove...Show more
Multiple integer overflows in the XML_GetBuffer function in Expat through 2.1.0, as used in Google Chrome before 44.0.2403.89 and other products, allow remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via crafted XML data, a related issue to CVE-2015-2716.Show less
3Apple
Libexpat ProjectPython
7Ipados
Iphone OsLibexpat+4 more
Apr 29, 2026
Jan 21, 2014
N/A· v4
N/A· v3
6.8 MEDIUM· v2
expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource cons...Show more
expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because expat already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed, and each affected application would need its own CVE.Show less
2Apple
Libexpat Project
2Libexpat
Mac Os X
Apr 29, 2026
Jul 3, 2012
N/A· v4
N/A· v3
5.0 MEDIUM· v2
Memory leak in the poolGrow function in expat/lib/xmlparse.c in expat before 2.1.0 allows context-dependent attackers to cause a denial of service (memory consumption) via a large number of crafted XML files that cause i...Show more
Memory leak in the poolGrow function in expat/lib/xmlparse.c in expat before 2.1.0 allows context-dependent attackers to cause a denial of service (memory consumption) via a large number of crafted XML files that cause improperly-handled reallocation failures when expanding entities.Show less
2Apple
Libexpat Project
2Libexpat
Mac Os X
Apr 29, 2026
Jul 3, 2012
N/A· v4
N/A· v3
4.3 MEDIUM· v2
readfilemap.c in expat before 2.1.0 allows context-dependent attackers to cause a denial of service (file descriptor consumption) via a large number of crafted XML files.
6Canonical
DebianLibexpat Project+3 more
11Debian Linux
Enterprise Linux DesktopEnterprise Linux Eus+8 more
Apr 29, 2026
Jul 3, 2012
N/A· v4
N/A· v3
4.3 MEDIUM· v2
The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU co...Show more
The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via an XML file with many identifiers with the same value.Show less