---
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
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61795.json
  - url: 'https://access.redhat.com/security/cve/CVE-2025-61795'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2406588'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2025-61795'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-61795'
  - url: >-
      https://github.com/apache/tomcat/commit/1cdf5f730ede75a0759492f179ac21ca4ff68e06
  - url: 'https://access.redhat.com/errata/RHSA-2025:19809'
  - url: 'https://access.redhat.com/errata/RHSA-2025:23051'
  - url: 'https://access.redhat.com/errata/RHSA-2026:67163'
  - url: 'https://access.redhat.com/errata/RHSA-2025:23050'
  - url: 'https://access.redhat.com/errata/RHSA-2026:18536'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68677'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68680'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68678'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68679'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68659'
  - url: 'https://access.redhat.com/errata/RHSA-2026:18916'
  - url: 'https://access.redhat.com/errata/RHSA-2026:8334'
  - url: 'https://access.redhat.com/errata/RHSA-2026:6569'
  - url: 'https://access.redhat.com/errata/RHSA-2025:19810'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
epss: 0.01249
epssPercentile: 0.6922
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`

## Vendor advisories

- **RHSA-2025:19809** · Red Hat · fixed in: Red Hat JBoss Web Server 6.1 for RHEL 10, Red Hat JBoss Web Server 6.1 for RHEL 8, Red Hat JBoss Web Server 6.1 for RHEL 9 · released 2025-11-06 · [advisory](https://access.redhat.com/errata/RHSA-2025:19809)
- **RHSA-2025:23051** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v. 10.0) · released 2025-12-10 · [advisory](https://access.redhat.com/errata/RHSA-2025:23051)
- **RHSA-2026:67163** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v. 10.0) · released 2026-09-14 · [advisory](https://access.redhat.com/errata/RHSA-2026:67163)
- **RHSA-2025:23050** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10) · released 2025-12-10 · [advisory](https://access.redhat.com/errata/RHSA-2025:23050)
- **RHSA-2026:18536** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10) · released 2026-05-19 · [advisory](https://access.redhat.com/errata/RHSA-2026:18536)
- **RHSA-2026:68677** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8) · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68677)
- **RHSA-2026:68680** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.8.8), Red Hat Enterprise Linux AppStream TUS (v.8.8) · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68680)
- **RHSA-2026:68678** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.2) · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68678)
- **RHSA-2026:68679** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.4) · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68679)
- **RHSA-2026:68659** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v.9.6) · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68659)
- **RHSA-2026:18916** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9) · released 2026-05-19 · [advisory](https://access.redhat.com/errata/RHSA-2026:18916)
- **Red Hat VEX** · Moderate · affected: Red Hat Certificate System 10, Red Hat Data Grid 8, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Certificate System 10, Red Hat Data Grid 8, … · updated 2026-10-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61795.json)
