CVE-2025-48976 Apache Commons FileUpload, Apache Commons FileUpload: FileUpload DoS via part headers
Attackers can cause denial of service in applications using Apache Commons FileUpload by sending multipart headers with excessive resource allocation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-48976?
CVE-2025-48976 is a high-severity denial of service vulnerability in Apache Commons FileUpload, published on 16 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-770
Which versions are affected by CVE-2025-48976?
4 open source packages ship an affected version, including org.apache.commons:commons-fileupload2-core and commons-fileupload:commons-fileupload. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.commons:commons-fileupload2-core Maven | From 2.0.0-M1 | 2.0.0-M4 |
org.apache.commons:commons-fileupload2-core Maven | From 2.0.0-M1 | 2.0.0-M4 |
commons-fileupload:commons-fileupload Maven | From 1.0 | 1.6.0 |
commons-fileupload:commons-fileupload Maven | From 1.0 | 1.6.0 |
Linux distribution packages (19)
apache-commons-fileupload SUSE:Enterprise Storage 7.1 | All versions | 1.6.0-150200.3.12.1 |
apache-commons-fileupload SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 1.6.0-150200.3.12.1 |
apache-commons-fileupload SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 1.6.0-150200.3.12.1 |
apache-commons-fileupload SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 1.6.0-150200.3.12.1 |
apache-commons-fileupload SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 1.6.0-150200.3.12.1 |
apache-commons-fileupload SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 1.6.0-150200.3.12.1 |
apache-commons-fileupload SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | All versions | 1.6.0-150200.3.12.1 |
apache-commons-fileupload SUSE:Linux Enterprise Module for Web and Scripting 15 SP7 | All versions | 1.6.0-150200.3.12.1 |
jakarta-commons-fileupload SUSE:Linux Enterprise Server 12 SP5-LTSS | All versions | 1.6.0-126.3.1 |
apache-commons-fileupload SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 1.6.0-150200.3.12.1 |
apache-commons-fileupload SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 1.6.0-150200.3.12.1 |
apache-commons-fileupload SUSE:Linux Enterprise Server 15 SP5-LTSS | All versions | 1.6.0-150200.3.12.1 |
jakarta-commons-fileupload SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 1.6.0-126.3.1 |
apache-commons-fileupload SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 1.6.0-150200.3.12.1 |
apache-commons-fileupload SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 1.6.0-150200.3.12.1 |
apache-commons-fileupload SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | All versions | 1.6.0-150200.3.12.1 |
apache-commons-fileupload SUSE:Manager Server 4.3 | All versions | 1.6.0-150200.3.12.1 |
apache-commons-fileupload openSUSE:Leap 15.6 | All versions | 1.6.0-150200.3.12.1 |
apache-commons-fileupload openSUSE:Tumbleweed | All versions | 1.6.0-1.1 |
Products include Apache Commons Fileupload.
How do I fix CVE-2025-48976?
Upgrade org.apache.commons:commons-fileupload2-core to 2.0.0-M4 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-48976 being exploited?
There is no known exploitation of CVE-2025-48976 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Apache Commons FileUpload
- CVE-2016-1000031 Improper Access Control in commons-fileupload
- CVE-2023-24998 Apache Commons FileUpload, Apache Tomcat: FileUpload DoS with excessive parts
- CVE-2016-3092 High severity vulnerability that affects commons-fileupload:commons-fileupload
- CVE-2014-0050 Commons FileUpload Denial of service vulnerability
- CVE-2013-0248 Incorrect Default Permissions in Apache Commons FileUpload
Sources
Also known as CLSA-2026-1777509601, CLSA-2026-1777509603, CLSA-2026-1777941823, DEBIAN-CVE-2025-48976, ECHO-830f-870a-69ba, GHSA-vv7r-c36w-3prj and 18 more.