# CVE-2023-42794: Apache Tomcat: FileUpload: DoS due to accumulation of temporary files on Windows

- Severity: Medium 5.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.30%, higher than 83% of CVEs (2026-12-01)
- Published: 2023-10-10T17:17:01.378Z
- Modified: 2026-10-08T22:17:25.113Z
- Also known as: GHSA-jm7m-8jh6-29hp, BIT-TOMCAT-2023-42794
- Weaknesses: CWE-459
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Tomcat: from 9.0.70 up to 9.0.80; from 8.5.85 up to 8.5.93; from 10.0.0-M1 up to 10.0.27
- org.apache.tomcat:tomcat-coyote (Maven): from 9.0.70 before 9.0.81; from 8.5.85 before 8.5.94
- apache tomcat: from 8.5.85 before 8.5.94; from 9.0.70 before 9.0.81
- tomcat (Bitnami): from 8.5.85 before 8.5.94; from 9.0.70 before 9.0.81

## Every score

- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://lists.apache.org/thread/vvbr2ms7lockj1hlhz5q3wmxb2mwcw82> (advisory, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2023/10/10/8> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-42794> (advisory, web)
- <https://github.com/apache/tomcat> (package)

## Sources

- CVE List: [CVE-2023-42794](https://www.cve.org/CVERecord?id=CVE-2023-42794), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-jm7m-8jh6-29hp](https://github.com/advisories/GHSA-jm7m-8jh6-29hp), CC-BY-4.0, modified 2025-02-13
- NVD: [CVE-2023-42794](https://nvd.nist.gov/vuln/detail/CVE-2023-42794), Public domain, modified 2026-10-08
- Bitnami Vulnerability Database: [BIT-TOMCAT-2023-42794](https://osv.dev/vulnerability/BIT-TOMCAT-2023-42794), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-42794 · Whole record: https://cve.day/CVE-2023-42794.json · Rebuilt by cve.day 2026-11-25T22:58:28.652Z
