CVE-2023-42795: Apache Tomcat · Incomplete Cleanup
Affects Apache TomcatSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 8.5.94 when convenient.
Data as of 26 Oct 2026, 12:54 UTC
- EPSS
- 2.5% chance of exploitation in 30 days – higher than 84% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.5.94
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Oct 2023
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade org.apache.tomcat/tomcat to 8.5.94.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.apache.tomcat/tomcatpkg:maven/org.apache.tomcat/tomcatOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately assess their Apache Tomcat deployments to identify affected versions. The primary mitigation is to upgrade to the fixed versions: 8.5.94 or later, 9.0.81 or later, 10.1.14 or later, or 11.0.0-M12 or later. If immediate upgrading is not feasible, organizations should implement strict network controls to limit access to Tomcat servers, such as IP whitelisting and web application firewalls (WAFs) configured to detect anomalous HTTP request patterns. Additionally, review and minimize sensitive data exposure in HTTP responses and ensure session management follows best practices to reduce the impact of potential leaks. Conduct thorough logging and monitoring to detect unusual request patterns that might indicate exploitation attempts. Regularly audit and sanitize application code to avoid storing sensitive data in server-side objects unnecessarily. Finally, maintain an up-to-date inventory of Tomcat instances and enforce patch management policies to prevent similar vulnerabilities from persisting.
Description
Incomplete Cleanup vulnerability in Apache Tomcat.When recycling various internal objects in Apache Tomcat from 11.0.0-M1 through 11.0.0-M11, from 10.1.0-M1 through 10.1.13, from 9.0.0-M1 through 9.0.80 and from 8.5.0 through 8.5.93, an error could cause Tomcat to skip some parts of the recycling process leading to information leaking from the current request/response to the next. Older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.0-M12 onwards, 10.1.14 onwards, 9.0.81 onwards or 8.5.94 onwards, which fixes the issue.
References
- lists.apache.org/thread/065jfyo583490r9j2v73nhpyxdob56lw (opens in a new tab)
- openwall.com/lists/oss-security/2023/10/10/9 (opens in a new tab)
- debian.org/security/2023/dsa-5522 (opens in a new tab)
- debian.org/security/2023/dsa-5521 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2023/10/msg00020.html (opens in a new tab)
- security.netapp.com/advisory/ntap-20231103-0007/ (opens in a new tab)