Skip to main content
EPSS 1.2%top 35%

Apache Tomcat: Delayed cleaning of multi-part upload temporary files may lead to DoS (CVE-2025-61795)

0
Medium
Published: 11/06/2025 (11/06/2025, 13:00:35 UTC)
Source: GCVE Database
Product: tomcat

Description

Apache Tomcat versions from 9.0.0 through 9.0.109, 10.1.0 through 10.1.46, and 11.0.0 through 11.0.11 have a vulnerability where temporary files from multipart uploads are not immediately cleaned up if an error occurs. This delayed cleanup can cause disk space exhaustion leading to denial of service (DoS). The issue affects some older EOL versions as well. Fixed versions are 9.0.110 or later, 10.1.47 or later, and 11.0.12 or later.

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
tomcat6
pkg:deb/ubuntu/[email protected]+esm3?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=6.0.37-1=6.0.39-1=6.0.39-1ubuntu0.1=6.0.39-1ubuntu0.1+esm1=6.0.39-1ubuntu0.1+esm2=6.0.39-1ubuntu0.1+esm3
Ubuntu:Pro:14.04:LTSmore threats →ghsa
tomcat7
pkg:deb/ubuntu/[email protected]+esm2?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=7.0.42-1=7.0.47-1=7.0.50-1=7.0.52-1=7.0.52-1ubuntu0.1=7.0.52-1ubuntu0.3=7.0.52-1ubuntu0.6=7.0.52-1ubuntu0.7=7.0.52-1ubuntu0.8=7.0.52-1ubuntu0.9=7.0.52-1ubuntu0.10=7.0.52-1ubuntu0.11=7.0.52-1ubuntu0.13=7.0.52-1ubuntu0.14=7.0.52-1ubuntu0.15=7.0.52-1ubuntu0.16=7.0.52-1ubuntu0.16+esm1=7.0.52-1ubuntu0.16+esm2
Ubuntu:Pro:16.04:LTSmore threats →ghsa
tomcat8
pkg:deb/ubuntu/[email protected]+esm2?arch=source&distro=esm-infra-legacy/xenial
Affected versions
=8.0.26-1=8.0.28-1=8.0.30-1=8.0.32-1=8.0.32-1ubuntu1=8.0.32-1ubuntu1.1=8.0.32-1ubuntu1.2=8.0.32-1ubuntu1.3=8.0.32-1ubuntu1.4=8.0.32-1ubuntu1.5=8.0.32-1ubuntu1.6=8.0.32-1ubuntu1.7=8.0.32-1ubuntu1.8=8.0.32-1ubuntu1.9=8.0.32-1ubuntu1.10=8.0.32-1ubuntu1.11=8.0.32-1ubuntu1.13=8.0.32-1ubuntu1.13+esm1=8.0.32-1ubuntu1.13+esm2
Ubuntu:Pro:16.04:LTSmore threats →ghsa
tomcat7
pkg:deb/ubuntu/[email protected]+esm4?arch=source&distro=esm-apps-legacy/xenial
Affected versions
=7.0.64-1=7.0.68-1=7.0.68-1ubuntu0.1=7.0.68-1ubuntu0.3=7.0.68-1ubuntu0.4=7.0.68-1ubuntu0.4+esm1=7.0.68-1ubuntu0.4+esm2=7.0.68-1ubuntu0.4+esm3=7.0.68-1ubuntu0.4+esm4
Ubuntu:Pro:18.04:LTSmore threats →ghsa
tomcat8
pkg:deb/ubuntu/[email protected]~18.04.3+esm6?arch=source&distro=esm-apps/bionic
Affected versions
=8.5.21-1ubuntu1=8.5.29-1=8.5.30-1=8.5.30-1ubuntu1=8.5.30-1ubuntu1.2=8.5.30-1ubuntu1.3=8.5.30-1ubuntu1.4=8.5.39-1ubuntu1~18.04.1=8.5.39-1ubuntu1~18.04.2=8.5.39-1ubuntu1~18.04.3=8.5.39-1ubuntu1~18.04.3+esm1=8.5.39-1ubuntu1~18.04.3+esm2=8.5.39-1ubuntu1~18.04.3+esm3=8.5.39-1ubuntu1~18.04.3+esm4=8.5.39-1ubuntu1~18.04.3+esm5=8.5.39-1ubuntu1~18.04.3+esm6
Ubuntu:Pro:18.04:LTSmore threats →ghsa
tomcat9
pkg:deb/ubuntu/[email protected]+esm8?arch=source&distro=esm-apps/bionic
Affected versions
=9.0.16-3~18.04.1=9.0.16-3ubuntu0.18.04.1=9.0.16-3ubuntu0.18.04.2=9.0.16-3ubuntu0.18.04.2+esm1=9.0.16-3ubuntu0.18.04.2+esm2=9.0.16-3ubuntu0.18.04.2+esm3=9.0.16-3ubuntu0.18.04.2+esm4=9.0.16-3ubuntu0.18.04.2+esm5=9.0.16-3ubuntu0.18.04.2+esm6=9.0.16-3ubuntu0.18.04.2+esm7=9.0.16-3ubuntu0.18.04.2+esm8
Ubuntu:Pro:20.04:LTSmore threats →ghsa
tomcat9
pkg:deb/ubuntu/[email protected]+esm3?arch=source&distro=esm-apps/focal
Affected versions
=9.0.24-1=9.0.27-1=9.0.31-1=9.0.31-1ubuntu0.1=9.0.31-1ubuntu0.2=9.0.31-1ubuntu0.3=9.0.31-1ubuntu0.4=9.0.31-1ubuntu0.5=9.0.31-1ubuntu0.6=9.0.31-1ubuntu0.7=9.0.31-1ubuntu0.8=9.0.31-1ubuntu0.9=9.0.31-1ubuntu0.9+esm1=9.0.31-1ubuntu0.9+esm2=9.0.31-1ubuntu0.9+esm3
Ubuntu:Pro:22.04:LTSmore threats →ghsa
tomcat9
pkg:deb/ubuntu/[email protected]+esm4?arch=source&distro=esm-apps/jammy
Affected versions
=9.0.43-3=9.0.54-1=9.0.55-1=9.0.58-1=9.0.58-1ubuntu0.1=9.0.58-1ubuntu0.1+esm1=9.0.58-1ubuntu0.1+esm2=9.0.58-1ubuntu0.1+esm3=9.0.58-1ubuntu0.1+esm4=9.0.58-1ubuntu0.2=9.0.58-1ubuntu0.2+esm1=9.0.58-1ubuntu0.2+esm2=9.0.58-1ubuntu0.2+esm3=9.0.58-1ubuntu0.2+esm4
Ubuntu:Pro:24.04:LTSmore threats →ghsa
tomcat10
pkg:deb/ubuntu/[email protected]~esm4?arch=source&distro=esm-apps/noble
Affected versions
=10.1.10-1=10.1.14-1=10.1.15-1=10.1.16-1=10.1.16-1ubuntu0.1~esm1=10.1.16-1ubuntu0.1~esm2=10.1.16-1ubuntu0.1~esm3=10.1.16-1ubuntu0.1~esm4
Ubuntu:25.10more threats →ghsa
tomcat10
pkg:deb/ubuntu/[email protected]?arch=source&distro=questing
Affected versions
=10.1.35-1=10.1.40-1=10.1.40-1ubuntu1=10.1.40-1ubuntu1.25.10.1
Ubuntu:25.10more threats →ghsa
tomcat11
pkg:deb/ubuntu/[email protected]?arch=source&distro=questing
Affected versions
=11.0.6-1
Ubuntu:26.04:LTSmore threats →ghsa
tomcat10
pkg:deb/ubuntu/[email protected]~26.04.1?arch=source&distro=resolute
Affected versions
=10.1.40-1ubuntu1=10.1.40-1ubuntu1.26.04.1=10.1.55-1ubuntu2~26.04.1

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: 09/08/2026, 15:06:12 UTC

Technical Analysis

CVE-2025-61795 is an Improper Resource Shutdown or Release vulnerability in Apache Tomcat. When processing multipart uploads, if an error occurs (including exceeding limits), temporary copies of uploaded parts written to disk are not cleaned up immediately but rely on garbage collection to delete them. Depending on JVM settings, application memory usage, and load, this can cause disk space to fill faster than garbage collection can clear it, resulting in a denial of service. Affected versions include Apache Tomcat 11.0.0 through 11.0.11, 10.1.0 through 10.1.46, and 9.0.0 through 9.0.109, as well as some older EOL versions like 8.5.0 through 8.5.100. The issue is fixed in versions 11.0.12, 10.1.47, and 9.0.110 and later.

Potential Impact

The vulnerability can lead to denial of service by exhausting disk space due to delayed cleanup of temporary multipart upload files. This can degrade or disrupt the availability of Apache Tomcat services until disk space is freed or the server is restarted.

Mitigation Recommendations

A fix is available. Users should upgrade to Apache Tomcat versions 11.0.12 or later, 10.1.47 or later, or 9.0.110 or later to resolve this issue. No other mitigation actions are specifically recommended by the vendor advisory.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2025-61795
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
Cvss Version
3.1

Threat ID: 6a58b50368715ace43db2874

Added to database: 07/16/2026, 10:40:03 UTC

Last enriched: 09/08/2026, 15:06:12 UTC

Last updated: 09/10/2026, 20:52:22 UTC

Views: 31

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