CVE-2022-25762
Also known as: GHSA-h3ch-5pp2-vh6w
EU Vulnerability Database: EUVD-2022-4051
Description
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.
Severity
CVSS 3.x
8.6
- Exploitability
- 3.9
- Impact
- 4.7
- AV:N
- AC:L
- PR:N
- UI:N
- S:U
- C:H
- I:L
- A:L
CVSS 2.0
7.5
- Exploitability
- 10
- Impact
- 6.4
- AV:N
- AC:L
- Au:N
- C:P
- I:P
- A:P
Weakness Enumeration
Change History
Last Modified: Oct 8, 2026
Affected Packages
Maven org.apache.tomcat:tomcat: >= 8.5.0, < 8.5.75
Maven org.apache.tomcat:tomcat: >= 9.0.0M1, < 9.0.20
Known Affected Software Configurations
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
cpe:2.3:a:oracle:agile_product_lifecycle_management:9.3.6:*:*:*:*:*:*:*
References to Advisories, Solutions, and Tools
[security@apache.org] Mailing List, Vendor Advisory
[security@apache.org] Third Party Advisory
[security@apache.org] Patch, Third Party Advisory
[af854a3a-2127-422b-91ae-364da2661108] Mailing List, Vendor Advisory
[af854a3a-2127-422b-91ae-364da2661108] Third Party Advisory
[af854a3a-2127-422b-91ae-364da2661108] Patch, Third Party Advisory