CVE-2025-31650: CWE-459 Incomplete Cleanup in Apache Software Foundation Apache Tomcat
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.
AI Analysis
Technical Summary
CVE-2025-31650 is a vulnerability classified under CWE-459 (Incomplete Cleanup) found in Apache Tomcat, a widely used Java-based web server and servlet container. The flaw stems from improper input validation of HTTP priority headers, which are used to indicate the priority of HTTP/2 requests. When Tomcat encounters certain invalid priority headers, it fails to properly clean up resources allocated for the failed request, causing a memory leak. Over time, if an attacker sends a large volume of such malformed requests, the server's memory consumption increases until it triggers an OutOfMemoryException, causing the server to crash or become unresponsive, resulting in a denial of service (DoS). This vulnerability affects Apache Tomcat versions 9.0.76 through 9.0.102, 10.1.10 through 10.1.39, and 11.0.0-M2 through 11.0.5, as well as end-of-life versions 8.5.90 through 8.5.100. The issue does not require any privileges or user interaction, and the attack vector is network-based (remote). The CVSS v3.1 base score is 7.5, reflecting high severity due to the ease of exploitation and impact on availability. No known exploits have been reported in the wild at the time of publication. The Apache Software Foundation has released patched versions 9.0.104, 10.1.40, and 11.0.6 to address this issue.
Potential Impact
For European organizations, this vulnerability poses a significant risk to the availability of web services relying on affected Apache Tomcat versions. Many enterprises, government agencies, and service providers in Europe use Apache Tomcat as part of their web infrastructure. A successful exploitation could lead to service outages, disrupting business operations, customer access, and critical online services. This is particularly impactful for sectors such as finance, healthcare, public administration, and e-commerce, where uptime and service reliability are critical. Additionally, denial of service incidents can cause reputational damage and potential regulatory scrutiny under frameworks like GDPR if service disruptions affect data availability or processing. The vulnerability does not directly compromise confidentiality or integrity but can be leveraged as part of a broader attack chain to cause operational disruption.
Mitigation Recommendations
European organizations should prioritize upgrading affected Apache Tomcat instances to the patched versions 9.0.104, 10.1.40, or 11.0.6 as soon as possible. In environments where immediate upgrade is not feasible, implementing network-level protections such as rate limiting and filtering malformed HTTP/2 priority headers can help mitigate the risk of memory exhaustion. Monitoring server memory usage and setting up alerts for abnormal consumption patterns can provide early warning signs of exploitation attempts. Employing Web Application Firewalls (WAFs) with updated signatures to detect and block suspicious HTTP/2 traffic is recommended. Additionally, organizations should review their incident response plans to include scenarios involving denial of service via resource exhaustion. Regularly auditing and inventorying Tomcat versions across the infrastructure will ensure no vulnerable instances remain unpatched.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain, Sweden, Belgium, Poland, Ireland
CVE-2025-31650: CWE-459 Incomplete Cleanup in Apache Software Foundation Apache Tomcat
Description
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.
AI-Powered Analysis
Technical Analysis
CVE-2025-31650 is a vulnerability classified under CWE-459 (Incomplete Cleanup) found in Apache Tomcat, a widely used Java-based web server and servlet container. The flaw stems from improper input validation of HTTP priority headers, which are used to indicate the priority of HTTP/2 requests. When Tomcat encounters certain invalid priority headers, it fails to properly clean up resources allocated for the failed request, causing a memory leak. Over time, if an attacker sends a large volume of such malformed requests, the server's memory consumption increases until it triggers an OutOfMemoryException, causing the server to crash or become unresponsive, resulting in a denial of service (DoS). This vulnerability affects Apache Tomcat versions 9.0.76 through 9.0.102, 10.1.10 through 10.1.39, and 11.0.0-M2 through 11.0.5, as well as end-of-life versions 8.5.90 through 8.5.100. The issue does not require any privileges or user interaction, and the attack vector is network-based (remote). The CVSS v3.1 base score is 7.5, reflecting high severity due to the ease of exploitation and impact on availability. No known exploits have been reported in the wild at the time of publication. The Apache Software Foundation has released patched versions 9.0.104, 10.1.40, and 11.0.6 to address this issue.
Potential Impact
For European organizations, this vulnerability poses a significant risk to the availability of web services relying on affected Apache Tomcat versions. Many enterprises, government agencies, and service providers in Europe use Apache Tomcat as part of their web infrastructure. A successful exploitation could lead to service outages, disrupting business operations, customer access, and critical online services. This is particularly impactful for sectors such as finance, healthcare, public administration, and e-commerce, where uptime and service reliability are critical. Additionally, denial of service incidents can cause reputational damage and potential regulatory scrutiny under frameworks like GDPR if service disruptions affect data availability or processing. The vulnerability does not directly compromise confidentiality or integrity but can be leveraged as part of a broader attack chain to cause operational disruption.
Mitigation Recommendations
European organizations should prioritize upgrading affected Apache Tomcat instances to the patched versions 9.0.104, 10.1.40, or 11.0.6 as soon as possible. In environments where immediate upgrade is not feasible, implementing network-level protections such as rate limiting and filtering malformed HTTP/2 priority headers can help mitigate the risk of memory exhaustion. Monitoring server memory usage and setting up alerts for abnormal consumption patterns can provide early warning signs of exploitation attempts. Employing Web Application Firewalls (WAFs) with updated signatures to detect and block suspicious HTTP/2 traffic is recommended. Additionally, organizations should review their incident response plans to include scenarios involving denial of service via resource exhaustion. Regularly auditing and inventorying Tomcat versions across the infrastructure will ensure no vulnerable instances remain unpatched.
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- apache
- Date Reserved
- 2025-03-31T12:13:57.705Z
- Cisa Enriched
- true
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 682d981bc4522896dcbd9e72
Added to database: 5/21/2025, 9:08:43 AM
Last enriched: 11/4/2025, 2:11:24 AM
Last updated: 11/29/2025, 1:27:08 PM
Views: 55
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2024-39936: n/a
HighCVE-2025-6666: Use of Hard-coded Cryptographic Key in motogadget mo.lock Ignition Lock
LowCVE-2025-65892: n/a
UnknownCVE-2025-65540: n/a
UnknownCVE-2025-66221: CWE-67: Improper Handling of Windows Device Names in pallets werkzeug
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.