# CVE-2024-49767: Werkzeug possible resource exhaustion when parsing file data in forms

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.09%, higher than 66% of CVEs (2026-12-01)
- Published: 2024-10-25T19:41:35.029Z
- Modified: 2026-09-10T03:50:19.984Z
- Also known as: GHSA-q34m-jh98-gwm2, PYSEC-2026-1860, PYSEC-2026-3417
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Werkzeug is a Web Server Gateway Interface web application library. Applications using `werkzeug.formparser.MultiPartParser` corresponding to a version of Werkzeug prior to 3.0.6 to parse `multipart/form-data` requests (e.g. all flask applications) are vulnerable to a relatively simple but effective resource exhaustion (denial of service) attack. A specifically crafted form submission request can cause the parser to allocate and block 3 to 8 times the upload size in main memory. There is no upper limit; a single upload at 1 Gbit/s can exhaust 32 GB of RAM in less than 60 seconds. Werkzeug version 3.0.6 fixes this issue.

(As written by CVE List.)

## Affected

- pallets werkzeug: >= 2.0.0rc1, < 3.0.6
- pallets Quart: < 0.20.0
- palletsprojects werkzeug: before 3.0.6
- werkzeug (PyPI): from 2.0.0rc1 before 3.0.6
- quart (PyPI): before 0.20.0
- palletsprojects quart: before 0.19.7

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 7.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/pallets/werkzeug/security/advisories/GHSA-q34m-jh98-gwm2> (vendor-advisory, web)
- <https://github.com/pallets/quart/commit/5e78c4169b8eb66b91ead3e62d44721b9e1644ee> (patch, web)
- <https://github.com/pallets/quart/commit/abb04a512496206de279225340ed022852fbf51f> (web)
- <https://github.com/pallets/werkzeug/commit/50cfeebcb0727e18cc52ffbeb125f4a66551179b> (patch, web)
- <https://github.com/pallets/werkzeug/releases/tag/3.0.6> (release-notes, web)
- <https://security.netapp.com/advisory/ntap-20250103-0007/>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-49767> (advisory)
- <https://github.com/pallets/werkzeug/commit/cbb446fdcada7685fce936ded01b76c08dbd6eb5> (web)
- <https://github.com/pallets/werkzeug> (package)
- <https://security.netapp.com/advisory/ntap-20250103-0007> (web)
- <https://pypi.org/project/quart> (package)
- <https://github.com/advisories/GHSA-q34m-jh98-gwm2> (advisory)
- <https://pypi.org/project/werkzeug> (package)

## Sources

- CVE List: [CVE-2024-49767](https://www.cve.org/CVERecord?id=CVE-2024-49767), CVE Terms of Use, modified 2026-05-20
- GitHub Advisory Database: [GHSA-q34m-jh98-gwm2](https://github.com/advisories/GHSA-q34m-jh98-gwm2), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-49767](https://nvd.nist.gov/vuln/detail/CVE-2024-49767), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1860](https://osv.dev/vulnerability/PYSEC-2026-1860), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-3417](https://osv.dev/vulnerability/PYSEC-2026-3417), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2024-49767 · Whole record: https://cve.day/CVE-2024-49767.json · Rebuilt by cve.day 2026-11-25T22:58:47.349Z
