CyberSecBulletin
CVE-2025-31650NVD status: Modified

Apache Tomcat: Incomplete Cleanup

CVE-2025-31650 is a high-severity incomplete cleanup vulnerability in Apache Tomcat from Apache, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected Apache Tomcat versions: 9.0.76 through 9.0.102; 10.1.10 through 10.1.39; 11.0.0-M2 through 11.0.5, and others listed below. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 61.3% chance of exploitation within 30 days, which is in the top 0.82% of all scored CVEs.

Patch now

Exploitation in the next 30 days is more likely than not, according to EPSS.

What to do

  1. Update Tomcat to 9.0.104 or 10.1.40 or 11.0.6, whichever matches your release line, or a later version.
  2. Read the advisory on lists.apache.org for workarounds and exact fixed builds.
  3. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
ApacheApache Tomcat9.0.76 through 9.0.102; 10.1.10 through 10.1.39; 11.0.0-M2 through 11.0.5; 8.5.90 through 8.5.100Not stated
ApacheTomcat9.0.76 up to, but not including, 9.0.104; 10.1.10 up to, but not including, 10.1.40; 11.0.1 up to, but not including, 11.0.6; 11.0.09.0.104, 10.1.40, 11.0.6

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
NoneNo data is disclosed.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.17.5HighNVD
CVSS 3.17.5HighCISA (ADP)

Official 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.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Incomplete Cleanup

The product does not properly clean up and remove temporary or supporting resources after they have been used.

How developers prevent this class of flaw

  • Temporary files and other supporting resources should be deleted/released immediately after they are no longer needed.

More Incomplete Cleanup vulnerabilities (CWE-459)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Third-party and government advisories

Other vulnerabilities in Apache Tomcat

All Apache Tomcat vulnerabilities

Recent Incomplete Cleanup vulnerabilities

Spotted an error? Tell us.