CVE-2023-25577: Werkzeug may allow high resource usage when parsing multipart form data with many fields
Vulnerability summary
CVE-2023-25577 is a high (CVSS 7.5) vulnerability in pallets werkzeug. EPSS estimates a 1.42% chance of exploitation in the next 30 days, higher than 72.8% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 6Timeline
- 14-02-2023PublishedVulnerability first disclosed.
- 10-03-2025Last modifiedVulnerability information updated.
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 metrics
8 scores · 8 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.42%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.42% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse18 products
- python-Werkzeug&distro=SUSE Enterprise Storage 7< 0.14.1-150100.6.6.1
- python-Werkzeug&distro=SUSE Enterprise Storage 7.1< 1.0.1-150300.3.3.1
- python-Werkzeug&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 0.14.1-150100.6.6.1
- python-Werkzeug&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS< 0.14.1-150100.6.6.1
- python-Werkzeug&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS< 1.0.1-150300.3.3.1
Redhat4 products
- python-werkzeug< 0:2.0.3-4.el9 | < 0:2.0.3-5.el8 | < 0:0.14.1-3.1.el7ost | < 0:0.14.1-12.el8ost
- python2-werkzeug< 0:0.14.1-3.1.el7ost
- python2-werkzeug-doc< 0:0.14.1-3.1.el7ost
- python3-werkzeug< 0:2.0.3-4.el9 | < 0:2.0.3-5.el8 | < 0:0.14.1-12.el8ost
Opensuse3 products
- python-Werkzeug-doc&distro=openSUSE Leap 15.4< 0.14.1-150100.6.6.1
- python-Werkzeug&distro=openSUSE Leap 15.4< 1.0.1-150300.3.3.1
- python-Werkzeug&distro=openSUSE Tumbleweed< 2.2.3-1.1
Chainguard1 product
- kubeflow-pipelines-visualization-server< 2.4.0-r0
Debian1 product
- python-werkzeug< 2.2.2-3
Pallets1 product
- werkzeug< 2.2.3
Palletsprojects1 product
- werkzeug< 2.2.3
PyPI1 product
- werkzeug< 517cac5a804e8c4dc4ed038bb20dacd038e7a9f1 | < 2.2.3
Ubuntu1 product
- python-werkzeug< 0.10.4+dfsg1-1ubuntu1.2+esm1 | < 0.14.1+dfsg1-1ubuntu0.2 | < 0.16.1+dfsg1-2ubuntu0.1 | < 2.0.2+dfsg1-1ubuntu0.22.04.1
Wolfi1 product
- kubeflow-pipelines-visualization-server< 2.4.0-r0
10 vendors · 32 products
References
31 links- github.com/pallets/werkzeug/security/advisories/GHSA-xg9f-g7g7-2323X Refsource CONFIRMWEBAdvisoryARTICLEREPORTVendor Advisory
- github.com/pallets/werkzeug/commit/517cac5a804e8c4dc4ed038bb20dacd038e7a9f1X Refsource MISCWEBFIXARTICLEREPORTPatch
Show all 31 references
- github.com/pallets/werkzeugPACKAGE