# CVE-2024-47874: Starlette Denial of service (DoS) via multipart/form-data

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.40.0 (CNA); fix release not confirmed
- Status: published
- Published: 2024-10-15 · Modified: 2024-11-21
- Aliases: GHSA-f96h-pmfr-66vw, PYSEC-2026-1943, UBUNTU-CVE-2024-47874, DEBIAN-CVE-2024-47874, CGA-2hwr-xr95-r94f, CGA-5986-wvc3-7r59, CGA-68c5-9jxc-m26g, CGA-6cqj-vcf7-vjj4, CGA-83w7-q4mc-632w, CGA-869j-wv8g-cfv7, CGA-8w7w-2frv-pjj8, CGA-97pp-q339-97rj, CGA-9h9q-3j4w-w795, CGA-f7w8-895g-5ff5, CGA-ffj8-cjfw-mgfq, CGA-fp9v-hxhq-gmrq, CGA-fw85-6qf8-648q, CGA-j9v7-wc79-24vv, CGA-m22p-6wqw-2x4f, CGA-m7cq-9h96-pw32, CGA-p9q3-6rvx-q72v, CGA-q78m-6jfq-j4hw, CGA-r5f5-7m8p-p6hf, CGA-v39p-56cc-m3j7, CGA-w22q-vvm5-pgf3, CGA-wq56-mwq5-vj9w, SUSE-SU-2024:3719-1, openSUSE-SU-2024:14417-1, openSUSE-SU-2026:11626-1
- Record: https://cvemate.com/vulnerability/CVE-2024-47874 · JSON: https://cvemate.com/vulnerability/CVE-2024-47874/json

## Description

```text
Starlette is an Asynchronous Server Gateway Interface (ASGI) framework/toolkit. Prior to version 0.40.0, Starlette treats `multipart/form-data` parts without a `filename` as text form fields and buffers those in byte strings with no size limit. This allows an attacker to upload arbitrary large form fields and cause Starlette to both slow down significantly due to excessive memory allocations and copy operations, and also consume more and more memory until the server starts swapping and grinds to a halt, or the OS terminates the server process with an OOM error. Uploading multiple such requests in parallel may be enough to render a service practically unusable, even if reasonable request size limits are enforced by a reverse proxy in front of Starlette. This Denial of service (DoS) vulnerability affects all applications built with Starlette (or FastAPI) accepting form requests. Verison 0.40.0 fixes this issue.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.653%, percentile 52.703%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 28)

- chainguard kserve (Chainguard): All versions (No fix recorded)
- chainguard kserve-agent (Chainguard): All versions (No fix recorded)
- chainguard kserve-agent-compat (Chainguard): All versions (No fix recorded)
- chainguard kserve-manager (Chainguard): All versions (No fix recorded)
- chainguard kserve-manager-compat (Chainguard): All versions (No fix recorded)
- chainguard kserve-qpext (Chainguard): All versions (No fix recorded)
- chainguard kserve-qpext-compat (Chainguard): All versions (No fix recorded)
- chainguard kserve-router (Chainguard): All versions (No fix recorded)
- chainguard kserve-router-compat (Chainguard): All versions (No fix recorded)
- chainguard kserve-storage-controller (Chainguard): All versions (No fix recorded)
- chainguard reflex (Chainguard): \< 0.6.4-r0
- wolfi kserve (Wolfi): All versions (No fix recorded)
- wolfi kserve-agent (Wolfi): All versions (No fix recorded)
- wolfi kserve-agent-compat (Wolfi): All versions (No fix recorded)
- wolfi kserve-manager (Wolfi): All versions (No fix recorded)
- wolfi kserve-manager-compat (Wolfi): All versions (No fix recorded)
- wolfi kserve-qpext (Wolfi): All versions (No fix recorded)
- wolfi kserve-qpext-compat (Wolfi): All versions (No fix recorded)
- wolfi kserve-router (Wolfi): All versions (No fix recorded)
- wolfi kserve-router-compat (Wolfi): All versions (No fix recorded)

## References

- <https://github.com/encode/starlette/security/advisories/GHSA-f96h-pmfr-66vw>
- <https://github.com/encode/starlette/commit/fd038f3070c302bff17ef7d173dbb0b007617733>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-47874>
- <https://github.com/encode/starlette>
- <https://pypi.org/project/starlette>
- <https://github.com/advisories/GHSA-f96h-pmfr-66vw>
- <https://ubuntu.com/security/CVE-2024-47874>
- <https://www.cve.org/CVERecord?id=CVE-2024-47874>
- <https://security-tracker.debian.org/tracker/CVE-2024-47874>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47874.json>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20243719-1/>
- <https://bugzilla.suse.com/1231689>
- <https://www.suse.com/security/cve/CVE-2024-47874>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/ITQAANLVA7RFTKABILTYM4X6WZF4U52R/>

---

Data as of 2026-12-05T04:21:26.152Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
