CVE-2025-61795

EUVD-2025-36223
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.3 MEDIUM
NETWORK
HIGH
LOW
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA-ADPADP
5.3 MEDIUM
NETWORK
HIGH
LOW
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 32%
Affected Products (NVD)
VendorProductVersion
apachetomcat
8.5.0 ≤
𝑥
≤ 8.5.100
apachetomcat
9.0.0 ≤
𝑥
< 9.0.110
apachetomcat
10.0.0 ≤
𝑥
< 10.0.27
apachetomcat
10.1.0 ≤
𝑥
< 10.1.47
apachetomcat
11.0.0 ≤
𝑥
< 11.0.12
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
tomcat10
bookworm
vulnerable
bookworm (security)
10.1.52-1~deb12u1
fixed
forky
10.1.52-1
fixed
sid
10.1.52-1
fixed
trixie
vulnerable
trixie (security)
10.1.52-1~deb13u1
fixed
tomcat11
forky
11.0.18-1
fixed
sid
11.0.18-1
fixed
trixie
vulnerable
trixie (security)
11.0.15-1~deb13u1
fixed
tomcat9
bookworm
9.0.70-2
fixed
bullseye
vulnerable
bullseye (security)
9.0.107-0+deb11u2
fixed
forky
9.0.115-1
fixed
sid
9.0.115-1
fixed
trixie
9.0.95-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
tomcat10
jammy
dne
noble
needs-triage
plucky
ignored
questing
needs-triage
tomcat11
jammy
dne
noble
dne
plucky
dne
questing
needs-triage
tomcat9
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
not-affected
plucky
not-affected
questing
not-affected