CVE-2025-48976
Apache Commons FileUpload, Apache Commons FileUpload: FileUpload DoS via part headers
Description
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 Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| commons-fileupload » commons-fileupload | >= 1.0, < 1.6.0 | 1.6.0 |
| org.apache.commons » commons-fileupload2-core | >= 2.0.0-M1, < 2.0.0-M4 | 2.0.0-M4 |
Blast radius
74% of the dependent artifacts (24,724) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 137,811 |
| 2 hops | 696,601 |
| 3 hops | 655,419 |
| 4 hops | 429,944 |
| 5 hops | 259,501 |
| 6 hops | 126,329 |
Most used dependents
- org.apache.maven.plugins » maven-javadoc-plugin84,916 usages
- org.apache.maven.plugins » maven-dependency-plugin26,231 usages
- org.springframework » spring-web12,086 usages
- org.apache.maven.plugins » maven-checkstyle-plugin11,720 usages
- org.apache.maven.plugins » maven-site-plugin9,107 usages
- org.springframework » spring-webmvc7,538 usages
- org.apache.maven.plugins » maven-plugin-plugin6,502 usages
- org.codehaus.mojo » versions-maven-plugin5,371 usages
- org.codehaus.mojo » license-maven-plugin3,293 usages
- com.github.spotbugs » spotbugs-maven-plugin3,264 usages
- org.springframework » spring-orm3,194 usages
- org.codehaus.mojo » findbugs-maven-plugin2,938 usages
- org.apache.rat » apache-rat-plugin2,568 usages
- org.apache.maven.plugins » maven-pmd-plugin2,252 usages
- com.github.tomakehurst » wiremock1,838 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-48976
- Webhttps://github.com/apache/commons-fileupload/commit/b247774a72a044f5d5380ae947140ee80af4e78b
- Webhttps://github.com/apache/commons-fileupload/commit/bf68f63cfb312ef4710fb3dfb4d8e4e1665f4497
- Webhttps://github.com/apache/tomcat/commit/97790a35a27d236fa053e660676c3f8196284d93
- Packagehttps://github.com/apache/commons-fileupload
- Webhttps://lists.apache.org/thread/fbs3wrr3p67vkjcxogqqqqz45pqtso12
- Webhttps://lists.debian.org/debian-lts-announce/2025/07/msg00008.html
- Webhttps://lists.debian.org/debian-lts-announce/2025/07/msg00009.html
- Webhttp://www.openwall.com/lists/oss-security/2025/06/16/4
