CVEfocus › CVE database › CVE-2025-48976

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

CVSS 7.5 HighEPSS 34.2% (higher than 98% of CVEs)Published 2025-06-16Updated 2025-11-03Assigner: apache

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.

CWE-770

What to do

Likely to be exploited: EPSS gives a 34% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from AlmaLinux, Debian, Maven, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

73Fixed
16Fix pending
3Under investigation
26Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libcommons-fileupload-javaFix pendingUBUNTU-CVE-2025-48976
Ubuntu 26.04libcommons-fileupload-javaUnder investigationUBUNTU-CVE-2025-48976
Ubuntu 26.04tomcat10Fixed10.1.61~us1-0ubuntu1~26.04.1UBUNTU-CVE-2025-48976
Ubuntu 26.04tomcat9Not affected
vulnerable_code_not_present
Ubuntu 25.10libcommons-fileupload-javaWill not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries
UBUNTU-CVE-2025-48976
Ubuntu 25.10tomcat10Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries
UBUNTU-CVE-2025-48976
Ubuntu 25.10tomcat11Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries
UBUNTU-CVE-2025-48976
Ubuntu 25.10tomcat9Not affected
vulnerable_code_not_present
Ubuntu 24.04libcommons-fileupload-javaUnder investigationUBUNTU-CVE-2025-48976
Ubuntu 24.04tomcat10Fixed10.1.61~us1-0ubuntu1~24.04.2UBUNTU-CVE-2025-48976
Ubuntu 22.04libcommons-fileupload-javaUnder investigationUBUNTU-CVE-2025-48976
Ubuntu 22.04tomcat9Fix pendingUBUNTU-CVE-2025-48976
Ubuntu 20.04libcommons-fileupload-javaFix pendingUBUNTU-CVE-2025-48976
Ubuntu 20.04tomcat9Fix pendingUBUNTU-CVE-2025-48976
Ubuntu 18.04libcommons-fileupload-javaFix pendingUBUNTU-CVE-2025-48976
Ubuntu 18.04tomcat9Fix pendingUBUNTU-CVE-2025-48976
Ubuntu 16.04libcommons-fileupload-javaFix pendingUBUNTU-CVE-2025-48976
Ubuntu 16.04tomcat6Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries
Ubuntu 16.04tomcat7Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries
Ubuntu 16.04tomcat8Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries
Ubuntu 14.04tomcat6Fix pendingUBUNTU-CVE-2025-48976
Debian 14libcommons-fileupload-javaFixed1.6.0-1DEBIAN-CVE-2025-48976
Debian 14tomcat10Fixed10.1.46-1DEBIAN-CVE-2025-48976
Debian 14tomcat11Fixed11.0.11-1DEBIAN-CVE-2025-48976
Debian 14tomcat9Fixed9.0.70-2DEBIAN-CVE-2025-48976
Debian 13libcommons-fileupload-javaFix pendingDEBIAN-CVE-2025-48976
Debian 13tomcat10Fixed10.1.52-1~deb13u1DEBIAN-CVE-2025-48976
Debian 13tomcat11Fixed11.0.15-1~deb13u1DEBIAN-CVE-2025-48976
Debian 13tomcat9Fixed9.0.70-2DEBIAN-CVE-2025-48976
Debian 12libcommons-fileupload-javaFix pendingDEBIAN-CVE-2025-48976
Debian 12tomcat10Fixed10.1.52-1~deb12u1DEBIAN-CVE-2025-48976
Debian 12tomcat9Fixed9.0.70-2DEBIAN-CVE-2025-48976
Red Hat Enterprise Linux 10tomcatFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-admin-webappsFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-docs-webappFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-el-5.0-apiFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-jsp-3.1-apiFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-libFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-servlet-6.0-apiFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-webappsFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat9Fixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-admin-webappsFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-docs-webappFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-el-3.0-apiFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-jsp-2.3-apiFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-libFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-servlet-4.0-apiFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-webappsFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 9pki-servlet-4.0-apiFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-servlet-engineFix pending
Fix deferred
Red Hat Enterprise Linux 9tomcatFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-admin-webappsFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-docs-webappFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-el-3.0-apiFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-jsp-2.3-apiFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-libFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-servlet-4.0-apiFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-webappsFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 8maven-assembly-pluginFix pending
Fix deferred
Red Hat Enterprise Linux 8maven-assembly-plugin-javadocFix pending
Fix deferred
Red Hat Enterprise Linux 8pki-servlet-4.0-apiFix pending
Fix deferred
Red Hat Enterprise Linux 8pki-servlet-engineFix pending
Fix deferred
Red Hat Enterprise Linux 8tomcatFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-admin-webappsFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-docs-webappFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-el-3.0-apiFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-jsp-2.3-apiFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-libFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-servlet-4.0-apiFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-webappsFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 7tomcatWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-admin-webappsWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-docs-webappWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-el-2.2-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-jsp-2.2-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-jsvcWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-libWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-servlet-3.0-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-webappsWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6Will not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-admin-webappsWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-docs-webappWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-el-2.1-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-jsp-2.1-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-libWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-log4jWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-servlet-2.5-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-webappsWill not fix
Out of support scope
AlmaLinux 10tomcat9Fixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-admin-webappsFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-docs-webappFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-el-3.0-apiFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-jsp-2.3-apiFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-libFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-servlet-4.0-apiFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-webappsFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 9tomcatFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-admin-webappsFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-docs-webappFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-el-3.0-apiFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-jsp-2.3-apiFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-libFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-servlet-4.0-apiFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-webappsFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 8tomcatFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-admin-webappsFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-docs-webappFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-el-3.0-apiFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-jsp-2.3-apiFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-libFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-servlet-4.0-apiFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-webappsFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
Rocky Linux 10tomcatFixed1:10.1.36-1.el10_0.2RLSA-2025:14179
Rocky Linux 10tomcat9Fixed1:9.0.87-5.el10_0.3RLSA-2025:14178
Rocky Linux 9tomcatFixed1:9.0.87-3.el9_6.3RLSA-2025:14181
Rocky Linux 8tomcatFixed1:9.0.87-1.el8_10.6RLSA-2025:14177
Maven librarycommons-fileupload:commons-fileuploadFixed1.6.0GHSA-vv7r-c36w-3prj
Maven libraryorg.apache.commons:commons-fileupload2-coreFixed2.0.0-M4GHSA-vv7r-c36w-3prj

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.