CVE-2022-25762: apache software foundation apache tomcat Improper Resource Shutdown or Release
Vulnerability summary
CVE-2022-25762 is a high (CVSS 8.6) Improper Resource Shutdown or Release vulnerability in apache software foundation apache tomcat. EPSS estimates a 8.40% chance of exploitation in the next 30 days, higher than 94.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 13-05-2022PublishedVulnerability first disclosed.
- 08-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- OSV · DebianEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- OSV · MavenEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
EPSS trend
Probability
8.40%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
0.00 pp
From 8.40% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu2 products
- tomcat8All versions (No fix recorded)
- tomcat9All versions (No fix recorded)
Apache1 product
- tomcat≥ 8.5.0, < 8.5.76 | ≥ 9.0.0, < 9.0.21
Apache software foundation1 product
- apache tomcatApache Tomcat 9 9.0.0.M1 to 9.0.20 | Apache Tomcat 8.5 8.5.0 to 8.5.75
Debian1 product
- tomcat9< 9.0.22-1
Oracle1 product
Org.apache.tomcat1 product
- tomcat≥ 8.5.0, < 8.5.75 | ≥ 9.0.0M1, < 9.0.20
6 vendors · 7 products
References
14 links- lists.apache.org/thread/6ckmjfb1k61dyzkto9vm2k5jvt4o7w7cX Refsource MISCREPORTWEBMailing ListVendor Advisory
Show all 14 references
- github.com/apache/tomcatPACKAGE