CVE-2022-25762
HIGH 8.6CVSS 3.1Improper 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.
- Published
- 13 May 2022
- Last modified
- 8 Oct 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-404
- Also known as
- BIT-tomcat-2022-25762GHSA-h3ch-5pp2-vh6w
- Sources
- NVDJSONOSV GHSA-h3ch-5pp2-vh6wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 8.5.0, < 8.5.76 | 8.5.76 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 9.0.0, < 9.0.21 | 9.0.21 |
| NVD | oracle | agile_product_lifecycle_managementcpe:2.3:a:oracle:agile_product_lifecycle_management:9.3.6:*:*:*:*:*:*:* |
= 9.3.6 | |
| OSV | Maven | org.apache.tomcat:tomcat | >= 8.5.0, < 8.5.75 | 8.5.75 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 9.0.0M1, < 9.0.20 | 9.0.20 |
References
- https://lists.apache.org/thread/6ckmjfb1k61dyzkto9vm2k5jvt4o7w7c · Mailing List, Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20220629-0003/ · Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25762 · ADVISORY
- https://github.com/apache/tomcat · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 13 May 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2022)