CVE-2025-61795
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2025-61795 NameCVE-2025-61795 DescriptionImproper 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β¦
CVE-2025-61795
| Name | CVE-2025-61795 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4468-1, DSA-6120-1, DSA-6121-1 |
| Debian Bugs | 1119293, 1119294 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| tomcat10 (PTS) | bookworm, bookworm (security) | 10.1.52-1~deb12u1 | fixed |
| trixie (security), trixie | 10.1.52-1~deb13u1 | fixed | |
| forky | 10.1.54-1 | fixed | |
| sid | 10.1.55-1 | fixed | |
| tomcat11 (PTS) | trixie (security), trixie | 11.0.15-1~deb13u1 | fixed |
| forky | 11.0.21-1 | fixed | |
| sid | 11.0.22-2 | fixed | |
| tomcat9 (PTS) | bullseye | 9.0.43-2~deb11u10 | vulnerable |
| bullseye (security) | 9.0.107-0+deb11u2 | fixed | |
| bookworm | 9.0.70-2 | fixed | |
| trixie | 9.0.95-1 | fixed | |
| forky, sid | 9.0.118-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| tomcat10 | source | bookworm | 10.1.52-1~deb12u1 | DSA-6120-1 | ||
| tomcat10 | source | trixie | 10.1.52-1~deb13u1 | DSA-6120-1 | ||
| tomcat10 | source | (unstable) | 10.1.52-1 | 1119294 | ||
| tomcat11 | source | trixie | 11.0.15-1~deb13u1 | DSA-6121-1 | ||
| tomcat11 | source | (unstable) | 11.0.15-1 | 1119293 | ||
| tomcat9 | source | bullseye | 9.0.107-0+deb11u2 | DLA-4468-1 | ||
| tomcat9 | source | (unstable) | 9.0.70-2 |
Notes
Starting with 9.0.70-2 src:tomcat9 no longer ships the server stack, using that as the fixed version
https://github.com/apache/tomcat/commit/1cdf5f730ede75a0759492f179ac21ca4ff68e06 (11.0.12)
https://github.com/apache/tomcat/commit/af6e9181620304c0d818121c29c074e1330610d0 (10.1.47)
https://github.com/apache/tomcat/commit/afa422bd7ca1eef0f507259c682fd876494d9c3b (9.0.110)
https://lists.apache.org/thread/wm9mx8brmx9g4zpywm06ryrtvd3160pp
Apply commands
Starting with 9.0.70-2 src:tomcat9 no longer ships the server stack, using that as the fixed versionhttps://github.com/apache/tomcat/commit/1cdf5f730ede75a0759492f179ac21ca4ff68e06 (11.0.12)https://github.com/apache/tomcat/commit/af6e9181620304c0d818121c29c074e1330610d0 (10.1.47)https://github.com/apache/tomcat/commit/afa422bd7ca1eef0f507259c682fd876494d9c3b (9.0.110)https://lists.apache.org/thread/wm9mx8brmx9g4zpywm06ryrtvd3160pp
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| β | Affected | β |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 10.1.52-1~deb13u1 |
| sid | Fixed | 10.1.52-1 |
| forky | Fixed | 10.1.52-1 |
| bullseye | Fixed | 9.0.107-0+deb11u2 |
| bookworm | Fixed | 10.1.52-1~deb12u1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >=11.0.0-M1,<11.0.12 | 11.0.12 |
| Maven | org.apache.tomcat:tomcat | >=10.1.0-M1,<10.1.47 | 10.1.47 |
| Maven | org.apache.tomcat:tomcat | >=9.0.0.M1,<9.0.110 | 9.0.110 |
| Maven | org.apache.tomcat:tomcat | >=8.5.0,<=8.5.100 | |
| Maven | org.apache.tomcat:tomcat-catalina | >=11.0.0-M1,<11.0.12 | 11.0.12 |
| Maven | org.apache.tomcat:tomcat-catalina | >=10.1.0-M1,<10.1.47 | 10.1.47 |
| Maven | org.apache.tomcat:tomcat-catalina | >=9.0.0.M1,<9.0.110 | 9.0.110 |
| Maven | org.apache.tomcat:tomcat-catalina | >=8.5.0,<=8.5.100 | |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=11.0.0-M1,<11.0.12 | 11.0.12 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=10.1.0-M1,<10.1.47 | 10.1.47 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=9.0.0.M1,<9.0.110 | 9.0.110 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=8.5.0,<=8.5.100 | |
| MAVEN | org.apache.tomcat.embed:tomcat-embed-core | >= 8.5.0, <= 8.5.100 | |
| MAVEN | org.apache.tomcat.embed:tomcat-embed-core | >= 9.0.0.M1, < 9.0.110 | 9.0.110 |
| MAVEN | org.apache.tomcat:tomcat-catalina | >= 8.5.0, <= 8.5.100 | |
| MAVEN | org.apache.tomcat:tomcat-catalina | >= 9.0.0.M1, < 9.0.110 | 9.0.110 |
| MAVEN | org.apache.tomcat:tomcat | >= 8.5.0, <= 8.5.100 | |
| MAVEN | org.apache.tomcat:tomcat | >= 9.0.0.M1, < 9.0.110 | 9.0.110 |
| MAVEN | org.apache.tomcat.embed:tomcat-embed-core | >= 10.1.0-M1, < 10.1.47 | 10.1.47 |
| MAVEN | org.apache.tomcat.embed:tomcat-embed-core | >= 11.0.0-M1, < 11.0.12 | 11.0.12 |
| MAVEN | org.apache.tomcat:tomcat-catalina | >= 10.1.0-M1, < 10.1.47 | 10.1.47 |
| MAVEN | org.apache.tomcat:tomcat-catalina | >= 11.0.0-M1, < 11.0.12 | 11.0.12 |
| MAVEN | org.apache.tomcat:tomcat | >= 10.1.0-M1, < 10.1.47 | 10.1.47 |
| MAVEN | org.apache.tomcat:tomcat | >= 11.0.0-M1, < 11.0.12 | 11.0.12 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| apache | tomcat | {"startIncluding":"8.5.0","endIncluding":"8.5.100"} | |
References
- https://lists.apache.org/thread/wm9mx8brmx9g4zpywm06ryrtvd3160pp
- http://www.openwall.com/lists/oss-security/2025/10/27/6
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-61795
- https://github.com/apache/tomcat/commit/1cdf5f730ede75a0759492f179ac21ca4ff68e06
- https://github.com/apache/tomcat/commit/af6e9181620304c0d818121c29c074e1330610d0
- https://github.com/apache/tomcat/commit/afa422bd7ca1eef0f507259c682fd876494d9c3b
- https://github.com/apache/tomcat
- https://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.1.47
- https://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.12
- https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.110
- https://www.suse.com/security/cve/CVE-2025-61795.html
- https://security-tracker.debian.org/tracker/CVE-2025-61795
- https://github.com/advisories/GHSA-hgrr-935x-pq79
CWEs
CWE-404
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.