CVE-2023-42794

MEDIUM CVSS 3.1: 5.9 EPSS 2.30%
Updated Oct 09, 2026
Apache
Parameter Value
CVSS 5.9 (MEDIUM)
Affected Versions 8.5.85 — 9.0.81
Fixed In 9.0.81
Type CWE-459
Vendor Apache
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Apache Tomcat
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
8.5.85 8.5.94
Apache Tomcat
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
9.0.70 9.0.81