Skip to main content
CVE-2025-48976VulnerabilityPublished Updated

CVE-2025-48976: Apache Commons FileUpload · Allocation of resources with insufficient limits

Affects Apache Commons FileUploadSource CVE Database V5

0

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, 06:26 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 2026-10-26.

What to do

Upgrade org.apache.commons/commons-fileupload to 2.0.0-M4 or 1.6.

Affected software

ProductAffectedFixed in
Mavenorg.apache.commons/commons-fileuploadpkg:maven/org.apache.commons/commons-fileuploadOther threatsAffected
  • =1.0
  • <1.6
  • >=2.0.0-M1 <2.0.0-M4
Fixed in
  • 1.6
  • 2.0.0-M4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Upgrade Apache Commons FileUpload to version 1.6 or 2.0.0-M4 or later immediately to apply the official fix. 2. Implement strict limits on multipart header sizes and total request sizes at the application or web server level to prevent resource exhaustion. 3. Deploy web application firewalls (WAFs) with rules to detect and block abnormal multipart/form-data requests indicative of DoS attempts. 4. Monitor application and server resource usage closely for spikes that may indicate exploitation attempts. 5. Conduct regular vulnerability scans and dependency checks to identify usage of vulnerable library versions. 6. For legacy systems where immediate upgrade is not feasible, consider isolating vulnerable services behind network controls and rate limiting to reduce exposure. 7. Educate development teams on secure file upload handling and resource management best practices to prevent similar issues in future software. 8. 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

Community reviews

Loading reviews…