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: 7

  1. CVE-2026-53540

    Niedrig · CVSS 3.7EPSS 0,34%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  2. CVE-2026-53537

    Niedrig · CVSS 3.7EPSS 0,29%Keine Korrektur veröffentlicht

    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

    Veröffentlicht Aktualisiert
  3. CVE-2026-53538

    Niedrig · CVSS 3.7EPSS 0,26%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  4. CVE-2026-53539

    Hoch · CVSS 7.5EPSS 0,46%Keine Korrektur veröffentlicht

    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

    Veröffentlicht Aktualisiert
  5. CVE-2026-42561

    Hoch · CVSS 7.5EPSS 0,74%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  6. CVE-2026-40347

    Mittel · CVSS 5.3EPSS 0,35%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  7. CVE-2026-24486

    Hoch · CVSS 8.6EPSS 2,21%Öffentlicher ExploitKeine Korrektur veröffentlicht

    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.

    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 →