VYPR

Libexpat

by Libexpat Project

Source repositories

CVEs (78)

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

  • CVE-2026-56409MedJun 21, 2026
    risk 0.35cvss 6.5epss 0.00

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

  • 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-2012-6702MedJun 16, 2016
    risk 0.32cvss 5.9epss 0.02

    Expat, when used in a parser that has not called XML_SetHashSalt or passed it a seed of 0, makes it easier for context-dependent attackers to defeat cryptographic protection mechanisms via vectors involving use of the srand function.

  • CVE-2026-118370MedOct 28, 2026
    risk 0.31cvss 5.9epss 0.01

    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 with a start tag carrying over 2^30…

  • CVE-2026-117610MedOct 28, 2026
    risk 0.31cvss 5.9epss 0.01

    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 non-final first parse on an external…

  • CVE-2026-113351MedOct 20, 2026
    risk 0.31cvss 5.9epss 0.00

    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 same reset parser fail with…

  • CVE-2026-102633MedSep 29, 2026
    risk 0.31cvss 5.9epss 0.00

    libexpat versions 2.7.2 through 2.8.5 contain an integer overflow vulnerability in expat_realloc() function on 32-bit platforms when computing allocation sizes. Attackers supplying malicious XML to applications parsing with vulnerable libexpat can cause heap buffer overflow,…

  • CVE-2026-76956MedAug 20, 2026
    risk 0.31cvss 5.9epss 0.00

    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-128241MedNov 13, 2026
    risk 0.29cvss 4.4epss 0.00

    The xmlwf tool in libexpat through 2.10.0 contains a symlink following vulnerability because -d output mode opens files with fopen("wb"), which follows symbolic links. Local attackers with write access to the output directory can plant a symlink at the expected output name to…

  • CVE-2026-76957MedAug 20, 2026
    risk 0.25cvss 4.9epss 0.00

    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-56412MedJun 21, 2026
    risk 0.25cvss 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…