CVE-2025-48976
massUnauthenticated DoS in Apache Commons FileUpload multipart parsing
Apache Commons FileUpload allocates resources for multipart request headers without sufficient limits (CWE-770), allowing a remote, unauthenticated attacker to exhaust server memory or CPU by sending crafted multipart uploads to any endpoint that parses file uploads with the library. The impact is denial of service only; confidentiality and integrity are unaffected (CVSS 7.5, AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). Any Java application or product bundling Commons FileUpload versions 1.0 through 1.5 or 2.0.0-M1 through 2.0.0-M3 is affected, which spans a very large population of web applications, frameworks, and products that embed the library. No public proof-of-concept or confirmed in-the-wild exploitation is known yet, but EPSS assigns a 62.6% probability of exploitation within 30 days (99th percentile), indicating elevated near-term risk.
What to do: Upgrade to Commons FileUpload 1.6 (for the 1.x line) or 2.0.0-M4 (for the 2.0.0-M line). Audit Maven/Gradle dependency trees for commons-fileupload as a direct or transitive dependency and rebuild and redeploy affected services, including third-party Java products that embed it. Where immediate upgrade is not possible, enforce request-body and multipart header limits at a reverse proxy or application server layer and monitor availability, given the high EPSS probability of exploitation.
| Apache Commons FileUpload | 1.0 through 1.5.x (all versions from 1.0 before 1.6) |
| Apache Commons FileUpload | 2.0.0-M1 through 2.0.0-M3 (from 2.0.0-M1 before 2.0.0-M4) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Allocation of resources for multipart headers with insufficient limits enabled a DoS vulnerability in Apache Commons FileUpload. This issue affects Apache Commons FileUpload: from 1.0 before 1.6; from 2.0.0-M1 before 2.0.0-M4. Users are recommended to upgrade to versions 1.6 or 2.0.0-M4, which fix the issue.
- Vendors
- apache
- Products
- commons fileupload
- Weakness
- CWE-770
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
In the news0 stories
No ingested article mentions this CVE yet.