CVE-2022-25762 · apache
Response mix-up with WebSocket concurrent send and close
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 2022-05-13, last changed 2026-10-08. Weakness: CWE-404.
How to fix
Upgrade to a fixed version: org.apache.tomcat:tomcat 8.5.75, 9.0.20 (Maven) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Timeline
| 2022-05-13 | Published |
| 2022-05-14 | Package advisory GHSA-h3ch-5pp2-vh6w |
| 2026-10-08 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 5.61% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-h3ch-5pp2-vh6w | org.apache.tomcat:tomcat (Maven) | 8.5.75 |
| GHSA-h3ch-5pp2-vh6w | org.apache.tomcat:tomcat (Maven) | 9.0.20 |
Also known as: GHSA-h3ch-5pp2-vh6w
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-68525 | 2026-08-25 | 9.1 | Apache Tomcat: Redirect after FORM auth may bypass method specific constraints |
| CVE-2026-65905 | 2026-08-25 | 9.8 | Apache Tomcat: Limited replay attack possible with DIGEST authentication |
| CVE-2026-65182 | 2026-08-25 | 9.1 | Apache Tomcat: Bypass longest prefix security constraint |
| CVE-2026-55957 | 2026-06-29 | 7.3 | Apache Tomcat: Authentication bypass with JNDIRealm and GSSAPI authenticated bind |
| CVE-2026-55956 | 2026-06-29 | 6.5 | Apache Tomcat: Security constraints for default servlet ignored method |
| CVE-2026-55955 | 2026-06-29 | 6.5 | Apache Tomcat: EncryptInterceptor not protected against replay attacks |
| CVE-2026-55276 | 2026-06-29 | 9.1 | Apache Tomcat: Logged effective web.xml is incomplete |
| CVE-2026-53404 | 2026-06-29 | 7.3 | Apache Tomcat: Bad ornext processing in RewriteValve |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2022-25762, or call /api/v1/vulnerabilities/CVE-2022-25762. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.