GitHub Advisory Database
GHSA-vv7r-c36w-3prj
Apache Commons FileUpload, Apache Commons FileUpload: FileUpload DoS via part headers
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | commons-fileupload:commons-fileupload | From 1.0 before 1.6.0 (fixed in 1.6.0) |
| Maven | org.apache.commons:commons-fileupload2-core | From 2.0.0-M1 before 2.0.0-M4 (fixed in 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