p PatchFirst

PatchFirst · Latest vulnerabilities

expat vulnerabilities

Vulnerabilities published for expat in the last 30 days: 4. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 50

  1. USN-9196-1

    UpdateNot ratedFix available

    expat vulnerabilities

    It was discovered that Expat did not properly validate UTF-16 surrogate pairs. An attacker could possibly use this issue to pass malformed characters to applications using Expat, resulting in unexpected behavior. (CVE-2026-93990) It was discovered that Expat incorrectly computed memory allocation sizes on 32-bit platforms, leading to an integer overflow. An attacker could possibly use this issue to cause Expat to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-102633) It was discovered that Expat did not properly validate buffer lengths un

    • Update to 2.6.1-2ubuntu0.7
    Published Updated
  2. CVE-2026-134703

    Medium · CVSS 6.3EPSS 0.52%Fix available

    libexpat through 2.10.0 Isolated High Surrogate via UTF-16 Conversion

    libexpat through 2.10.0 contains an improper Unicode handling vulnerability in DEFINE_UTF16_TO_UTF16 conversion functions in xmltok.c that can split valid surrogate pairs when output space is limited. In XML_UNICODE builds parsing non-native byte order UTF-16 input, attackers can supply crafted documents that deliver lone high surrogates to character data and default handlers.

    • Update to 2.6.1-2ubuntu0.7
    Published Updated
  3. CVE-2026-128241

    Medium · CVSS 4.1EPSS 0.15%Fix available

    libexpat xmlwf through 2.10.0 Symlink Following via -d Output Directory

    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 truncate or overwrite files writable by the xmlwf user.

    • Update to 2.6.1-2ubuntu0.7
    Published Updated
  4. CVE-2026-124317

    Medium · CVSS 6.3EPSS 0.35%Fix available

    libexpat through 2.10.0 Out-of-Bounds Read via unknown_toUtf8 and unknown_toUtf16

    libexpat through 2.10.0 contains an out-of-bounds read vulnerability in unknown_toUtf8() and unknown_toUtf16() in xmltok.c when handling application-registered unknown encodings. Attackers can supply a document ending in a truncated multibyte sequence so the convert callback reads past the parse buffer, leaking adjacent memory or crashing applications.

    • Update to 2.6.1-2ubuntu0.7
    Published Updated
  5. CVE-2026-118370

    High · CVSS 8.2EPSS 0.51%Fix available

    libexpat through 2.9.0 Integer Overflow in storeAtts via attIndex and nPrefixes

    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 attributes to overflow attIndex and nPrefixes, crashing applications or corrupting heap memory.

    • Update to 2.6.1-2ubuntu0.7
    Published Updated
  6. CVE-2026-117610

    High · CVSS 8.2EPSS 0.54%Fix available

    libexpat through 2.9.0 NULL Pointer Dereference via External Entity Subparser

    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 entity subparser, causing a later parse to crash the application.

    • Update to 2.6.1-2ubuntu0.7
    Published Updated
  7. CVE-2026-115506

    High · CVSS 8.7EPSS 0.47%Fix available

    libexpat through 2.9.0 Denial of Service via Billion Laughs Detection Delay

    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 expansions to consume tens of seconds of CPU per parse.

    • Update to 2.6.1-2ubuntu0.7
    Published Updated
  8. CVE-2026-113351

    High · CVSS 8.2EPSS 0.49%Fix available

    libexpat 2.7.2 through 2.9.0 Denial of Service via XML_ParserReset

    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 XML_ERROR_NO_MEMORY until it is recreated.

    • Update to 2.6.1-2ubuntu0.7
    Published Updated
  9. CVE-2026-77214

    High · CVSS 8.3EPSS 0.43%Fix available

    libexpat Heap Buffer Over-read in xmlparse.c via XML_ParseBuffer

    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 XML_ParseBuffer calls move m_bufferEnd past the end of the heap allocation and subsequent parsing reads out of bounds. Reaching this path requires a parse buffer to already be present; otherwise XML_ParseBuffer returns XML_ERROR_NO_BUFFER. A buffer is present after a prior call to XML_GetBuffer, either directly (the common case) or indirectly through a prior XML_Parse call tha

    • Update to 2.6.1-2ubuntu0.7
    Published Updated
  10. CVE-2026-102633

    High · CVSS 8.2EPSS 0.4%Fix available

    libexpat 2.7.2 through 2.8.5 Integer Overflow in expat_realloc

    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, memory corruption, or denial of service.

    • Update to 2.6.1-2ubuntu0.7
    Published Updated
  11. USN-8813-1

    UpdateNot ratedFix available

    expat vulnerabilities

    It was discovered that Expat did not correctly handle certain integer arithmetic. An attacker could possibly use this issue to cause a denial of service. (CVE-2026-56406, CVE-2026-56407, CVE-2026-56409, CVE-2026-56410, CVE-2026-56411) It was discovered that Expat did not correctly track handler call depth. An attacker could possibly use this issue to cause Expat to crash or execute arbitrary code. (CVE-2026-56131) It was discovered that Expat did not correctly handle certain memory operations. An attacker could possibly use this issue to cause Expat to crash or execute arbitrary code. (CVE-2026-56132) It was discovered that Expat did not

    • Update to 2.6.1-2ubuntu0.6
    Published Updated
  12. USN-8790-1

    UpdateNot ratedFix available

    expat vulnerabilities

    It was discovered that Expat could be made to allocate large amounts of memory when parsing a small crafted document. An attacker could possibly use this issue to cause Expat to consume resources, leading to a denial of service. This issue was only addressed in Ubuntu 24.04 LTS. (CVE-2025-59375) It was discovered that Expat incorrectly handled empty external parameter entity content. An attacker could possibly use this issue to cause Expat to crash, resulting in a denial of service. (CVE-2026-32776) It was discovered that Expat incorrectly handled certain DTD content. An attacker could possibly use this issue to cause Expat to enter an infi

    • Update to 2.6.1-2ubuntu0.5
    Published Updated
  13. CVE-2026-93990

    High · CVSS 8.7EPSS 0.41%Fix available

    Expat before 2.8.5 Malformed UTF-16 Acceptance via Unchecked Surrogate

    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 Expat to pass unpaired surrogates to applications built with XML_UNICODE and to silently replace input characters in other builds.

    • Update to 2.6.1-2ubuntu0.7
    Published Updated
  14. CVE-2026-76641

    High · CVSS 8.7EPSS 0.35%Fix available

    Expat Out-of-Bounds Read via dtdCopy

    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 read the attIndex member past allocated memory boundaries, resulting in failure to normalize whitespace in non-CDATA attributes or a wild pointer dereference causing a segfault. This vulnerability was introduced by the fix for CVE-2026-66046.

    • Update to 2.6.1-2ubuntu0.6
    Published Updated
  15. CVE-2026-66046

    High · CVSS 8.7EPSS 0.99%Fix available

    Expat Denial of Service via storeAtts() Quadratic Complexity

    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 determine CDATA status. A remote unauthenticated attacker can supply a single well-formed XML document of a few megabytes to an application parsing untrusted XML to cause excessive CPU consumption, resulting in denial of service without requiring authentication, external entity resolution, or non-default parser options.

    • Update to 2.6.1-2ubuntu0.6
    Published Updated
  16. CVE-2026-56412

    Medium · CVSS 4.9EPSS 0.19%Fix available

    CVE-2026-56412

    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.

    • Update to 2.6.1-2ubuntu0.5
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →