---
id: CVE-2025-61795
title: >-
  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…
summary: >-
  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…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-404
vendor: apache
product: tomcat
affected:
  - 'tomcat >= 8.5.0, <= 8.5.100'
  - 'tomcat >= 9.0.0, < 9.0.110'
  - 'tomcat >= 10.0.0, < 10.0.27'
  - 'tomcat >= 10.1.0, < 10.1.47'
  - 'tomcat >= 11.0.0, < 11.0.12'
patched:
  - tomcat 11.0.12
published: '2025-10-27'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T11:10:00.250'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-61795'
references:
  - url: 'https://lists.apache.org/thread/wm9mx8brmx9g4zpywm06ryrtvd3160pp'
    label: security@apache.org
  - url: 'http://www.openwall.com/lists/oss-security/2025/10/27/6'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-032379.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.01249
epssPercentile: 0.68454
ingestedAt: '2026-10-08T11:31:27.642Z'
---

## Overview

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

- `tomcat >= 8.5.0, <= 8.5.100`
- `tomcat >= 9.0.0, < 9.0.110`
- `tomcat >= 10.0.0, < 10.0.27`
- `tomcat >= 10.1.0, < 10.1.47`
- `tomcat >= 11.0.0, < 11.0.12`

## Remediation

Upgrade past the affected range:

- `tomcat 11.0.12`
