VulnSea

libexpat vulnerabilities

CVEs whose affected-version data names the libexpat package. Each record lists the affected and patched versions; check a specific version with the dependency checker or POST /api/sbom.

45 CVEsRSS

CVE-2026-118370Medium· 5.9
yesterday

libexpat through 2.9.0 Integer Overflow in storeAtts via attIndex and nPrefixes

libexpat through 2.9.0 contains a signed integer overflow vulnerability in storeAtts() in lib/xmlparse.c that allows attackers to trigger out-of-bounds writes via oversized attribute counts. Attackers can supply a multi-gigabyte document…

▾ Sunlitlibexpat · libexpatvia CVEORG
CVE-2026-117610Medium· 5.9
yesterday

libexpat through 2.9.0 NULL Pointer Dereference via External Entity Subparser

libexpat through 2.9.0 contains a NULL pointer dereference vulnerability in externalEntityInitProcessor2() in lib/xmlparse.c that mishandles the XML_TOK_NONE token from empty input. Attackers who control stream chunking can force an empt…

▾ Sunlitlibexpat · libexpatvia CVEORG
CVE-2026-115506High· 7.5PoC
1w ago

libexpat through 2.9.0 Denial of Service via Billion Laughs Detection Delay

libexpat through 2.9.0 contains a denial of service vulnerability because billion laughs protection in accountingDiffTolerated() in xmlparse.c detects entity amplification too late. Attackers can supply a moderately sized XML document wi…

▾ Midnightlibexpat · libexpatEPSS 0.46%via CVEORG
CVE-2026-113351Medium· 5.9
1w ago

libexpat 2.7.2 through 2.9.0 Denial of Service via XML_ParserReset

libexpat 2.7.2 through 2.9.0 contains a denial of service vulnerability because XML_ParserReset zeroes the direct byte count but never offsets tracked heap allocations. Attackers can submit a large XML document so later documents on the …

▾ Sunlitlibexpat · libexpatEPSS 0.47%via CVEORG
CVE-2026-77214High· 8.2
3w ago

libexpat before commit 13c5f63 contains a heap buffer over-read vulnerability in xmlparse.c

libexpat before commit 13c5f63 contains a heap buffer over-read vulnerability in xmlparse.c. XML_ParseBuffer advances the parse buffer end with parser->m_bufferEnd += len using a caller-supplied length that is not validated against the a…

▾ Twilightlibexpat · libexpatEPSS 0.32%via NVD
CVE-2026-102633Medium· 5.9
1mo ago

libexpat versions 2.7.2 through 2.8.5 contain an integer overflow vulnerability in expat_realloc() function on 32-bit platforms when computing allocation sizes

libexpat versions 2.7.2 through 2.8.5 contain an integer overflow vulnerability in expat_realloc() function on 32-bit platforms when computing allocation sizes. Attackers supplying malicious XML to applications parsing with vulnerable li…

▾ Sunlitlibexpat · libexpatEPSS 0.37%via NVD
CVE-2026-93990High· 7.5
1mo ago

Expat before 2.8.5 fails to validate that a high surrogate in UTF-16 input is followed by a low surrogate, allowing malformed UTF-16 sequences to be accepted

Expat before 2.8.5 fails to validate that a high surrogate in UTF-16 input is followed by a low surrogate, allowing malformed UTF-16 sequences to be accepted. Attackers can supply UTF-16 encoded XML containing lone high surrogates that c…

▾ Twilightlibexpat · libexpatEPSS 0.40%via NVD
CVE-2026-76957Medium· 4.9
2mo ago

libexpat before 2.8.4 lacks handler call depth tracking with custom encoding callbacks

libexpat before 2.8.4 lacks handler call depth tracking with custom encoding callbacks. Thus, a use-after-free can occur. NOTE: this is similar to CVE-2026-50219, CVE-2026-56131 and CVE-2026-56412.

▾ Sunlitlibexpat_project · libexpatEPSS 0.11%via NVD
CVE-2026-76956Medium· 5.9
2mo ago

In libexpat 2.8.2 and 2.8.3 before 2.8.4, misinterpretation of getentropy's return code leads to insufficient entropy, which results in being vulnerable to hash flooding attacks, causing a denial of service via crafted XML content.

In libexpat 2.8.2 and 2.8.3 before 2.8.4, misinterpretation of getentropy's return code leads to insufficient entropy, which results in being vulnerable to hash flooding attacks, causing a denial of service via crafted XML content.

▾ Sunlitlibexpat_project · libexpatEPSS 0.29%via NVD
CVE-2026-66046High· 7.5
2mo ago

Expat through 2.8.3 contains a denial of service vulnerability caused by quadratic algorithmic complexity in the storeAtts() function in xmlparse.c, where processing N specified attributes with non-normalized values triggers an O(N^2) li…

Expat through 2.8.3 contains a denial of service vulnerability caused by quadratic algorithmic complexity in the storeAtts() function in xmlparse.c, where processing N specified attributes with non-normalized values triggers an O(N^2) li…

▾ Twilightlibexpat_project · libexpatEPSS 0.74%via NVD
CVE-2026-45186Low· 2.9⚖ disputed
5mo ago

In libexpat before 2.8.1, the computational complexity of attribute name collision checks allows a denial of service via moderately sized crafted XML input.

In libexpat before 2.8.1, the computational complexity of attribute name collision checks allows a denial of service via moderately sized crafted XML input.

▾ Sunlitlibexpat_project · libexpatEPSS 0.48%via NVD
CVE-2026-41080Low· 2.9
6mo ago

libexpat before 2.8.0 uses insufficient entropy, and thus hash flooding can occur via a crafted XML document.

libexpat before 2.8.0 uses insufficient entropy, and thus hash flooding can occur via a crafted XML document.

▾ Sunlitlibexpat project · libexpatEPSS 0.40%via CVEORG
CVE-2026-32777Medium· 4.0
7mo ago

libexpat before 2.7.5 allows an infinite loop while parsing DTD content.

libexpat before 2.7.5 allows an infinite loop while parsing DTD content.

▾ Sunlitlibexpat project · libexpatEPSS 0.22%via CVEORG
CVE-2026-32776Medium· 4.0
7mo ago

libexpat before 2.7.5 allows a NULL pointer dereference with empty external parameter entity content.

libexpat before 2.7.5 allows a NULL pointer dereference with empty external parameter entity content.

▾ Sunlitlibexpat project · libexpatEPSS 0.17%via CVEORG
CVE-2026-32778Low· 2.9
7mo ago

libexpat before 2.7.5 allows a NULL pointer dereference in the function setContext on retry after an earlier ouf-of-memory condition.

libexpat before 2.7.5 allows a NULL pointer dereference in the function setContext on retry after an earlier ouf-of-memory condition.

▾ Sunlitlibexpat project · libexpatEPSS 0.17%via CVEORG
CVE-2025-66382Low· 2.9
11mo ago

In libexpat through 2.7.3, a crafted file with an approximate size of 2 MiB can lead to dozens of seconds of processing time.

In libexpat through 2.7.3, a crafted file with an approximate size of 2 MiB can lead to dozens of seconds of processing time.

▾ Sunlitlibexpat project · libexpatEPSS 0.20%via CVEORG
CVE-2025-59375High· 7.5
1y ago

libexpat in Expat before 2.7.2 allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing.

libexpat in Expat before 2.7.2 allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing.

▾ Twilightlibexpat project · libexpatEPSS 1.4%via CVEORG
CVE-2024-8176High· 7.5PoC
1y ago

A stack overflow vulnerability exists in the libexpat library due to the way it handles recursive entity expansion in XML documents

A stack overflow vulnerability exists in the libexpat library due to the way it handles recursive entity expansion in XML documents. When parsing an XML document with deeply nested entity references, libexpat can be forced to recurse ind…

▾ MidnightRed Hat · libexpatEPSS 1.4%via NVD
CVE-2024-50602Medium· 5.9PoC
2y ago

An issue was discovered in libexpat before 2.6.4

An issue was discovered in libexpat before 2.6.4. There is a crash within the XML_ResumeParser function because XML_StopParser can stop/suspend an unstarted parser.

▾ Twilightnetapp · active_iq_unified_managerEPSS 1.1%via NVD
CVE-2024-28757High· 7.5PoC
2y ago

libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate).

libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate).

▾ Midnightlibexpat_project · libexpatEPSS 2.0%via NVD
CVE-2023-52426Medium· 5.5
2y ago

libexpat through 2.5.0 allows recursive XML Entity Expansion if XML_DTD is undefined at compile time.

libexpat through 2.5.0 allows recursive XML Entity Expansion if XML_DTD is undefined at compile time.

▾ Sunlitlibexpat_project · libexpatEPSS 0.39%via NVD
CVE-2023-52425High· 7.5
2y ago

libexpat through 2.5.0 allows a denial of service (resource consumption) because many full reparsings are required in the case of a large token for which multiple buffer fills are needed.

libexpat through 2.5.0 allows a denial of service (resource consumption) because many full reparsings are required in the case of a large token for which multiple buffer fills are needed.

▾ Twilightlibexpat_project · libexpatEPSS 2.1%via NVD
CVE-2022-43680High· 7.5PoC
4y ago

In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.

In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.

▾ Midnightlibexpat_project · libexpatEPSS 3.2%via NVD
CVE-2022-40674High· 8.1
4y ago

libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.

libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.

▾ Twilightlibexpat_project · libexpatEPSS 2.3%via NVD
CVE-2022-25315Critical· 9.8PoC
4y ago

In Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames.

In Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames.

▾ Abyssallibexpat_project · libexpatEPSS 4.8%via NVD
CVE-2022-25314High· 7.5PoC
4y ago

In Expat (aka libexpat) before 2.4.5, there is an integer overflow in copyString.

In Expat (aka libexpat) before 2.4.5, there is an integer overflow in copyString.

▾ Midnightlibexpat_project · libexpatEPSS 4.8%via NVD
CVE-2022-25313Medium· 6.5PoC
4y ago

In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack exhaustion in build_model via a large nesting depth in the DTD element.

In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack exhaustion in build_model via a large nesting depth in the DTD element.

▾ Twilightlibexpat_project · libexpatEPSS 3.3%via NVD
CVE-2022-25236Critical· 9.8PoC
4y ago

xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs.

xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs.

▾ Abyssallibexpat_project · libexpatEPSS 35%via NVD
CVE-2022-25235Critical· 9.8PoC
4y ago

xmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain validation of encoding, such as checks for whether a UTF-8 character is valid in a certain context.

xmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain validation of encoding, such as checks for whether a UTF-8 character is valid in a certain context.

▾ Abyssallibexpat_project · libexpatEPSS 5.0%via NVD
CVE-2022-23990High· 7.5PoC
4y ago

Expat (aka libexpat) before 2.4.4 has an integer overflow in the doProlog function.

Expat (aka libexpat) before 2.4.4 has an integer overflow in the doProlog function.

▾ Midnightlibexpat_project · libexpatEPSS 4.7%via NVD
libexpat vulnerabilities (CVEs) · VulnSea