CVE-2025-31650
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Apache Tomcat 10.1.39 - Denial of Service (DoS)
OS impact
Arch Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 10.1.40-1 |
| sid | Fixed | 10.1.40-1 |
| forky | Fixed | 10.1.40-1 |
| bullseye | Fixed | 9.0.107-0+deb11u1 |
| bookworm | Fixed | 10.1.40-1 |
Red Hat Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
Rocky Linux Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Maven | org.apache.tomcat:tomcat-coyote | >=9.0.76,<9.0.104 | 9.0.104 |
| Maven | org.apache.tomcat:tomcat-coyote | >=10.1.10,<10.1.40 | 10.1.40 |
| Maven | org.apache.tomcat:tomcat-coyote | >=11.0.0-M2,<11.0.6 | 11.0.6 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=9.0.76,<9.0.104 | 9.0.104 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=10.1.10,<10.1.40 | 10.1.40 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=11.0.0-M2,<11.0.6 | 11.0.6 |
| Maven | org.apache.tomcat:tomcat-coyote | >=8.5.0,<=8.5.100 | |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=8.5.0,<=8.5.100 | |
References
- https://access.redhat.com/errata/RHSA-2025:11335
- https://errata.rockylinux.org/RLSA-2025:11333
- https://nvd.nist.gov/vuln/detail/CVE-2025-31650
- https://github.com/apache/tomcat/commit/1eef1dc459c45f1e421d8bd25ef340fc1cc34edc
- https://github.com/apache/tomcat/commit/40ae788c2e64d018b4e58cd4210bb96434d0100d
- https://github.com/apache/tomcat/commit/75554da2fc5574862510ae6f0d7b3d78937f1d40
- https://github.com/apache/tomcat/commit/8cc3b8fb3f2d8d4d6a757e014f19d1fafa948a60
- https://github.com/apache/tomcat/commit/b7674782679e1514a0d154166b1d04d38aaac4a9
- https://github.com/apache/tomcat/commit/b98e74f517b36929f4208506e5adad22cb767baa
- https://github.com/apache/tomcat/commit/cba1a0fe1289ee7f5dd46c61c38d1e1ac5437bff
- https://github.com/apache/tomcat/commit/ded0285b96b4d3f5560dfc8856ad5ec4a9b50ba9
- https://github.com/apache/tomcat/commit/f619e6a05029538886d5a9d987925d573b5bb8c2
- https://github.com/apache/tomcat
- https://lists.apache.org/thread/j6zzk0y3yym9pzfzkq5vcyxzz0yzh826
- https://lists.debian.org/debian-lts-announce/2025/07/msg00009.html
- https://tomcat.apache.org/security-10.html
- https://tomcat.apache.org/security-11.html
- https://tomcat.apache.org/security-9.html
- http://www.openwall.com/lists/oss-security/2025/04/28/2
- https://www.suse.com/security/cve/CVE-2025-31650.html
- https://errata.rockylinux.org/RLSA-2025:11335
- https://security-tracker.debian.org/tracker/CVE-2025-31650
- https://access.redhat.com/errata/RHSA-2025:11333
- https://bugzilla.redhat.com/2333521
- https://bugzilla.redhat.com/2362783
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.