Vulnerability · Published Jun 16, 2025 · Assigned by apache

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

High 7.5

In plain English

A high-severity resource allocation without limits in Apache Commons FileUpload from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 32.9% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)32.9%top 1.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8tomcat1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:8tomcat-admin-webapps1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat-admin-webapps1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:8tomcat-docs-webapp1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat-docs-webapp1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:8tomcat-el-3.0-api1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat-el-3.0-api1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:8tomcat-jsp-2.3-api1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat-jsp-2.3-api1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:8tomcat-lib1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat-lib1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:8tomcat-servlet-4.0-api1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat-servlet-4.0-api1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:8tomcat-webapps1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat-webapps1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:10tomcat91:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux:10tomcat9-admin-webapps1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux:10tomcat9-docs-webapp1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux:10tomcat9-el-3.0-api1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux:10tomcat9-jsp-2.3-api1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux:10tomcat9-lib1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux:10tomcat9-servlet-4.0-api1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux:10tomcat9-webapps1:9.0.87-5.el10_0.3ALSA-2025:14178
Debian:12libcommons-fileupload-javano fix listedDEBIAN-CVE-2025-48976
Debian:13libcommons-fileupload-javano fix listedDEBIAN-CVE-2025-48976
Debian:14libcommons-fileupload-java1.6.0-1DEBIAN-CVE-2025-48976
Debian:12tomcat1010.1.52-1~deb12u1DEBIAN-CVE-2025-48976
Debian:12tomcat1010.1.52-1~deb12u1DSA-6120-1
Debian:13tomcat1010.1.52-1~deb13u1DSA-6120-1
Debian:13tomcat1010.1.52-1~deb13u1DEBIAN-CVE-2025-48976
Debian:14tomcat1010.1.46-1DEBIAN-CVE-2025-48976
Debian:13tomcat1111.0.15-1~deb13u1DSA-6121-1
Debian:13tomcat1111.0.15-1~deb13u1DEBIAN-CVE-2025-48976
Debian:14tomcat1111.0.11-1DEBIAN-CVE-2025-48976
Debian:12tomcat99.0.70-2DEBIAN-CVE-2025-48976
Debian:13tomcat99.0.70-2DEBIAN-CVE-2025-48976
Debian:14tomcat99.0.70-2DEBIAN-CVE-2025-48976
Mavencommons-fileupload:commons-fileupload1.6.0GHSA-vv7r-c36w-3prj
Mavenorg.apache.commons:commons-fileupload2-core2.0.0-M4GHSA-vv7r-c36w-3prj
Rocky Linux:10tomcat1:10.1.36-1.el10_0.2RLSA-2025:14179
Rocky Linux:8tomcat1:9.0.87-1.el8_10.6RLSA-2025:14177
Rocky Linux:9tomcat1:9.0.87-3.el9_6.3RLSA-2025:14181
Rocky Linux:10tomcat91:9.0.87-5.el10_0.3RLSA-2025:14178
Ubuntu:22.04:LTSlibcommons-fileupload-javano fix listedUBUNTU-CVE-2025-48976
Ubuntu:24.04:LTSlibcommons-fileupload-javano fix listedUBUNTU-CVE-2025-48976
Ubuntu:25.10libcommons-fileupload-javano fix listedUBUNTU-CVE-2025-48976
Ubuntu:26.04:LTSlibcommons-fileupload-javano fix listedUBUNTU-CVE-2025-48976
Ubuntu:26.10libcommons-fileupload-javano fix listedUBUNTU-CVE-2025-48976
Ubuntu:24.04:LTStomcat10no fix listedUBUNTU-CVE-2025-48976
Ubuntu:25.10tomcat10no fix listedUBUNTU-CVE-2025-48976
Ubuntu:26.04:LTStomcat10no fix listedUBUNTU-CVE-2025-48976
Ubuntu:26.10tomcat10no fix listedUBUNTU-CVE-2025-48976
Ubuntu:25.10tomcat11no fix listedUBUNTU-CVE-2025-48976
Ubuntu:26.04:LTStomcat11no fix listedUBUNTU-CVE-2025-48976

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Commons FileUpload 1.0 – before 1.6
Apache Software Foundation Apache Commons FileUpload 2.0.0-M1 – before 2.0.0-M4

Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References