<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-28T09:21:45.929461+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-53539</id>
    <title>CVE-2026-53539 — Python-Multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service</title>
    <updated>2026-09-28T09:21:45.930927+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Kludex python-multipart</p>
<p>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 &amp;, and only when no &amp; existed anywhere ahead did it fall back to scanning for ;. For a body that uses ; as the separator and contains no &amp;, every field iteration performed a full failed &amp; 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 body of the form a;a;a;... and cause the parser to spend seconds of CPU per request. A handful of concurrent requests can exhaust worker processes. This vulnerability is fixed in 0.0.30.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-53539"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-5rvq-cxj2-64vf</id>
    <title>GHSA-5rvq-cxj2-64vf — python-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service</title>
    <updated>2026-09-28T09:21:45.931001+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: python-multipart</p>
<p>### Summary</p>
<p>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 `&amp;`, and only when no `&amp;` existed anywhere ahead did it fall back to scanning for `;`. For a body that uses `;` as the separator and contains no `&amp;`, every field iteration performed a full failed `&amp;` 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.</p>
<p>An attacker can submit a small crafted body of the form `a;a;a;...` and cause the parser to spend seconds of CPU per request. A handful of concurrent requests can exhaust worker processes.</p>
<p>### Details</p>
<p>In `python_multipart/multipart.py`, both the `FIELD_NAME` and `FIELD_DATA` states located the next separator like this:</p>
<p>```python
sep_pos = data.find(b"&amp;", i)
if sep_pos == -1:
    sep_pos = data.find(b";", i)
```</p>
<p>`data.find(b"&amp;", i)` scans from `i` to the end of the buffer and returns `-1` only when there is no `&amp;` anywhere in the remainder. For a `;` separated body with no `&amp;`, this failed full buffer scan repeats once per field, making parsing quadratic in the body length.</p>
<p>For example, a 1 MiB url encoded body consisting of `a;` repeated ~500,000 times, submitted with `Content-Type: application/x-www-form-urlencoded`, causes the parser to perform on the order of 10^11 byte comparisons, consuming several seconds of C…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-5rvq-cxj2-64vf"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/pysec-2026-3036</id>
    <title>PYSEC-2026-3036 — python-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service</title>
    <updated>2026-09-28T09:21:45.931053+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: python-multipart</p>
<p>### Summary</p>
<p>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 `&amp;`, and only when no `&amp;` existed anywhere ahead did it fall back to scanning for `;`. For a body that uses `;` as the separator and contains no `&amp;`, every field iteration performed a full failed `&amp;` 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.</p>
<p>An attacker can submit a small crafted body of the form `a;a;a;...` and cause the parser to spend seconds of CPU per request. A handful of concurrent requests can exhaust worker processes.</p>
<p>### Details</p>
<p>In `python_multipart/multipart.py`, both the `FIELD_NAME` and `FIELD_DATA` states located the next separator like this:</p>
<p>```python
sep_pos = data.find(b"&amp;", i)
if sep_pos == -1:
    sep_pos = data.find(b";", i)
```</p>
<p>`data.find(b"&amp;", i)` scans from `i` to the end of the buffer and returns `-1` only when there is no `&amp;` anywhere in the remainder. For a `;` separated body with no `&amp;`, this failed full buffer scan repeats once per field, making parsing quadratic in the body length.</p>
<p>For example, a 1 MiB url encoded body consisting of `a;` repeated ~500,000 times, submitted with `Content-Type: application/x-www-form-urlencoded`, causes the parser to perform on the order of 10^11 byte comparisons, consuming several seconds of C…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/pysec-2026-3036"/>
  </entry>
</feed>
