p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in python-multipart

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für python-multipart: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 9

  1. CVE-2026-53540

    Niedrig · CVSS 3.7EPSS 0,34%Korrektur verfügbar

    Python-Multipart: Negative Content-Length in parse_form buffers the entire body in memory

    Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.31, parse_form() did not validate the Content-Length header before using it to bound its chunked read of the request body. A negative Content-Length turned the bounded read into a read-until-EOF, so the entire body was loaded into memory in a single read instead of in fixed-size chunks. This vulnerability is fixed in 0.0.31.

    • Auf 0.0.32-1 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2026-53537

    Niedrig · CVSS 3.7EPSS 0,29%Korrektur verfügbar

    Python-Multipart: Content-Disposition parameter smuggling via RFC 2231/5987 extended parameters

    Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, parse_options_header parsed Content-Disposition (and Content-Type) headers with email.message.Message, which transparently applies RFC 2231/5987 decoding. The extended parameter syntax (filename*=charset'lang'value, name*=..., and the filename*0/filename*1 continuation form) is decoded and surfaced under the bare filename/name key, and overrides the plain parameter when both are present. RFC 7578 §4.2 explicitly forbids the filename* form in multipart/form-data. Components that follow RFC 7578, or that do not implement RFC 2231/5987 decoding for multipart/form-data

    • Auf 0.0.32-1 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2026-53538

    Niedrig · CVSS 3.7EPSS 0,26%Korrektur verfügbar

    Python-Multipart: Semicolon treated as querystring field separator enables parameter smuggling

    Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, QuerystringParser treated ; as a field separator in application/x-www-form-urlencoded bodies, in addition to &. The WHATWG URL standard, modern browsers, and Python's urllib.parse (since the CVE-2021-23336 fix) treat only & as a separator. This creates a parser differential: the same bytes are tokenized into different fields than a WHATWG compliant intermediary would produce, allowing an attacker to smuggle extra form fields past an upstream body inspecting component. This vulnerability is fixed in 0.0.30.

    • Auf 0.0.32-1 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2026-53539

    Hoch · CVSS 7.5EPSS 0,46%Korrektur verfügbar

    Python-Multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service

    Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, when parsing application/x-www-form-urlencoded bodies, QuerystringParser located the field separator with a two step lookup: it first scanned the entire remaining buffer for &, and only when no & existed anywhere ahead did it fall back to scanning for ;. For a body that uses ; as the separator and contains no &, every field iteration performed a full failed & scan over the entire remaining buffer before locating the nearby ;. With N semicolon separated fields in a chunk of size B, this yields O(B^2) byte comparisons per chunk. An attacker can submit a small crafted

    • Auf 0.0.32-1 aktualisieren
    Veröffentlicht Aktualisiert
  5. CVE-2026-42561

    Hoch · CVSS 7.5EPSS 0,74%Korrektur verfügbar

    Python-Multipart: Denial of Service via unbounded multipart part headers

    Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.27, python-multipart has a denial of service vulnerability in multipart part header parsing. When parsing multipart/form-data, MultipartParser previously had no limit on the number of part headers or the size of an individual part header. An attacker could send a request with either many repeated headers without terminating the header block or a single very large header value, causing excessive CPU work before request rejection or completion. This vulnerability is fixed in 0.0.27.

    • Auf 0.0.32-1 aktualisieren
    Veröffentlicht Aktualisiert
  6. CVE-2026-40347

    Mittel · CVSS 5.3EPSS 0,35%Korrektur verfügbar

    Python-Multipart affected by Denial of Service via large multipart preamble or epilogue data

    Python-Multipart is a streaming multipart parser for Python. Versions prior to 0.0.26 have a denial of service vulnerability when parsing crafted `multipart/form-data` requests with large preamble or epilogue sections. Upgrade to version 0.0.26 or later, which skips ahead to the next boundary candidate when processing leading CR/LF data and immediately discards epilogue data after the closing boundary.

    • Auf 0.0.26-1 aktualisieren
    Veröffentlicht Aktualisiert
  7. CVE-2026-24486

    Hoch · CVSS 8.6EPSS 2,21%Öffentlicher ExploitKorrektur verfügbar

    Python-Multipart has Arbitrary File Write via Non-Default Configuration

    Python-Multipart is a streaming multipart parser for Python. Prior to version 0.0.22, a Path Traversal vulnerability exists when using non-default configuration options `UPLOAD_DIR` and `UPLOAD_KEEP_FILENAME=True`. An attacker can write uploaded files to arbitrary locations on the filesystem by crafting a malicious filename. Users should upgrade to version 0.0.22 to receive a patch or, as a workaround, avoid using `UPLOAD_KEEP_FILENAME=True` in project configurations.

    • Auf 0.0.20-1.1 aktualisieren
    Veröffentlicht Aktualisiert
  8. CVE-2024-53981

    Hoch · CVSS 7.5EPSS 0,64%Korrektur verfügbar

    python-multipart has a Denial of service (DoS) via deformation `multipart/form-data` boundary

    python-multipart is a streaming multipart parser for Python. When parsing form data, python-multipart skips line breaks (CR \r or LF \n) in front of the first boundary and any tailing bytes after the last boundary. This happens one byte at a time and emits a log event each time, which may cause excessive logging for certain inputs. An attacker could abuse this by sending a malicious request with lots of data before the first or after the last boundary, causing high CPU load and stalling the processing thread for a significant amount of time. In case of ASGI application, this could stall the event loop and prevent other requests from being pro

    • Auf 0.0.20-1 aktualisieren
    Veröffentlicht Aktualisiert
  9. CVE-2024-24762

    Hoch · CVSS 7.5EPSS 1,52%Korrektur verfügbar

    python-multipart vulnerable to content-type header Regular expression Denial of Service

    `python-multipart` is a streaming multipart parser for Python. When using form data, `python-multipart` uses a Regular Expression to parse the HTTP `Content-Type` header, including options. An attacker could send a custom-made `Content-Type` option that is very difficult for the RegEx to process, consuming CPU resources and stalling indefinitely (minutes or more) while holding the main event loop. This means that process can't handle any more requests, leading to regular expression denial of service. This vulnerability has been patched in version 0.0.7.

    • Auf 0.0.9-1 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →