VYPR

Libexpat

by Libexpat Project

Source repositories

CVEs (63)

  • CVE-2026-56132MedJun 19, 2026
    risk 0.38cvss 6.9epss 0.00

    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-25210MedJan 30, 2026
    risk 0.38cvss 6.9epss 0.00

    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-72522MedAug 10, 2026
    risk 0.33cvss 6.2epss 0.00

    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-56412MedJun 21, 2026
    risk 0.32cvss 4.9epss 0.00

    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…

  • CVE-2026-56131MedJun 19, 2026
    risk 0.25cvss 4.9epss 0.00

    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-50219MedJun 4, 2026
    risk 0.25cvss 4.9epss 0.00

    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-32777MedMar 16, 2026
    risk 0.19cvss 4.0epss 0.00

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

  • CVE-2026-32776MedMar 16, 2026
    risk 0.19cvss 4.0epss 0.00

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

  • CVE-2025-66382LowNov 28, 2025
    risk 0.19cvss 2.9epss 0.00

    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-2026-45186LowMay 10, 2026
    risk 0.12cvss 2.9epss 0.00

    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-41080LowApr 16, 2026
    risk 0.12cvss 2.9epss 0.00

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

  • CVE-2026-32778LowMar 16, 2026
    risk 0.12cvss 2.9epss 0.00

    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-24515LowJan 23, 2026
    risk 0.12cvss 2.9epss 0.00

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

  • CVE-2022-25236CriFeb 16, 2022
    risk 0.03cvss 9.8epss 0.36

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

  • CVE-2015-1283Jul 23, 2015
    risk 0.02cvss epss 0.19

    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…

  • CVE-2013-0340Jan 21, 2014
    risk 0.02cvss epss 0.19

    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…

  • CVE-2009-3560Dec 4, 2009
    risk 0.02cvss epss 0.24

    The big2_toUtf8 function in lib/xmltok.c in libexpat in Expat 2.0.1, as used in the XML-Twig module for Perl, allows context-dependent attackers to cause a denial of service (application crash) via an XML document with malformed UTF-8 sequences that trigger a buffer over-read,…

  • CVE-2009-3720Nov 3, 2009
    risk 0.02cvss epss 0.28

    The updatePosition function in lib/xmltok_impl.c in libexpat in Expat 2.0.1, as used in Python, PyXML, w3c-libwww, and other software, allows context-dependent attackers to cause a denial of service (application crash) via an XML document with crafted UTF-8 sequences that…

  • CVE-2019-15903HigSep 4, 2019
    risk 0.01cvss 7.5epss 0.07

    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.

  • CVE-2018-20843HigJun 24, 2019
    risk 0.01cvss 7.5epss 0.07

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