cve.bz

CVE-2022-25762 Improper Resource Shutdown or Release

8.6 highEPSS 8.4%Fix available

High (8.6). EPSS 8.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 8.5.75, 9.0.20.

On this page
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.

Severity

CVSS 3.1

8.6 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
EPSS
8.4% (unchanged from 8.4% a week ago; 8.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-404 Improper Resource Shutdown or Release
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-25762 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-25762?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-25762?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-25762 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2022-25762

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2022-25762](https://cve.bz/cve/badge/CVE-2022-25762.svg)](https://cve.bz/cve/CVE-2022-25762)

HTML:

<a href="https://cve.bz/cve/CVE-2022-25762"><img src="https://cve.bz/cve/badge/CVE-2022-25762.svg" alt="CVE-2022-25762"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:tomcatfrom 8.5.0 before 8.5.76
apache:tomcatfrom 9.0.0 before 9.0.21
oracle:agile_product_lifecycle_management9.3.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-h3ch-5pp2-vh6wMavenorg.apache.tomcat:tomcat>=8.5.0 <8.5.758.5.75
GHSA-h3ch-5pp2-vh6wMavenorg.apache.tomcat:tomcat>=9.0.0M1 <9.0.209.0.20

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14tomcat99.0.22-1DEBIAN-CVE-2022-25762
UbuntuPro:18.04:LTStomcat8, tomcat9no fix listedUBUNTU-CVE-2022-25762
Red Hatenterprise_linux:8::appstreamapache-commons-collections0:3.2.2-10.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
Red Hatenterprise_linux:8::appstreamapache-commons-lang0:2.6-21.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
Red Hatenterprise_linux:8::appstreamapache-commons-net0:3.6-3.module+el8.3.0+6805+72837426RHSA-2020:4847
Red Hatenterprise_linux:8::appstreambea-stax, bea-stax-api0:1.2.0-16.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
Red Hatenterprise_linux:8::appstreamglassfish-fastinfoset0:1.2.13-9.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
Red Hatenterprise_linux:8::appstreamglassfish-jaxb, glassfish-jaxb-core, glassfish-jaxb-txw2 and 1 more0:2.2.11-11.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
Red Hatenterprise_linux:8::appstreamglassfish-jaxb-api0:2.2.12-8.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
Red Hatenterprise_linux:8::appstreamjackson-core, jackson-databind, jackson-annotations0:2.10.0-1.module+el8.2.0+5059+3eb3af25RHSA-2020:4847
Red Hatenterprise_linux:8::appstreamjackson-jaxrs-providers, jackson-jaxrs-json-provider0:2.9.9-1.module+el8.1.0+3832+9784644dRHSA-2020:4847
Red Hatenterprise_linux:8::appstreamjackson-module-jaxb-annotations0:2.7.6-4.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
Red Hatenterprise_linux:8::appstreamjakarta-commons-httpclient1:3.1-28.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
Red Hatenterprise_linux:8::appstreamjavassist, javassist-javadoc0:3.18.1-8.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
17 more for Red Hat in the JSON and on Red Hat's page.
Rocky Linux8apache-commons-collections0:3.2.2-10.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8apache-commons-collections0:3.2.2-10.module+el8.3.0+74+855e3f5dRLSA-2020:4847
Rocky Linux8apache-commons-lang0:2.6-21.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8apache-commons-lang0:2.6-21.module+el8.3.0+74+855e3f5dRLSA-2020:4847
Rocky Linux8apache-commons-net0:3.6-3.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8apache-commons-net0:3.6-3.module+el8.3.0+74+855e3f5dRLSA-2020:4847
Rocky Linux8bea-stax0:1.2.0-16.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8glassfish-fastinfoset0:1.2.13-9.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8glassfish-jaxb0:2.2.11-11.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8glassfish-jaxb-api0:2.2.12-8.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8jackson-core, jackson-databind, jackson-annotations0:2.10.0-1.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8jackson-jaxrs-providers0:2.9.9-1.module+el8.3.0+53+ea062990RLSA-2020:4847
27 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue affects Apache Tomcat 8.5.0 to 8.5.75 or Apache Tomcat 9.0.0.M1 to 9.0.20.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8pki-core:10.6-8030020200911215836.5ff1562fFixed 2020-11-04RHSA-2020:4847
Red Hat Enterprise Linux 8pki-deps:10.6-8030020200527165326.30b713e6Fixed 2020-11-04RHSA-2020:4847
Red Hat Enterprise Linux 6tomcat6Out of support scope
Red Hat Enterprise Linux 7tomcatNot affected
Red Hat Enterprise Linux 9pki-servlet-engineNot affected
Red Hat JBoss Web Server 3tomcatNot affected
Red Hat JBoss Web Server 5tomcatNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-25762.

Attack patterns (CAPEC)

  • CAPEC-125 Flooding Likelihood: High · Severity: Medium
  • CAPEC-130 Excessive Allocation Likelihood: Medium · Severity: Medium
  • CAPEC-131 Resource Leak Exposure Likelihood: Medium · Severity: Medium
  • CAPEC-494 TCP Fragmentation
  • CAPEC-495 UDP Fragmentation
  • CAPEC-496 ICMP Fragmentation
  • CAPEC-666 BlueSmacking Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON