VYPR

Vendor CVEs

Libexpat Project

All CVEs

78 total · sorted by risk
  • CVE-2022-25236CriFeb 16, 2022
    risk 0.67cvss 9.8epss 0.35

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

  • CVE-2024-45492CriAug 30, 2024
    risk 0.64cvss 9.8epss 0.01

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

  • CVE-2024-45491CriAug 30, 2024
    risk 0.64cvss 9.8epss 0.01

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

  • CVE-2022-25315CriFeb 18, 2022
    risk 0.64cvss 9.8epss 0.05

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

  • CVE-2022-25235CriFeb 16, 2022
    risk 0.64cvss 9.8epss 0.05

    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.

  • CVE-2022-23852CriJan 24, 2022
    risk 0.64cvss 9.8epss 0.05

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

  • CVE-2022-22824CriJan 10, 2022
    risk 0.64cvss 9.8epss 0.04

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

  • CVE-2022-22823CriJan 10, 2022
    risk 0.64cvss 9.8epss 0.04

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

  • CVE-2022-22822CriJan 10, 2022
    risk 0.64cvss 9.8epss 0.05

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

  • CVE-2021-45960HigJan 1, 2022
    risk 0.58cvss 8.8epss 0.05

    In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes, or only freeing memory).

  • CVE-2016-0718CriMay 26, 2016
    risk 0.58cvss 9.8epss 0.13

    Expat allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a malformed input document, which triggers a buffer overflow.

  • CVE-2022-22827HigJan 10, 2022
    risk 0.57cvss 8.8epss 0.03

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

  • CVE-2022-22826HigJan 10, 2022
    risk 0.57cvss 8.8epss 0.03

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

  • CVE-2022-22825HigJan 10, 2022
    risk 0.57cvss 8.8epss 0.03

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

  • CVE-2016-9063CriJun 11, 2018
    risk 0.57cvss 9.8epss 0.05

    An integer overflow during the parsing of XML using the Expat library. This vulnerability affects Firefox < 50.

  • CVE-2016-4472HigJun 30, 2016
    risk 0.54cvss 8.1epss 0.12

    The overflow protection in Expat is removed by compilers with certain optimization settings, which allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via crafted XML data. NOTE: this vulnerability exists because of an incomplete fix…

  • CVE-2022-40674HigSep 14, 2022
    risk 0.53cvss 8.1epss 0.02

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

  • CVE-2021-46143HigJan 6, 2022
    risk 0.53cvss 8.1epss 0.04

    In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize.

  • CVE-2017-11742HigJul 30, 2017
    risk 0.51cvss 7.8epss 0.00

    The writeRandomBytes_RtlGenRandom function in xmlparse.c in libexpat in Expat 2.2.1 and 2.2.2 on Windows allows local users to gain privileges via a Trojan horse ADVAPI32.DLL in the current working directory because of an untrusted search path, aka DLL hijacking.

  • CVE-2024-45490HigAug 30, 2024
    risk 0.49cvss 7.5epss 0.02

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

  • CVE-2024-28757HigMar 10, 2024
    risk 0.49cvss 7.5epss 0.02

    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-52425HigFeb 4, 2024
    risk 0.49cvss 7.5epss 0.02

    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.

  • CVE-2022-43680HigOct 24, 2022
    risk 0.49cvss 7.5epss 0.03

    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.

  • CVE-2022-25314HigFeb 18, 2022
    risk 0.49cvss 7.5epss 0.05

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

  • CVE-2022-23990HigJan 26, 2022
    risk 0.49cvss 7.5epss 0.05

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

  • CVE-2019-15903HigSep 4, 2019
    risk 0.49cvss 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.49cvss 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).

  • CVE-2017-9233HigJul 25, 2017
    risk 0.49cvss 7.5epss 0.09

    XML External Entity vulnerability in libexpat 2.2.0 and earlier (Expat XML Parser Library) allows attackers to put the parser in an infinite loop using a malformed external entity definition from an external DTD.

  • CVE-2016-5300HigJun 16, 2016
    risk 0.49cvss 7.5epss 0.07

    The XML parser in Expat does not use sufficient entropy for hash initialization, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted identifiers in an XML document. NOTE: this vulnerability exists because of an incomplete fix for…

  • CVE-2026-77214HigOct 7, 2026
    risk 0.46cvss 8.2epss 0.00

    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 allocated buffer size, so repeated…

  • CVE-2022-25313MedFeb 18, 2022
    risk 0.43cvss 6.5epss 0.03

    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.

  • CVE-2026-115506HigOct 22, 2026
    risk 0.42cvss 7.5epss 0.00

    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 a large DTD and nested entity…

  • CVE-2026-93990HigSep 19, 2026
    risk 0.42cvss 7.5epss 0.00

    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 consume the following code unit, causing…

  • CVE-2026-76641HigAug 20, 2026
    risk 0.42cvss 7.5epss 0.00

    Expat through 2.8.3 contains an out-of-bounds read vulnerability that allows attackers to trigger memory corruption by processing XML with external entity parsers created via XML_ExternalEntityParserCreate. A struct size mismatch between ELEMENT_TYPE members causes storeAtts to…

  • CVE-2026-66046HigAug 18, 2026
    risk 0.42cvss 7.5epss 0.01

    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…

  • CVE-2026-7210HigMay 11, 2026
    risk 0.42cvss 7.5epss 0.01

    `xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding protection, which allows a crafted XML document to trigger hash flooding.\r\n\r\nFully mitigating this vulnerability requires both updating libexpat to 2.8.0 or later and applying…

  • CVE-2025-59375HigSep 15, 2025
    risk 0.42cvss 7.5epss 0.01

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

  • CVE-2024-8176HigMar 14, 2025
    risk 0.42cvss 7.5epss 0.01

    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 indefinitely, exhausting the stack space and…

  • CVE-2026-56411MedJun 21, 2026
    risk 0.38cvss 6.9epss 0.00

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

  • CVE-2026-56410MedJun 21, 2026
    risk 0.38cvss 6.9epss 0.00

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

  • CVE-2026-56408MedJun 21, 2026
    risk 0.38cvss 6.9epss 0.00

    libexpat before 2.8.2 has an integer overflow in copyString.

  • CVE-2026-56407MedJun 21, 2026
    risk 0.38cvss 6.9epss 0.00

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

  • CVE-2026-56406MedJun 21, 2026
    risk 0.38cvss 6.9epss 0.00

    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-56405MedJun 21, 2026
    risk 0.38cvss 6.9epss 0.00

    libexpat before 2.8.2 has an integer overflow in getAttributeId.

  • CVE-2026-56404MedJun 21, 2026
    risk 0.38cvss 6.9epss 0.00

    libexpat before 2.8.2 has an integer overflow in addBinding.

  • CVE-2026-56403MedJun 21, 2026
    risk 0.38cvss 6.9epss 0.00

    libexpat before 2.8.2 has an integer overflow in storeAtts.

  • 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-2024-50602MedOct 27, 2024
    risk 0.38cvss 5.9epss 0.01

    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-2023-52426MedFeb 4, 2024
    risk 0.36cvss 5.5epss 0.00

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

Page 1 of 2