# CVE-2022-25762: Response mix-up with WebSocket concurrent send and close

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.6 (NVD); no exploitation reported by the 5 checked sources; EPSS 8% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-05-13 · Modified: 2026-10-08
- Aliases: UBUNTU-CVE-2022-25762, DEBIAN-CVE-2022-25762, GHSA-h3ch-5pp2-vh6w, BIT-tomcat-2022-25762
- Record: https://cvemate.com/vulnerability/CVE-2022-25762 · JSON: https://cvemate.com/vulnerability/CVE-2022-25762/json

## Description

```text
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.
```

## Signals

- CVSS: 8.6 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- EPSS: 7.933%, percentile 94.886%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache tomcat: Apache Tomcat 9 9.0.0.M1 to 9.0.20 \| Apache Tomcat 8.5 8.5.0 to 8.5.75
- apache tomcat: ≥ 8.5.0, \< 8.5.76 \| ≥ 9.0.0, \< 9.0.21
- debian tomcat9 (Debian): \< 9.0.22-1
- ubuntu tomcat8 (Ubuntu): All versions (No fix recorded)
- ubuntu tomcat9 (Ubuntu): All versions (No fix recorded)
- org.apache.tomcat tomcat (Maven): ≥ 8.5.0, \< 8.5.75 \| ≥ 9.0.0M1, \< 9.0.20
- oracle agile\_product\_lifecycle\_management: 9.3.6

## References

- <https://lists.apache.org/thread/6ckmjfb1k61dyzkto9vm2k5jvt4o7w7c>
- <https://www.oracle.com/security-alerts/cpujul2022.html>
- <https://security.netapp.com/advisory/ntap-20220629-0003/>
- <https://ubuntu.com/security/CVE-2022-25762>
- <https://github.com/apache/tomcat/commit/e2d5a040b962a904db5264b3cb3282c6b05f823c>
- <https://github.com/apache/tomcat/commit/7046644bf361b89afc246b6643e24ce2ae60cacc>
- <https://github.com/apache/tomcat/commit/339b40bc07bdba9ded565929b9a3448c5a78f015>
- <https://github.com/apache/tomcat/commit/65fb1ee548111021edde247f3b3c409ec95a5183>
- <https://github.com/apache/tomcat/commit/01f2cf25b270a84d0daeefc4f215aa2f56e1df99>
- <https://www.cve.org/CVERecord?id=CVE-2022-25762>
- <https://security-tracker.debian.org/tracker/CVE-2022-25762>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25762>
- <https://github.com/apache/tomcat>
- <https://security.netapp.com/advisory/ntap-20220629-0003>

---

Data as of 2026-12-05T09:42:44.541Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
