Apache Commons FileUpload, Apache Commons FileUpload: FileUpload DoS via part headers
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | commons-fileupload:commons-fileupload | >= 1.0, < 1.6.0 | 1.6.0 |
| Java / Kotlin (Maven) | org.apache.commons:commons-fileupload2-core | >= 2.0.0-M1, < 2.0.0-M4 | 2.0.0-M4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-48976
- https://github.com/apache/commons-fileupload/commit/b247774a72a044f5d5380ae947140ee80af4e78b
- https://github.com/apache/commons-fileupload/commit/bf68f63cfb312ef4710fb3dfb4d8e4e1665f4497
- https://github.com/apache/tomcat/commit/97790a35a27d236fa053e660676c3f8196284d93
- https://github.com/apache/commons-fileupload
- https://lists.apache.org/thread/fbs3wrr3p67vkjcxogqqqqz45pqtso12
- https://lists.debian.org/debian-lts-announce/2025/07/msg00008.html
- https://lists.debian.org/debian-lts-announce/2025/07/msg00009.html
- http://www.openwall.com/lists/oss-security/2025/06/16/4
- CVSS vector
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- Weakness (CWE)
CWE-770- Platform
- Java / Kotlin (Maven)
- Package
commons-fileupload:commons-fileupload, org.apache.commons:commons-fileupload2-core- Disclosed
- 16.06.2025
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-vv7r-c36w-3prj - CC BY 4.0
Vulnerability history: org.apache.commons:commons-fileupload2-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.