CVE-2025-48976: Apache Commons FileUpload, Apache Commons FileUpload: FileUpload DoS via part headers

Published Jun 16, 2025
·
Updated

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 Software

31 affected componentsFixes available
maven/commons-fileupload:commons-fileupload>=1.0<1.6.0
1.6.0
maven/org.apache.commons:commons-fileupload2-core>=2.0.0-M1<2.0.0-M4
2.0.0-M4
Apache Commons Fileupload>=1.0<1.6
Apache Commons Fileupload=2.0.0-m1
Apache Commons Fileupload=2.0.0-m1-rc1
Apache Commons Fileupload=2.0.0-m2
Apache Commons Fileupload=2.0.0-m2-rc1
Apache Commons Fileupload=2.0.0-m3
Apache Commons Fileupload=2.0.0-m3-rc1
F5 BIG-IP
21.0.0
F5 BIG-IP>=17.5.0<=17.5.1, >=17.1.0<=17.1.3
17.5.1.117.1.3.1
F5 BIG-IP>=16.1.0<=16.1.6
F5 BIG-IP>=15.1.0<=15.1.10
F5 Traffix SDC=5.2.0
IBM watsonx.data intelligence<=5.2.0, 5.2.1, 5.2.2, 5.3.0
ubuntu/tomcat6*
ubuntu/libcommons-fileupload-java*
ubuntu/libcommons-fileupload-java*
ubuntu/tomcat9*
ubuntu/libcommons-fileupload-java*
ubuntu/tomcat9*
ubuntu/libcommons-fileupload-java*
ubuntu/tomcat9*
ubuntu/libcommons-fileupload-java*
ubuntu/tomcat10<10.1.61~us1-0ubuntu1~24.04.2
10.1.61~us1-0ubuntu1~24.04.2
ubuntu/libcommons-fileupload-java*
ubuntu/tomcat10*
ubuntu/tomcat11*
ubuntu/libcommons-fileupload-java*
ubuntu/libcommons-fileupload-java*
ubuntu/tomcat10<10.1.61~us1-0ubuntu1~26.04.1
10.1.61~us1-0ubuntu1~26.04.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/commons-fileupload:commons-fileupload to a version that resolves this vulnerability.

    Fixed in 1.6.0
  2. Upgrade

    Upgrade maven/org.apache.commons:commons-fileupload2-core to a version that resolves this vulnerability.

    Fixed in 2.0.0-M4
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 21.0.0
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 17.5.1.117.1.3.1
  5. Upgrade

    Upgrade ubuntu/tomcat10 to a version that resolves this vulnerability.

    Fixed in 10.1.61~us1-0ubuntu1~24.04.2
  6. Upgrade

    Upgrade ubuntu/tomcat10 to a version that resolves this vulnerability.

    Fixed in 10.1.61~us1-0ubuntu1~26.04.1
  7. Upgrade

    Upgrade Apache Commons FileUpload to a version that resolves this vulnerability.

    Fixed in 1.6
  8. Upgrade

    Upgrade Apache Commons FileUpload to a version that resolves this vulnerability.

    Fixed in 2.0.0-M4

Event History

Jun 16, 2025
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
DescriptionWeakness
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:15 PM
Description
Advisory Published
via GitHub·03:32 PM
Data Sourced
via GitHub·03:32 PM
DescriptionWeaknessAffected Software
Data Sourced
via Red Hat·04:01 PM
DescriptionSeverityAffected Software
Jun 17, 2025
Data Sourced
via NVD·02:15 PM
SeverityWeakness
Jun 23, 2025
Exploit Published
via GitHub·05:41 AM
Jul 2, 2025
Data Sourced
via NVD·06:29 PM
Affected Software
Jul 9, 2025
Updated
via GitHub·06:15 PM
Affected Software
Jul 15, 2025
Updated
via NVD·01:40 PM
Affected Software
Updated
via NVD·02:21 PM
Affected Software
Jul 17, 2025
Advisory Published
via F5·04:23 PM
Data Sourced
via F5·04:23 PM
DescriptionSeverityWeaknessAffected Software
Sep 12, 2025
Updated
via F5·02:01 PM
Affected Software
Nov 3, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Updated
via IBM·12:00 AM
Affected Software
Nov 12, 2025
Updated
via F5·11:56 PM
Affected Software
Dec 4, 2025
Updated
via IBM·12:00 AM
Affected Software
Jan 26, 2026
Updated
via F5·08:29 AM
Affected Software
Jan 30, 2026
Updated
via IBM·12:00 AM
Affected Software
Mar 4, 2026
Updated
via IBM·12:00 AM
Affected Software
May 14, 2026
Updated
via IBM·12:00 AM
Affected Software
Jun 24, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 24, 2026
Updated
via OSV·02:55 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-48976?

CVE-2025-48976 has a severity rating that indicates a denial of service vulnerability due to improper handling of multipart headers.

2

How do I fix CVE-2025-48976?

To fix CVE-2025-48976, upgrade Apache Commons FileUpload to version 1.6.0 or 2.0.0-M4.

3

Which versions are affected by CVE-2025-48976?

CVE-2025-48976 affects Apache Commons FileUpload versions prior to 1.6.0 and versions from 2.0.0-M1 before 2.0.0-M4.

4

What type of vulnerability is CVE-2025-48976?

CVE-2025-48976 is classified as a denial of service (DoS) vulnerability.

5

Is there a workaround for CVE-2025-48976?

There is no documented workaround for CVE-2025-48976; upgrading to a fixed version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203