← Vulnerability feed

Vulnerability record · CVE-2023-25577 · published 14 February 2023

CVE-2023-25577: Palletsprojects werkzeug allocation without limits vulnerability

PPalletsprojects · Werkzeug

Werkzeug is a comprehensive WSGI web application library. Prior to version 2.2.3, Werkzeug's multipart form data parser will parse an unlimited number of parts, including file parts. Parts can be a small amount of bytes, but each requires CPU time to parse and may use more memory as Python data. If a request can be made to an endpoint that accesses `request.data`, `request.form`, `request.files`, or `request.get_data(parse_form_data=False)`, it can cause unexpectedly high resource usage. This allows an attacker to cause a denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU time required can block worker processes from handling legitimate requests. The amount of RAM required can trigger an out of memory kill of the process. Unlimited file parts can use up memory and file handles. If many concurrent requests are sent continuously, this can exhaust or kill all available workers. Version 2.2.3 contains a patch for this issue.

7.5 CVSS 3.1 High EPSS 1.4% · top 28.2% CWE-770 · Allocation without limits
7.5CVSS 3.1 base score
1.4%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References
17 Jun 2026Last modified by NVD

Description

Werkzeug is a comprehensive WSGI web application library. Prior to version 2.2.3, Werkzeug's multipart form data parser will parse an unlimited number of parts, including file parts. Parts can be a small amount of bytes, but each requires CPU time to parse and may use more memory as Python data. If a request can be made to an endpoint that accesses `request.data`, `request.form`, `request.files`, or `request.get_data(parse_form_data=False)`, it can cause unexpectedly high resource usage. This allows an attacker to cause a denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU time required can block worker processes from handling legitimate requests. The amount of RAM required can trigger an out of memory kill of the process. Unlimited file parts can use up memory and file handles. If many concurrent requests are sent continuously, this can exhaust or kill all available workers. Version 2.2.3 contains a patch for this issue.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-25577 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-29361Palletsprojects werkzeug http request smuggling vulnerabilityImproper parsing of HTTP requests in Pallets Werkzeug v2.1.0 and below allows attackers to perform HTTP Request Smuggling using a crafted HTTP reques…EPSS 8.1%7.5CVE-2024-34069Palletsprojects werkzeug cross-site request forgery vulnerabilityWerkzeug is a comprehensive WSGI web application library. The debugger in affected versions of Werkzeug can allow an attacker to execute code on a de…EPSS 3.4%7.5CVE-2023-46136Palletsprojects werkzeug uncontrolled resource consumption vulnerabilityWerkzeug is a comprehensive WSGI web application library. In versions on the 3.x branch prior to 3.0.1 and on the 2.x branch prior to 2.3.8, if an up…EPSS 1.1%7.5CVE-2019-14806Palletsprojects werkzeug vulnerabilityPallets Werkzeug before 0.15.3, when used with Docker, has insufficient debugger PIN randomness because Docker containers share the same machine id.EPSS 2.3%7.5CVE-2019-14322Werkzeug SharedDataMiddleware Windows path traversal via drive namesPallets Werkzeug before 0.15.5 mishandles drive names such as C: in Windows pathnames within SharedDataMiddleware, allowing path traversal. Because W…EPSS 56%analysed6.9CVE-2024-49767Palletsprojects quart uncontrolled resource consumption vulnerabilityWerkzeug is a Web Server Gateway Interface web application library. Applications using `werkzeug.formparser.MultiPartParser` corresponding to a versi…EPSS 1.1%6.3CVE-2026-27199Palletsprojects werkzeug vulnerabilityWerkzeug is a comprehensive WSGI web application library. Versions 3.1.5 and below, the safe_join function allows Windows device names as filenames i…EPSS 0.54%6.3CVE-2026-21860Palletsprojects werkzeug vulnerabilityWerkzeug is a comprehensive WSGI web application library. Prior to version 3.1.5, Werkzeug's safe_join function allows path segments with Windows dev…EPSS 0.48%

Source: NIST National Vulnerability Database (record CVE-2023-25577), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.