CVE-2025-48976: 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.
Published Jun 16, 2025 · Updated Nov 3, 2025
Affected packages
org.apache.commons:commons-fileupload2-core
- Ecosystem
- Maven
- Affected
- >= 2.0.0-M1, < 2.0.0-M4
- Fixed in
- 2.0.0-M4
- Check
mvn dependency:tree -Dincludes=org.apache.commons:commons-fileupload2-core
commons-fileupload:commons-fileupload
- Ecosystem
- Maven
- Affected
- >= 1.0, < 1.6.0
- Fixed in
- 1.6.0
- Check
mvn dependency:tree -Dincludes=commons-fileupload:commons-fileupload
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to ryanmurf.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-48976
- https://lists.apache.org/thread/fbs3wrr3p67vkjcxogqqqqz45pqtso12
- https://github.com/apache/commons-fileupload/commit/bf68f63cfb312ef4710fb3dfb4d8e4e1665f4497
- https://github.com/apache/tomcat/commit/97790a35a27d236fa053e660676c3f8196284d93
- https://github.com/apache/commons-fileupload/commit/b247774a72a044f5d5380ae947140ee80af4e78b
- https://lists.debian.org/debian-lts-announce/2025/07/msg00008.html
- https://lists.debian.org/debian-lts-announce/2025/07/msg00009.html
- https://github.com/advisories/GHSA-vv7r-c36w-3prj
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
