CVE-2025-48976: Apache Commons FileUpload · Allocation of Resources with Insufficient Limits
Affects Apache Commons FileUploadSource CVE Database V5
Not known to be exploited · 32% EPSS · CVSS 7.5 High : upgrade to 2.0.0-M4 or 1.6 soon.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 32.8% chance of exploitation in 30 days – higher than 98% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.0.0-M4, 1.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade org.apache.commons/commons-fileupload to 2.0.0-M4 or 1.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.apache.commons/commons-fileuploadpkg:maven/org.apache.commons/commons-fileuploadOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Upgrade Apache Commons FileUpload to version 1.6 or 2.0.0-M4 or later immediately to apply the official fix.
- Implement strict limits on multipart header sizes and total request sizes at the application or web server level to prevent resource exhaustion.
- Deploy web application firewalls (WAFs) with rules to detect and block abnormal multipart/form-data requests indicative of DoS attempts.
- Monitor application and server resource usage closely for spikes that may indicate exploitation attempts.
- Conduct regular vulnerability scans and dependency checks to identify usage of vulnerable library versions.
- For legacy systems where immediate upgrade is not feasible, consider isolating vulnerable services behind network controls and rate limiting to reduce exposure.
- Educate development teams on secure file upload handling and resource management best practices to prevent similar issues in future software.
- Maintain incident response plans that include detection and mitigation strategies for DoS attacks targeting web application components.
Description
A denial of service (DoS) vulnerability exists in Apache Commons FileUpload due to allocation of resources for multipart headers with insufficient limits. This affects Apache Commons FileUpload versions from 1.0 before 1.6 and from 2.0.0-M1 before 2.0.0-M4. Users are advised to upgrade to versions 1.6 or 2.0.0-M4 to remediate the issue. The vulnerability impacts various Tomcat6 versions that include affected Apache Commons FileUpload versions. The vulnerability allows an attacker to cause a denial of service by exhausting resources during multipart header processing.
References
- lists.apache.org/thread/fbs3wrr3p67vkjcxogqqqqz45pqtso12 (opens in a new tab)
- openwall.com/lists/oss-security/2025/06/16/4 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/07/msg00008.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/07/msg00009.html (opens in a new tab)