Memory Leak Vulnerability in Apache Tomcat: CVE-2025-31650

tomcat10 Updated 02 Oct 2025

Summary

28/04/2025
N/A
No i
High
7.5

CVE-2025-31650: Improper Input Validation vulnerability in Apache Tomcat. Affects tomcat10 versions >= ff0629ca2bd82d6bff5245c02b42d932149df34d, < f8cfae0a0d1c8dc592099a1430cd08e352430823. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache Tomcat is an open-source implementation of the Java Servlet, JavaServer Pages, and Java Expression Language technologies. It is widely used for deploying Java applications. The software is known for its robustness, scalability, and support for various Java specifications. However, it is susceptible to vulnerabilities that can affect its performance and security, such as the improper input validation issue identified in CVE-2025-31650.

Vulnerability Detail

CVE-2025-31650 is an improper input validation vulnerability in Apache Tomcat that arises from incorrect error handling for invalid HTTP priority headers. This flaw leads to incomplete clean-up of failed requests, resulting in a memory leak. If a large number of such requests are made, it can trigger an OutOfMemoryException, causing a denial of service. The vulnerability affects multiple versions of Tomcat, including 9.0.76 through 9.0.102, 10.1.10 through 10.1.39, and 11.0.0-M2 through 11.0.5.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can limit the number of invalid HTTP requests processed by the server or implement rate limiting to mitigate the impact of potential denial of service attacks until the upgrade is completed.

Conclusion

CVE-2025-31650 is a significant vulnerability in Apache Tomcat that can lead to memory leaks and denial of service. Users are strongly advised to upgrade to the latest patched versions to ensure their systems remain secure. Temporary workarounds can help mitigate risks until an upgrade is feasible.

See every vulnerability recorded for tomcat10 →

Share this vulnerability

FAQ

CVE-2025-31650 is a vulnerability in Apache Tomcat that causes memory leaks due to improper input validation of HTTP priority headers.

The vulnerability affects Apache Tomcat versions from 9.0.76 to 9.0.102, 10.1.10 to 10.1.39, and 11.0.0-M2 to 11.0.5.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application using the Vulert playground at Vulert Scanner.

The main consequence is a denial of service due to OutOfMemoryExceptions triggered by memory leaks from invalid HTTP requests.

If an immediate upgrade is not possible, consider implementing rate limiting or restricting the number of invalid requests to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for tomcat10.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback