CVE-2023-42794: Apache Tomcat: FileUpload: DoS due to accumulation of temporary files on Windows
Vulnerability summary
CVE-2023-42794 is a medium (CVSS 5.9) Incomplete Cleanup vulnerability in apache software foundation apache tomcat. EPSS estimates a 2.30% chance of exploitation in the next 30 days, higher than 83.3% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 4Timeline
- 10-10-2023PublishedVulnerability first disclosed.
- 08-10-2026Last modifiedVulnerability information updated.
Description
Incomplete Cleanup vulnerability in Apache Tomcat. The internal fork of Commons FileUpload packaged with Apache Tomcat 9.0.70 through 9.0.80 and 8.5.85 through 8.5.93 included an unreleased, in progress refactoring that exposed a potential denial of service on Windows if a web application opened a stream for an uploaded file but failed to close the stream. The file would never be deleted from disk creating the possibility of an eventual denial of service due to the disk being full. Other, EOL versions may also be affected. Users are recommended to upgrade to version 9.0.81 onwards or 8.5.94 onwards, which fixes the issue.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.30%
Chance of exploitation in the next 30 days
Percentile
83%
Versus all other CVEs
30-day change
Increase +0.45 pp
From 1.85% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- tomcat≥ 8.5.85, < 8.5.94 | ≥ 9.0.70, < 9.0.81
Apache software foundation1 product
- apache tomcat≥ 9.0.70, ≤ 9.0.80 | ≥ 8.5.85, ≤ 8.5.93
Chainguard1 product
- tomcat-8.5.87All versions (No fix recorded)
Org.apache.tomcat1 product
- tomcat-coyote≥ 9.0.70, < 9.0.81 | ≥ 8.5.85, < 8.5.94
4 vendors · 4 products
References
4 links- github.com/apache/tomcatPACKAGE