cve.bz

libexpat project libexpat vulnerabilities, newest first

Filter

By year: all 2026 2025 2024 2023 2022 2021

  1. 8.2CVE-2026-118370EPSS 0.4%

    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 w…

  2. 8.2CVE-2026-117610EPSS 0.4%

    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 empty …

  3. 8.7CVE-2026-115506EPSS 0.4%

    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 with…

  4. 8.2CVE-2026-113351EPSS 0.5%

    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 sa…

  5. 7.8CVE-2026-76957EPSS 0.1%

    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.

  6. 7.5CVE-2026-76956EPSS 0.3%

    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.

  7. 8.7CVE-2026-66046EPSS 0.9%

    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) line…

  8. 5.9CVE-2026-56412EPSS 0.2%

    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 iss…

  9. 6.9CVE-2026-56411EPSS 0.1%

    xmlwf in libexpat before 2.8.2 has an integer overflow in endDoctypeDecl via NOTATION declarations.

  10. 6.9CVE-2026-56410EPSS 0.1%

    xmlwf in libexpat before 2.8.2 has an integer overflow in resolveSystemId.

  11. 6.5CVE-2026-56409EPSS 0.1%

    xmlwf in libexpat before 2.8.2 has an integer overflow for the output filename when -d outputDir is used.

  12. 6.9CVE-2026-56408EPSS 0.1%

    libexpat before 2.8.2 has an integer overflow in copyString.

  13. 6.9CVE-2026-56407EPSS 0.2%

    libexpat before 2.8.2 has an integer overflow in doProlog that is related to storeEntityValue and entity textLen.

  14. 6.9CVE-2026-56406EPSS 0.2%

    libexpat before 2.8.2 has an integer overflow in XML_ParseBuffer because it lacked a check that was present in XML_Parse.

  15. 6.9CVE-2026-56405EPSS 0.1%

    libexpat before 2.8.2 has an integer overflow in getAttributeId.

  16. 6.9CVE-2026-56404EPSS 0.1%

    libexpat before 2.8.2 has an integer overflow in addBinding.

  17. 6.9CVE-2026-56403EPSS 0.2%

    libexpat before 2.8.2 has an integer overflow in storeAtts.

  18. 6.9CVE-2026-56132EPSS 0.2%

    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.

  19. 4.9CVE-2026-56131EPSS 0.2%

    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).

  20. 5.9CVE-2026-50219EPSS 0.2%

    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,

  21. 7.5CVE-2026-45186EPSS 0.5%

    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.

  22. 2.9CVE-2026-41080EPSS 0.4%

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

  23. 5.5CVE-2026-32778EPSS 0.2%

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

  24. 5.5CVE-2026-32777EPSS 0.2%

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

  25. 5.5CVE-2026-32776EPSS 0.2%

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

  26. 7.8CVE-2026-25210EPSS 0.2%

    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.

  27. 2.5CVE-2026-24515EPSS 0.2%

    In libexpat before 2.7.4, XML_ExternalEntityParserCreate does not copy unknown encoding handler user data.

  28. 5.5CVE-2025-66382EPSS 0.2%

    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.

  29. 7.5CVE-2025-59375EPSS 1.5%

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

  30. 5.9CVE-2024-50602EPSS 1.1%

    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.

  31. 9.8CVE-2024-45492EPSS 1.4%

    An issue was discovered in libexpat before 2.6.3. nextScaffoldPart in xmlparse.c can have an integer overflow for m_groupSize on 32-bit platforms (where UINT_MAX equals SIZE_MAX).

  32. 9.8CVE-2024-45491EPSS 1.1%

    An issue was discovered in libexpat before 2.6.3. dtdCopy in xmlparse.c can have an integer overflow for nDefaultAtts on 32-bit platforms (where UINT_MAX equals SIZE_MAX).

  33. 7.5CVE-2024-45490EPSS 1.7%

    An issue was discovered in libexpat before 2.6.3. xmlparse.c does not reject a negative length for XML_ParseBuffer.

  34. 7.5CVE-2024-28757EPSS 2.0%

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

  35. 5.5CVE-2023-52426EPSS 0.4%

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

  36. 7.5CVE-2023-52425EPSS 2.1%

    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.

  37. 7.5CVE-2022-43680EPSS 3.2%

    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.

  38. 8.1CVE-2022-40674EPSS 2.4%

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

  39. 9.8CVE-2022-25315EPSS 4.8%

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

  40. 7.5CVE-2022-25314EPSS 4.8%

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

  41. 6.5CVE-2022-25313EPSS 3.3%

    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.

  42. 9.8CVE-2022-25236EPSS 35%

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

  43. 9.8CVE-2022-25235EPSS 5.0%

    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.

  44. 7.5CVE-2022-23990EPSS 4.7%

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

  45. 9.8CVE-2022-23852EPSS 5.1%

    Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer, for configurations with a nonzero XML_CONTEXT_BYTES.

  46. 8.8CVE-2022-22827EPSS 3.2%

    storeAtts in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

  47. 8.8CVE-2022-22826EPSS 3.2%

    nextScaffoldPart in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

  48. 8.8CVE-2022-22825EPSS 3.0%

    lookup in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

  49. 9.8CVE-2022-22824EPSS 3.9%

    defineAttribute in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

  50. 9.8CVE-2022-22823EPSS 3.9%

    build_model in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.