CVEfocus › CVE database › CVE-2025-61795

CVE-2025-61795Apache Tomcat: Delayed cleaning of multi-part upload temporary files may lead to DoS

CVSS 5.3 MediumEPSS 1.4% (higher than 73% of CVEs)Published 2025-10-27Updated 2026-05-12Assigner: apache

Improper Resource Shutdown or Release vulnerability in Apache Tomcat. If an error occurred (including exceeding limits) during the processing of a multipart upload, temporary copies of the uploaded parts written to disc were not cleaned up immediately but left for the garbage collection process to delete. Depending on JVM settings, application memory usage and application load, it was possible that space for the temporary copies of uploaded parts would be filled faster than GC cleared it, leading to a DoS. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.11, from 10.1.0-M1 through 10.1.46, from 9.0.0.M1 through 9.0.109. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.12 or later, 10.1.47 or later or 9.0.110 or later which fixes the issue.

CWE-404

What to do

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

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

62Fixed
51Fix pending
25Will 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.04tomcat10Fixed10.1.61~us1-0ubuntu1~26.04.1UBUNTU-CVE-2025-61795
Ubuntu 26.04tomcat9Not affected
vulnerable_code_not_present
Ubuntu 25.10tomcat10Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries bionic tomcat7 only builds libservlet3.0-java, not the Tomcat server binaries
UBUNTU-CVE-2025-61795
Ubuntu 25.10tomcat11Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries bionic tomcat7 only builds libservlet3.0-java, not the Tomcat server binaries
UBUNTU-CVE-2025-61795
Ubuntu 25.10tomcat9Not affected
vulnerable_code_not_present
Ubuntu 24.04tomcat10Fixed10.1.61~us1-0ubuntu1~24.04.2UBUNTU-CVE-2025-61795
Ubuntu 22.04tomcat9Fix pendingUBUNTU-CVE-2025-61795
Ubuntu 20.04tomcat9Fix pendingUBUNTU-CVE-2025-61795
Ubuntu 18.04tomcat8Fix pendingUBUNTU-CVE-2025-61795
Ubuntu 18.04tomcat9Fix pendingUBUNTU-CVE-2025-61795
Ubuntu 16.04tomcat6Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries bionic tomcat7 only builds libservlet3.0-java, not the Tomcat server binaries
Ubuntu 16.04tomcat7Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries bionic tomcat7 only builds libservlet3.0-java, not the Tomcat server binaries
UBUNTU-CVE-2025-61795
Ubuntu 16.04tomcat8Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries bionic tomcat7 only builds libservlet3.0-java, not the Tomcat server binaries
UBUNTU-CVE-2025-61795
Ubuntu 14.04tomcat6Fix pendingUBUNTU-CVE-2025-61795
Ubuntu 14.04tomcat7Fix pendingUBUNTU-CVE-2025-61795
Debian 14tomcat10Fixed10.1.52-1DEBIAN-CVE-2025-61795
Debian 14tomcat11Fixed11.0.15-1DEBIAN-CVE-2025-61795
Debian 14tomcat9Fixed9.0.70-2DEBIAN-CVE-2025-61795
Debian 13tomcat10Fixed10.1.52-1~deb13u1DEBIAN-CVE-2025-61795
Debian 13tomcat11Fixed11.0.15-1~deb13u1DEBIAN-CVE-2025-61795
Debian 13tomcat9Fixed9.0.70-2DEBIAN-CVE-2025-61795
Debian 12tomcat10Fixed10.1.52-1~deb12u1DEBIAN-CVE-2025-61795
Debian 12tomcat9Fixed9.0.70-2DEBIAN-CVE-2025-61795
Red Hat Enterprise Linux 10dogtag-pkiFix pending
Fix deferred
Red Hat Enterprise Linux 10idm-jssFix pending
Fix deferred
Red Hat Enterprise Linux 10idm-jss-tomcatFix pending
Fix deferred
Red Hat Enterprise Linux 10idm-pki-acmeFix pending
Fix deferred
Red Hat Enterprise Linux 10idm-pki-baseFix pending
Fix deferred
Red Hat Enterprise Linux 10idm-pki-caFix pending
Fix deferred
Red Hat Enterprise Linux 10idm-pki-javaFix pending
Fix deferred
Red Hat Enterprise Linux 10idm-pki-kraFix pending
Fix deferred
Red Hat Enterprise Linux 10idm-pki-serverFix pending
Fix deferred
Red Hat Enterprise Linux 10idm-pki-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 10mod_proxy_clusterFix pending
Fix deferred
Red Hat Enterprise Linux 10python3-idm-pkiFix pending
Fix deferred
Red Hat Enterprise Linux 10tomcatFixed1:10.1.36-3.el10_1.1RHSA-2025:23050
Red Hat Enterprise Linux 10tomcat-admin-webappsFixed1:10.1.36-3.el10_1.1RHSA-2025:23050
Red Hat Enterprise Linux 10tomcat-docs-webappFixed1:10.1.36-3.el10_1.1RHSA-2025:23050
Red Hat Enterprise Linux 10tomcat-el-5.0-apiFixed1:10.1.36-3.el10_1.1RHSA-2025:23050
Red Hat Enterprise Linux 10tomcat-jsp-3.1-apiFixed1:10.1.36-3.el10_1.1RHSA-2025:23050
Red Hat Enterprise Linux 10tomcat-libFixed1:10.1.36-3.el10_1.1RHSA-2025:23050
Red Hat Enterprise Linux 10tomcat-servlet-6.0-apiFixed1:10.1.36-3.el10_1.1RHSA-2025:23050
Red Hat Enterprise Linux 10tomcat-webappsFixed1:10.1.36-3.el10_1.1RHSA-2025:23050
Red Hat Enterprise Linux 10tomcat9Fixed1:9.0.110-2.el10_2RHSA-2026:18536
Red Hat Enterprise Linux 10tomcat9-admin-webappsFixed1:9.0.110-2.el10_2RHSA-2026:18536
Red Hat Enterprise Linux 10tomcat9-docs-webappFixed1:9.0.110-2.el10_2RHSA-2026:18536
Red Hat Enterprise Linux 10tomcat9-el-3.0-apiFixed1:9.0.110-2.el10_2RHSA-2026:18536
Red Hat Enterprise Linux 10tomcat9-jsp-2.3-apiFixed1:9.0.110-2.el10_2RHSA-2026:18536
Red Hat Enterprise Linux 10tomcat9-libFixed1:9.0.110-2.el10_2RHSA-2026:18536
Red Hat Enterprise Linux 10tomcat9-servlet-4.0-apiFixed1:9.0.110-2.el10_2RHSA-2026:18536
Red Hat Enterprise Linux 10tomcat9-webappsFixed1:9.0.110-2.el10_2RHSA-2026:18536
Red Hat Enterprise Linux 9idm-jssFix pending
Fix deferred
Red Hat Enterprise Linux 9idm-pki-acmeFix pending
Fix deferred
Red Hat Enterprise Linux 9idm-pki-baseFix pending
Fix deferred
Red Hat Enterprise Linux 9idm-pki-caFix pending
Fix deferred
Red Hat Enterprise Linux 9idm-pki-estFix pending
Fix deferred
Red Hat Enterprise Linux 9idm-pki-javaFix pending
Fix deferred
Red Hat Enterprise Linux 9idm-pki-kraFix pending
Fix deferred
Red Hat Enterprise Linux 9idm-pki-serverFix pending
Fix deferred
Red Hat Enterprise Linux 9idm-pki-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 9jssFix pending
Fix deferred
Red Hat Enterprise Linux 9log4jFix pending
Fix deferred
Red Hat Enterprise Linux 9log4j-jclFix pending
Fix deferred
Red Hat Enterprise Linux 9log4j-slf4jFix pending
Fix deferred
Red Hat Enterprise Linux 9mod_proxy_clusterFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-acmeFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-baseFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-base-javaFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-caFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-kraFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-serverFix pending
Fix deferred
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 9pki-symkeyFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 9python3-idm-pkiFix pending
Fix deferred
Red Hat Enterprise Linux 9python3-pkiFix pending
Fix deferred
Red Hat Enterprise Linux 9tomcatFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 9tomcat-admin-webappsFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 9tomcat-docs-webappFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 9tomcat-el-3.0-apiFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 9tomcat-jsp-2.3-apiFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 9tomcat-libFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 9tomcat-servlet-4.0-apiFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 9tomcat-webappsFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 8log4jFix pending
Fix deferred
Red Hat Enterprise Linux 8log4j-jclFix pending
Fix deferred
Red Hat Enterprise Linux 8log4j-slf4jFix pending
Fix deferred
Red Hat Enterprise Linux 8log4j-webFix 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.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 8tomcat-admin-webappsFixed1:9.0.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 8tomcat-docs-webappFixed1:9.0.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 8tomcat-el-3.0-apiFixed1:9.0.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 8tomcat-jsp-2.3-apiFixed1:9.0.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 8tomcat-libFixed1:9.0.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 8tomcat-servlet-4.0-apiFixed1:9.0.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 8tomcat-webappsFixed1:9.0.120-1.el8_10RHSA-2026:68677
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 10tomcatFixed1:10.1.36-3.el10_1.1ALSA-2025:23050
AlmaLinux 10tomcat-admin-webappsFixed1:10.1.36-3.el10_1.1ALSA-2025:23050
AlmaLinux 10tomcat-docs-webappFixed1:10.1.36-3.el10_1.1ALSA-2025:23050
AlmaLinux 10tomcat-el-5.0-apiFixed1:10.1.36-3.el10_1.1ALSA-2025:23050
AlmaLinux 10tomcat-jsp-3.1-apiFixed1:10.1.36-3.el10_1.1ALSA-2025:23050
AlmaLinux 10tomcat-libFixed1:10.1.36-3.el10_1.1ALSA-2025:23050
AlmaLinux 10tomcat-servlet-6.0-apiFixed1:10.1.36-3.el10_1.1ALSA-2025:23050
AlmaLinux 10tomcat-webappsFixed1:10.1.36-3.el10_1.1ALSA-2025:23050
AlmaLinux 8tomcatFixed1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux 8tomcat-admin-webappsFixed1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux 8tomcat-docs-webappFixed1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux 8tomcat-el-3.0-apiFixed1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux 8tomcat-jsp-2.3-apiFixed1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux 8tomcat-libFixed1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux 8tomcat-servlet-4.0-apiFixed1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux 8tomcat-webappsFixed1:9.0.120-1.el8_10ALSA-2026:68677
Rocky Linux 10tomcatFixed1:10.1.36-3.el10_1.1RLSA-2025:23050
Maven libraryorg.apache.tomcat.embed:tomcat-embed-coreFixed10.1.47GHSA-hgrr-935x-pq79
Maven libraryorg.apache.tomcat:tomcatFixed9.0.110GHSA-hgrr-935x-pq79
Maven libraryorg.apache.tomcat:tomcat-catalinaFixed9.0.110GHSA-hgrr-935x-pq79

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.