CVE Intelligence

Libexpat Project vulnerabilities

🔔 Create alert RSS

Published CVEs affecting Libexpat Project products: 52 record(s), with severity, exploitation and fixes.

Exploited only (KEV) →

CVE-2026-76957 High · 7.8 CWE-416 Aug 20, 2026
Use After Free in Libexpat Project Libexpat
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.
CVE-2026-76956 High · 7.5 CWE-394 Aug 20, 2026
In libexpat 2.8.2 and 2.8.3 before 2.8.4, misinterpretation of getentropy's return code…
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.
CVE-2026-66046 High · 7.5 CWE-407 Aug 18, 2026
Expat through 2.8.3 contains a denial of service vulnerability caused by quadratic…
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) linear scan of elementType->defaultAtts to determine CDATA status. A remote unauthenticated attacker can supply a single well-formed XML document of a few megabytes to an application parsing untrusted XML to cause excessive CPU consumption, resulting in denial of service without requiring authentication, external entity resolution, or non-default parser options.
CVE-2026-72522 Medium · 6.2 CWE-125 Aug 10, 2026
Out-of-bounds Read in Libexpat Project Libexpat
libexpat before 2.8.3 has an out-of-bounds read and resultant infinite loop because low surrogates are treated the same as high surrogates during Unicode processing in the *_toUtf16 functions.
CVE-2026-56412 Medium · 5.9 CWE-416 Jun 21, 2026
Use After Free in Libexpat Project Libexpat
libexpat before 2.8.2 does not consider XML_TOK_DATA_CHARS in doCdataSection and thus lacks handler call depth tracking for various calls from within handlers in cases of a policy violation. Thus, a use-after-free can occur. NOTE: this issue exists because of an incomplete fix for CVE-2026-50219.
CVE-2026-56411 Medium · 6.9 CWE-190 Jun 21, 2026
Integer Overflow or Wraparound in Libexpat Project Libexpat
xmlwf in libexpat before 2.8.2 has an integer overflow in endDoctypeDecl via NOTATION declarations.
CVE-2026-56410 Medium · 6.9 CWE-190 Jun 21, 2026
Integer Overflow or Wraparound in Libexpat Project Libexpat
xmlwf in libexpat before 2.8.2 has an integer overflow in resolveSystemId.
CVE-2026-56409 Medium · 6.5 CWE-190 Jun 21, 2026
Integer Overflow or Wraparound in Libexpat Project Libexpat
xmlwf in libexpat before 2.8.2 has an integer overflow for the output filename when -d outputDir is used.
CVE-2026-56408 Medium · 6.9 CWE-190 Jun 21, 2026
Integer Overflow or Wraparound in Libexpat Project Libexpat
libexpat before 2.8.2 has an integer overflow in copyString.
CVE-2026-56407 Medium · 6.9 CWE-190 Jun 21, 2026
Integer Overflow or Wraparound in Libexpat Project Libexpat
libexpat before 2.8.2 has an integer overflow in doProlog that is related to storeEntityValue and entity textLen.
CVE-2026-56406 Medium · 6.9 CWE-190 Jun 21, 2026
Integer Overflow or Wraparound in Libexpat Project Libexpat
libexpat before 2.8.2 has an integer overflow in XML_ParseBuffer because it lacked a check that was present in XML_Parse.
CVE-2026-56405 Medium · 6.9 CWE-190 Jun 21, 2026
Integer Overflow or Wraparound in Libexpat Project Libexpat
libexpat before 2.8.2 has an integer overflow in getAttributeId.
CVE-2026-56404 Medium · 6.9 CWE-190 Jun 21, 2026
Integer Overflow or Wraparound in Libexpat Project Libexpat
libexpat before 2.8.2 has an integer overflow in addBinding.
CVE-2026-56403 Medium · 6.9 CWE-190 Jun 21, 2026
Integer Overflow or Wraparound in Libexpat Project Libexpat
libexpat before 2.8.2 has an integer overflow in storeAtts.
CVE-2026-56132 Medium · 6.9 CWE-821 Jun 19, 2026
In libexpat before 2.8.2, there is a heap-based buffer overflow in doProlog in…
In libexpat before 2.8.2, there is a heap-based buffer overflow in doProlog in xmlparse.c because scaffold backing array reallocation is mishandled when there is data-structure sharing across parsers.
CVE-2026-56131 Medium · 4.9 CWE-416 Jun 19, 2026
Use After Free in Libexpat Project Libexpat
libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_ResumeParser from within handlers in cases of a policy violation. Thus, a use-after-free can occur (similar to the CVE-2026-50219 situation).
CVE-2026-50219 Medium · 5.9 CWE-416 Jun 4, 2026
Use After Free in Libexpat Project Libexpat
libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_GetBuffer, XML_Parse, XML_ParseBuffer, XML_ParserFree, or XML_ParserReset from within handlers in cases of a policy violation. Thus, a use-after-free can occur,
CVE-2026-45186 High · 7.5 CWE-407 May 10, 2026
In libexpat before 2.8.1, the computational complexity of attribute name collision…
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.
CVE-2026-41080 Low · 2.9 CWE-331 Apr 16, 2026
libexpat before 2.8.0 uses insufficient entropy, and thus hash flooding can occur via a…
libexpat before 2.8.0 uses insufficient entropy, and thus hash flooding can occur via a crafted XML document.
CVE-2026-32778 Medium · 5.5 CWE-476 Mar 16, 2026
NULL Pointer Dereference in Libexpat Project Libexpat
libexpat before 2.7.5 allows a NULL pointer dereference in the function setContext on retry after an earlier ouf-of-memory condition.
CVE-2026-32777 Medium · 5.5 CWE-835 Mar 16, 2026
Infinite Loop in Libexpat Project Libexpat
libexpat before 2.7.5 allows an infinite loop while parsing DTD content.
CVE-2026-32776 Medium · 5.5 CWE-476 Mar 16, 2026
NULL Pointer Dereference in Libexpat Project Libexpat
libexpat before 2.7.5 allows a NULL pointer dereference with empty external parameter entity content.
CVE-2026-25210 High · 7.8 CWE-190 Jan 30, 2026
Integer Overflow or Wraparound in Libexpat Project Libexpat
In libexpat before 2.7.4, the doContent function does not properly determine the buffer size bufSize because there is no integer overflow check for tag buffer reallocation.
CVE-2026-24515 Low · 2.5 CWE-476 Jan 23, 2026
NULL Pointer Dereference in Libexpat Project Libexpat
In libexpat before 2.7.4, XML_ExternalEntityParserCreate does not copy unknown encoding handler user data.
CVE-2025-66382 Medium · 5.5 CWE-407 Nov 28, 2025
In libexpat through 2.7.3, a crafted file with an approximate size of 2 MiB can lead to…
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.