Loading...
Skip to main content

CVE-2025-31650

MEDIUM

Apache Tomcat Denial of Service via invalid HTTP priority header

Published April 28, 2025Updated February 4, 2026Source: osv

Summary

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.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.tomcat:tomcat-coyote to 11.0.6 or later
<!-- Update pom.xml dependency version to 11.0.6 for org.apache.tomcat:tomcat-coyote -->
Maven
Update org.apache.tomcat:tomcat-coyote to 10.1.40 or later
<!-- Update pom.xml dependency version to 10.1.40 for org.apache.tomcat:tomcat-coyote -->
Maven
Update org.apache.tomcat.embed:tomcat-embed-core to 11.0.6 or later
<!-- Update pom.xml dependency version to 11.0.6 for org.apache.tomcat.embed:tomcat-embed-core -->
Maven
Update org.apache.tomcat.embed:tomcat-embed-core to 10.1.40 or later
<!-- Update pom.xml dependency version to 10.1.40 for org.apache.tomcat.embed:tomcat-embed-core -->
Maven
Update org.apache.tomcat.embed:tomcat-embed-core to 9.0.104 or later
<!-- Update pom.xml dependency version to 9.0.104 for org.apache.tomcat.embed:tomcat-embed-core -->
Maven
Update org.apache.tomcat:tomcat-coyote to 9.0.104 or later
<!-- Update pom.xml dependency version to 9.0.104 for org.apache.tomcat:tomcat-coyote -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (8)

PackageEcosystemAffectedFixed In
org.apache.tomcat.embed:tomcat-embed-core
maven
8.5.0, 8.5.100, 8.5.11, 8.5.12 (+81 more)Range-based data available
org.apache.tomcat:tomcat-coyote
maven
11.0.0, 11.0.0-M10, 11.0.0-M11, 11.0.0-M12 (+24 more)11.0.6
org.apache.tomcat:tomcat-coyote
maven
10.1.10, 10.1.11, 10.1.12, 10.1.13 (+20 more)10.1.40
org.apache.tomcat.embed:tomcat-embed-core
maven
11.0.0, 11.0.0-M10, 11.0.0-M11, 11.0.0-M12 (+24 more)11.0.6
org.apache.tomcat.embed:tomcat-embed-core
maven
10.1.10, 10.1.11, 10.1.12, 10.1.13 (+20 more)10.1.40
org.apache.tomcat.embed:tomcat-embed-core
maven
9.0.100, 9.0.102, 9.0.76, 9.0.78 (+20 more)9.0.104
org.apache.tomcat:tomcat-coyote
maven
9.0.100, 9.0.102, 9.0.76, 9.0.78 (+20 more)9.0.104
org.apache.tomcat:tomcat-coyote
maven
8.5.0, 8.5.100, 8.5.11, 8.5.12 (+81 more)Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Confidentiality
Integrity
Availability

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U

Frequently Asked Questions

What is CVE-2025-31650?
Apache Tomcat Denial of Service via invalid HTTP priority header This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2025-31650?
CVE-2025-31650 affects org.apache.tomcat.embed:tomcat-embed-core and org.apache.tomcat:tomcat-coyote. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-31650 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-3p2h-wqq4-wf4h
BIT-tomcat-2025-31650

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies