cve.bz

CVE-2025-31650 apache tomcat: Incomplete Cleanup

7.5 highExploitEPSS 61%Fix available

High (7.5) in apache tomcat. EPSS 61% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat-coyote 10.1.40, 11.0.6, 9.0.104.

On this page
Improper Input Validation vulnerability in Apache Tomcat. Incorrect error handling for some invalid HTTP priority headers resulted in incomplete clean-up of the failed request which created a memory leak. A large number of such requests could trigger an OutOfMemoryException resulting in a denial of service. This issue affects Apache Tomcat: from 9.0.76 through 9.0.102, from 10.1.10 through 10.1.39, from 11.0.0-M2 through 11.0.5. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.90 though 8.5.100. Users are recommended to upgrade to version 9.0.104, 10.1.40 or 11.0.6 which fix the issue.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
61% (unchanged from 61% a week ago; 61% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-24. 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 2025-05-06. 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-459 Incomplete Cleanup
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-2025-31650 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-31650?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-31650?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-2025-31650 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.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Tomcatfrom 9.0.76 through 9.0.102
Apache Software Foundation Apache Tomcatfrom 10.1.10 through 10.1.39
Apache Software Foundation Apache Tomcatfrom 11.0.0-M2 through 11.0.5
Apache Software Foundation Apache Tomcatfrom 8.5.90 through 8.5.100

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3p2h-wqq4-wf4hMavenorg.apache.tomcat:tomcat-coyote>=9.0.76 <9.0.1049.0.104
GHSA-3p2h-wqq4-wf4hMavenorg.apache.tomcat:tomcat-coyote>=10.1.10 <10.1.4010.1.40
GHSA-3p2h-wqq4-wf4hMavenorg.apache.tomcat:tomcat-coyote>=11.0.0-M2 <11.0.611.0.6
GHSA-3p2h-wqq4-wf4hMavenorg.apache.tomcat.embed:tomcat-embed-core>=9.0.76 <9.0.1049.0.104
GHSA-3p2h-wqq4-wf4hMavenorg.apache.tomcat.embed:tomcat-embed-core>=10.1.10 <10.1.4010.1.40
GHSA-3p2h-wqq4-wf4hMavenorg.apache.tomcat.embed:tomcat-embed-core>=11.0.0-M2 <11.0.611.0.6
GHSA-3p2h-wqq4-wf4hMavenorg.apache.tomcat:tomcat-coyote>=8.5.0 <=8.5.100no fix published
GHSA-3p2h-wqq4-wf4hMavenorg.apache.tomcat.embed:tomcat-embed-core>=8.5.0 <=8.5.100no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11tomcat99.0.107-0+deb11u1DLA-4244-1
Debian12, 13, 14tomcat1010.1.40-1DEBIAN-CVE-2025-31650
Debian12, 13, 14tomcat99.0.70-2DEBIAN-CVE-2025-31650
Debian13, 14tomcat1111.0.6-1DEBIAN-CVE-2025-31650
Ubuntu24.04:LTStomcat1010.1.61~us1-0ubuntu1~24.04.2UBUNTU-CVE-2025-31650
UbuntuPro:24.04:LTStomcat1010.1.16-1ubuntu0.1~esm3UBUNTU-CVE-2025-31650 USN-7705-1
Red Hatenterprise_linux:8::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.87-1.el8_10.4RHSA-2025:11333
Red Hatenterprise_linux:9::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.87-3.el9_6.1RHSA-2025:11335
Red Hatenterprise_linux:10.0tomcat9, tomcat9-lib, tomcat9-webapps and 5 more1:9.0.87-5.el10_0.1RHSA-2025:11332
Red Hatenterprise_linux:10.2tomcat, tomcat-lib, tomcat-webapps and 5 more1:10.1.49-1.el10RHSA-2026:18537
Red Hatjboss_enterprise_web_server:5.8::el7jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 9 more0:9.0.87-11.redhat_00010.1.el7jwsRHSA-2025:4521
Red Hatjboss_enterprise_web_server:5.8::el8jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 7 more0:9.0.87-11.redhat_00010.1.el8jwsRHSA-2025:4521
Red Hatjboss_enterprise_web_server:5.8::el9jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 7 more0:9.0.87-11.redhat_00010.1.el9jwsRHSA-2025:4521
Red Hatjboss_enterprise_web_server:6.1::el8jws6-tomcat, jws6-tomcat-lib, jws6-tomcat-javadoc and 7 more0:10.1.36-6.redhat_00007.1.el8jwsRHSA-2025:3608
Red Hatjboss_enterprise_web_server:6.1::el8jws6-tomcat-jakartaee-migration0:1.0.6-2.redhat_00003.1.el8jwsRHSA-2025:3608
Red Hatjboss_enterprise_web_server:6.1::el8jws6-tomcat-native, jws6-tomcat-native-debuginfo0:1.3.1-1.redhat_1.el8jwsRHSA-2025:3608
Red Hatjboss_enterprise_web_server:6.1::el9jws6-tomcat, jws6-tomcat-lib, jws6-tomcat-javadoc and 7 more0:10.1.36-6.redhat_00007.1.el9jwsRHSA-2025:3608
Red Hatjboss_enterprise_web_server:6.1::el9jws6-tomcat-jakartaee-migration0:1.0.6-2.redhat_00003.1.el9jwsRHSA-2025:3608
4 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 moretomcat9.0.104-150200.81.1SUSE-SU-2025:1521-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Module for Web and Scripting 15 SP6 and 2 moretomcat1010.1.40-150200.5.40.1SUSE-SU-2025:1537-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7tomcat9.0.104-150200.81.1SUSE-SU-2025:01521-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7tomcat1010.1.40-150200.5.40.1SUSE-SU-2025:01537-1
openSUSELeap 15.6tomcat9.0.104-150200.81.1SUSE-SU-2025:1521-1
openSUSELeap 15.6tomcat1010.1.40-150200.5.40.1SUSE-SU-2025:1537-1
openSUSETumbleweedtomcat9.0.104-1.1openSUSE-SU-2025:15048-1
openSUSETumbleweedtomcat1010.1.40-1.1openSUSE-SU-2025:15049-1
AlmaLinux8tomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.87-1.el8_10.4ALSA-2025:11333
AlmaLinux9tomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.87-3.el9_6.1ALSA-2025:11335
AlmaLinux10tomcat9, tomcat9-lib, tomcat9-webapps and 5 more1:9.0.87-5.el10_0.1ALSA-2025:11332
Rocky Linux8tomcat1:9.0.87-1.el8_10.4RLSA-2025:11333
Rocky Linux9tomcat1:9.0.87-3.el9_6.1RLSA-2025:11335
Rocky Linux10tomcat91:9.0.87-5.el10_0.1RLSA-2025:11332

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; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is marked as Important vulnerability rather than a Moderate flaw because it introduces a reliable, unauthenticated denial-of-service (DoS) vector that exploits the core request-handling mechanism in Apache Tomcat. Specifically, the improper handling of invalid HTTP/2 Priority headers results in incomplete memory deallocation, creating a server-side memory leak. Unlike transient request errors that are gracefully handled and discarded, these malformed requests accumulate residual memory allocations over time.

This means an attacker can trigger an OutOfMemoryException simply by sending a large volume of crafted HTTP/2 requests, effectively rendering the server non-functional without needing authentication or access to specific endpoints. Given that HTTP/2 is widely used in production environments to improve performance, this vulnerability targets a default, high-traffic pathway, making it more impactful.

Red Hat's mitigation

Mitigation is either unavailable or does not meet Red Hat Product Security standards for usability, deployment, applicability, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10tomcat9-1:9.0.87-5.el10_0.1Fixed 2025-07-16RHSA-2025:11332
Red Hat Enterprise Linux 10tomcat-1:10.1.49-1.el10Fixed 2026-05-19RHSA-2026:18537
Red Hat Enterprise Linux 8tomcat-1:9.0.87-1.el8_10.4Fixed 2025-07-16RHSA-2025:11333
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicetomcat-1:9.0.87-1.el8_8.5Fixed 2025-07-17RHSA-2025:11382
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionstomcat-1:9.0.87-1.el8_8.5Fixed 2025-07-17RHSA-2025:11382
Red Hat Enterprise Linux 9tomcat-1:9.0.87-3.el9_6.1Fixed 2025-07-16RHSA-2025:11335
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionstomcat-1:9.0.87-1.el9_2.4Fixed 2025-07-17RHSA-2025:11381
Red Hat Enterprise Linux 9.4 Extended Update Supporttomcat-1:9.0.87-1.el9_4.4Fixed 2025-07-16RHSA-2025:11334
Red Hat JBoss Web Server 5tomcatFixed 2025-05-08RHSA-2025:4522
Red Hat JBoss Web Server 5.8 on RHEL 7jws5-tomcat-0:9.0.87-11.redhat_00010.1.el7jwsFixed 2025-05-08RHSA-2025:4521
Red Hat JBoss Web Server 5.8 on RHEL 8jws5-tomcat-0:9.0.87-11.redhat_00010.1.el8jwsFixed 2025-05-08RHSA-2025:4521
Red Hat JBoss Web Server 5.8 on RHEL 9jws5-tomcat-0:9.0.87-11.redhat_00010.1.el9jwsFixed 2025-05-08RHSA-2025:4521
Red Hat JBoss Web Server 6tomcatFixed 2025-04-07RHSA-2025:3609
Red Hat JBoss Web Server 6.1 on RHEL 8jws6-tomcat-0:10.1.36-6.redhat_00007.1.el8jwsFixed 2025-04-07RHSA-2025:3608
Red Hat JBoss Web Server 6.1 on RHEL 8jws6-tomcat-jakartaee-migration-0:1.0.6-2.redhat_00003.1.el8jwsFixed 2025-04-07RHSA-2025:3608
Red Hat JBoss Web Server 6.1 on RHEL 8jws6-tomcat-native-0:1.3.1-1.redhat_1.el8jwsFixed 2025-04-07RHSA-2025:3608
Red Hat Enterprise Linux 6tomcat6Out of support scope
Red Hat Enterprise Linux 7tomcatOut of support scope
Red Hat Enterprise Linux 8pki-deps:10.6/pki-servlet-engineNot affected
Red Hat Enterprise Linux 9pki-servlet-engineNot affected
3 more in the JSON and on Red Hat's page.

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-2025-31650.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

References

Check your stackJSON