CVE-2025-61795: CWE-404 Improper Resource Shutdown or Release in Apache Software Foundation Apache Tomcat
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.
AI Analysis
Technical Summary
This vulnerability in Apache Tomcat (CVE-2025-61795) involves improper cleanup of temporary files created during multipart upload processing when an error occurs. Instead of immediate deletion, these temporary copies remain until garbage collection runs, which depending on JVM configuration and load, can cause disk space exhaustion and result in a denial of service. Affected versions include 11.0.0-M1 through 11.0.11, 10.1.0-M1 through 10.1.46, and 9.0.0.M1 through 9.0.109, as well as some older EOL versions like 8.5.0 through 8.5.100. The Apache Software Foundation recommends upgrading to 11.0.12, 10.1.47, or 9.0.110 or later to remediate the issue.
Potential Impact
The vulnerability can cause a denial of service by exhausting disk space due to temporary files not being promptly deleted after multipart upload errors. There is no impact on confidentiality or integrity. The CVSS score is 5.3 (medium severity), reflecting a network attack vector with high attack complexity and low privileges required, but no confidentiality or integrity impact.
Mitigation Recommendations
A fix is available in Apache Tomcat versions 11.0.12, 10.1.47, and 9.0.110 or later. Users should upgrade to these versions or newer to remediate the vulnerability. No additional mitigation steps are indicated by the vendor advisory.
CVE-2025-61795: CWE-404 Improper Resource Shutdown or Release in Apache Software Foundation Apache Tomcat
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.
CVSS v3.1
Score 5.3medium
Affected software
pkg:maven/org.apache.tomcat/tomcatRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Apache Tomcat (CVE-2025-61795) involves improper cleanup of temporary files created during multipart upload processing when an error occurs. Instead of immediate deletion, these temporary copies remain until garbage collection runs, which depending on JVM configuration and load, can cause disk space exhaustion and result in a denial of service. Affected versions include 11.0.0-M1 through 11.0.11, 10.1.0-M1 through 10.1.46, and 9.0.0.M1 through 9.0.109, as well as some older EOL versions like 8.5.0 through 8.5.100. The Apache Software Foundation recommends upgrading to 11.0.12, 10.1.47, or 9.0.110 or later to remediate the issue.
Potential Impact
The vulnerability can cause a denial of service by exhausting disk space due to temporary files not being promptly deleted after multipart upload errors. There is no impact on confidentiality or integrity. The CVSS score is 5.3 (medium severity), reflecting a network attack vector with high attack complexity and low privileges required, but no confidentiality or integrity impact.
Mitigation Recommendations
A fix is available in Apache Tomcat versions 11.0.12, 10.1.47, and 9.0.110 or later. Users should upgrade to these versions or newer to remediate the vulnerability. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- apache
- Date Reserved
- 2025-10-01T09:20:53.155Z
- State
- PUBLISHED
Threat ID: 68ffadeaba6dffc5e205067d
Added to database: 10/27/2025, 17:37:46 UTC
Last enriched: 05/13/2026, 02:36:41 UTC
Last updated: 09/10/2026, 20:52:22 UTC
Views: 1067
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.