Improper socket reuse in Apache Tomcat
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.tomcat:tomcat | >= 8.5.0, < 8.5.75, >= 9.0.0M1, < 9.0.20 | 8.5.75, 9.0.20 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L- Weakness (CWE)
CWE-404- Platform
- Java / Kotlin (Maven)
- Package
org.apache.tomcat:tomcat- Disclosed
- 14.05.2022
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-h3ch-5pp2-vh6w - CC BY 4.0
Vulnerability history: org.apache.tomcat:tomcat
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 162
- First → latest
- 12.2018 08.2026
- Without a fix
- 20
- Exploited in attacks
- 1
Severity breakdown
- Critical 8
- High 40
- Medium 102
- Low 12
Disclosures per year
- 2018: 1
- 2019: 1
- 2020: 2
- 2021: 5
- 2022: 125
- 2023: 3
- 2024: 2
- 2025: 4
- 2026: 19
-
Improper socket reuse in Apache Tomcat this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.