Vulnerabilityin Apache Tomcat.
No public exploit found; not on exploited lists.
If a web application sends a WebSocket message concurrently with the WebSocket connection closing when running on Apache Tomcat 8.5.0 to 8.5.75 or Apache Tomcat 9.0.0.M1 to 9.0.20, it is possible that the application will continue to use the socket after it has been closed. The error handling triggered in this case could cause the a pooled object to be placed in the pool twice. This could result in subsequent connections using the same object concurrently which could result in data being returned to the wrong use and/or other errors.
- Upgrade org.apache.tomcat:tomcat (Maven) to 8.5.75, 9.0.20 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 22 Feb 2022CVE ID reserved by apache.
- 13 May 2022Published in the CVE List.
- 8 Oct 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Tomcat vulnerabilities
Same weakness: Improper resource shutdown
- lists.apache.org x_refsource_MISC
- www.oracle.com x_refsource_MISC
- security.netapp.com x_refsource_CONFIRM
Patchminder. CVE-2022-25762: Vulnerability in Apache Tomcat. https://patchminder.com/cve/cve-2022-25762/ (accessed 5 December 2026).