Vulnerability · Published Oct 27, 2025 · Assigned by apache
CVE-2025-61795Apache Tomcat: Delayed cleaning of multi-part upload temporary files may lead to DoS
Medium 5.3
In plain English
A medium-severity security flaw in Apache Tomcat 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 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | tomcat | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux:8 | tomcat | 1:9.0.120-1.el8_10 | ALSA-2026:68677 |
| AlmaLinux:10 | tomcat-admin-webapps | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux:8 | tomcat-admin-webapps | 1:9.0.120-1.el8_10 | ALSA-2026:68677 |
| AlmaLinux:10 | tomcat-docs-webapp | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux:8 | tomcat-docs-webapp | 1:9.0.120-1.el8_10 | ALSA-2026:68677 |
| AlmaLinux:8 | tomcat-el-3.0-api | 1:9.0.120-1.el8_10 | ALSA-2026:68677 |
| AlmaLinux:10 | tomcat-el-5.0-api | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux:8 | tomcat-jsp-2.3-api | 1:9.0.120-1.el8_10 | ALSA-2026:68677 |
| AlmaLinux:10 | tomcat-jsp-3.1-api | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux:10 | tomcat-lib | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux:8 | tomcat-lib | 1:9.0.120-1.el8_10 | ALSA-2026:68677 |
| AlmaLinux:8 | tomcat-servlet-4.0-api | 1:9.0.120-1.el8_10 | ALSA-2026:68677 |
| AlmaLinux:10 | tomcat-servlet-6.0-api | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux:10 | tomcat-webapps | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux:8 | tomcat-webapps | 1:9.0.120-1.el8_10 | ALSA-2026:68677 |
| Debian:12 | tomcat10 | 10.1.52-1~deb12u1 | DEBIAN-CVE-2025-61795 |
| Debian:12 | tomcat10 | 10.1.52-1~deb12u1 | DSA-6120-1 |
| Debian:13 | tomcat10 | 10.1.52-1~deb13u1 | DEBIAN-CVE-2025-61795 |
| Debian:13 | tomcat10 | 10.1.52-1~deb13u1 | DSA-6120-1 |
| Debian:14 | tomcat10 | 10.1.52-1 | DEBIAN-CVE-2025-61795 |
| Debian:13 | tomcat11 | 11.0.15-1~deb13u1 | DSA-6121-1 |
| Debian:13 | tomcat11 | 11.0.15-1~deb13u1 | DEBIAN-CVE-2025-61795 |
| Debian:14 | tomcat11 | 11.0.15-1 | DEBIAN-CVE-2025-61795 |
| Debian:12 | tomcat9 | 9.0.70-2 | DEBIAN-CVE-2025-61795 |
| Debian:13 | tomcat9 | 9.0.70-2 | DEBIAN-CVE-2025-61795 |
| Debian:14 | tomcat9 | 9.0.70-2 | DEBIAN-CVE-2025-61795 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | no fix listed | GHSA-hgrr-935x-pq79 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 11.0.12 | GHSA-hgrr-935x-pq79 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 10.1.47 | GHSA-hgrr-935x-pq79 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 9.0.110 | GHSA-hgrr-935x-pq79 |
| Maven | org.apache.tomcat:tomcat | 11.0.12 | GHSA-hgrr-935x-pq79 |
| Maven | org.apache.tomcat:tomcat | no fix listed | GHSA-hgrr-935x-pq79 |
| Maven | org.apache.tomcat:tomcat | 9.0.110 | GHSA-hgrr-935x-pq79 |
| Maven | org.apache.tomcat:tomcat | 10.1.47 | GHSA-hgrr-935x-pq79 |
| Maven | org.apache.tomcat:tomcat-catalina | no fix listed | GHSA-hgrr-935x-pq79 |
| Maven | org.apache.tomcat:tomcat-catalina | 9.0.110 | GHSA-hgrr-935x-pq79 |
| Maven | org.apache.tomcat:tomcat-catalina | 10.1.47 | GHSA-hgrr-935x-pq79 |
| Maven | org.apache.tomcat:tomcat-catalina | 11.0.12 | GHSA-hgrr-935x-pq79 |
| Rocky Linux:10 | tomcat | 1:10.1.36-3.el10_1.1 | RLSA-2025:23050 |
| Ubuntu:24.04:LTS | tomcat10 | no fix listed | UBUNTU-CVE-2025-61795 |
| Ubuntu:25.10 | tomcat10 | no fix listed | UBUNTU-CVE-2025-61795 |
| Ubuntu:26.04:LTS | tomcat10 | no fix listed | UBUNTU-CVE-2025-61795 |
| Ubuntu:25.10 | tomcat11 | no fix listed | UBUNTU-CVE-2025-61795 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | 11.0.0-M1 – through 11.0.1110.1.0-M1 – through 10.1.469.0.0.M1 – through 9.0.1098.5.0 – through 8.5.100 |
Weakness: CWE-404 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H