{"schemaVersion":3,"id":"CVE-2022-25762","aliases":["UBUNTU-CVE-2022-25762","DEBIAN-CVE-2022-25762","GHSA-h3ch-5pp2-vh6w","BIT-tomcat-2022-25762"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-05-13T07:50:09.000Z","modified":"2026-10-08T21:14:02.790Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.6,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","exploitability":10,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","exploitability":10,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","exploitability":10,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.08405,"percentile":0.94931,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.08405},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.08405,"percentile":0.94931}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.08405,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.08405,"percentile":0.94931}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-404","name":"Improper Resource Shutdown or Release","description":"The product does not release or incorrectly releases a resource before it is made available for re-use.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/404.html"}],"affected":[{"vendor":"apache software foundation","product":"apache tomcat","name":"Apache Tomcat","label":"apache tomcat","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"Apache Tomcat 9 9.0.0.M1 to 9.0.20","noFixRecorded":false,"fixedIn":null},{"text":"Apache Tomcat 8.5 8.5.0 to 8.5.75","noFixRecorded":false,"fixedIn":null}],"versionsText":"Apache Tomcat 9 9.0.0.M1 to 9.0.20 | Apache Tomcat 8.5 8.5.0 to 8.5.75","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_tomcat"},{"vendor":"apache","product":"tomcat","name":"Tomcat","label":"tomcat","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.5.0, < 8.5.76","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0.0, < 9.0.21","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.5.0, < 8.5.76 | ≥ 9.0.0, < 9.0.21","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"tomcat","label":"Apache Tomcat","category":"server-app"}},"hubHref":"/vendor/apache/tomcat"},{"vendor":"debian","product":"tomcat9","name":"tomcat9","label":"tomcat9","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/tomcat9","purlType":"deb","versions":[{"text":"< 9.0.22-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.0.22-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"tomcat8","name":"tomcat8","label":"tomcat8","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/tomcat8","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"tomcat9","name":"tomcat9","label":"tomcat9","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/tomcat9","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"org.apache.tomcat","product":"tomcat","name":"org.apache.tomcat:tomcat","label":"tomcat","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.tomcat/tomcat","purlType":"maven","versions":[{"text":"≥ 8.5.0, < 8.5.75","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0.0M1, < 9.0.20","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.5.0, < 8.5.75 | ≥ 9.0.0M1, < 9.0.20","eol":null,"hubHref":null},{"vendor":"oracle","product":"agile_product_lifecycle_management","name":"agile product lifecycle management","label":"agile_product_lifecycle_management","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"9.3.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.3.6","eol":null,"hubHref":"/vendor/oracle/agile_product_lifecycle_management"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/6ckmjfb1k61dyzkto9vm2k5jvt4o7w7c","label":"lists.apache.org/thread/6ckmjfb1k61dyzkto9vm2k5jvt4o7w7c","hostname":"lists.apache.org","tags":["X Refsource MISC","REPORT","WEB","Mailing List","Vendor Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","label":"www.oracle.com/security-alerts/cpujul2022.html","hostname":"www.oracle.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220629-0003/","label":"security.netapp.com/advisory/ntap-20220629-0003/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-25762","label":"ubuntu.com/security/CVE-2022-25762","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/apache/tomcat/commit/e2d5a040b962a904db5264b3cb3282c6b05f823c","label":"github.com/apache/tomcat/commit/e2d5a040b962a904db5264b3cb3282c6b05f823c","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/apache/tomcat/commit/7046644bf361b89afc246b6643e24ce2ae60cacc","label":"github.com/apache/tomcat/commit/7046644bf361b89afc246b6643e24ce2ae60cacc","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/apache/tomcat/commit/339b40bc07bdba9ded565929b9a3448c5a78f015","label":"github.com/apache/tomcat/commit/339b40bc07bdba9ded565929b9a3448c5a78f015","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/apache/tomcat/commit/65fb1ee548111021edde247f3b3c409ec95a5183","label":"github.com/apache/tomcat/commit/65fb1ee548111021edde247f3b3c409ec95a5183","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/apache/tomcat/commit/01f2cf25b270a84d0daeefc4f215aa2f56e1df99","label":"github.com/apache/tomcat/commit/01f2cf25b270a84d0daeefc4f215aa2f56e1df99","hostname":"github.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-25762","label":"www.cve.org/CVERecord?id=CVE-2022-25762","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-25762","label":"security-tracker.debian.org/tracker/CVE-2022-25762","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25762","label":"nvd.nist.gov/vuln/detail/CVE-2022-25762","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/tomcat","label":"github.com/apache/tomcat","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security.netapp.com/advisory/ntap-20220629-0003","label":"security.netapp.com/advisory/ntap-20220629-0003","hostname":"security.netapp.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["RHSA-2020:4847"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-05-13T07:50:09.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-08T21:14:02.790Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T04:51:30.994Z","stale":false,"partial":false}}