Skip to main content
EPSS 1.2%top 35%

CVE-2025-61795: CWE-404 Improper Resource Shutdown or Release in Apache Software Foundation Apache Tomcat

0
Medium
VulnerabilityCVE-2025-61795cvecve-2025-61795cwe-404
Published: 10/27/2025 (10/27/2025, 17:30:28 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected software

org.apache.tomcat/tomcat
pkg:maven/org.apache.tomcat/tomcat
Affected versions
>=8.5.0 <=8.5.100

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/13/2026, 02:36:41 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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, 19:36:51 UTC

Views: 1066

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses