CVE Intelligence

Libexpat Project Libexpat vulnerabilities

🔔 Create alert RSS Version checker

Published CVEs affecting Libexpat Project Libexpat: 48 record(s), with affected versions and fixes.
cpe:2.3:a:libexpat_project:libexpat

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.
CVE-2024-50602 Medium · 5.9 CWE-754 Oct 27, 2024
An issue was discovered in libexpat before 2.6.4. There is a crash within the XML_ResumeParser...
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.
CVE-2024-28757 High · 7.5 CWE-776 Mar 10, 2024
libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of...
libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate).
CVE-2023-52426 Medium · 5.5 CWE-776 Feb 4, 2024
libexpat through 2.5.0 allows recursive XML Entity Expansion if XML_DTD is undefined at compile...
libexpat through 2.5.0 allows recursive XML Entity Expansion if XML_DTD is undefined at compile time.
CVE-2023-52425 High · 7.5 CWE-400 Feb 4, 2024
libexpat through 2.5.0 allows a denial of service (resource consumption) because many full...
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.