CVE-2025-31650

NameCVE-2025-31650
DescriptionImproper 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. Users are recommended to upgrade to version 9.0.104, 10.1.40 or 11.0.6 which fix the issue.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tomcat10 (PTS)bookworm10.1.34-0+deb12u1vulnerable
bookworm (security)10.1.34-0+deb12u2vulnerable
trixie, sid10.1.40-1fixed
tomcat11 (PTS)trixie, sid11.0.6-1fixed
tomcat9 (PTS)bullseye9.0.43-2~deb11u10vulnerable
bullseye (security)9.0.43-2~deb11u12vulnerable
bookworm9.0.70-2fixed
trixie, sid9.0.95-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tomcat10source(unstable)10.1.40-1
tomcat11source(unstable)11.0.6-1
tomcat9source(unstable)9.0.70-2

Notes

Starting with 9.0.70-2 src:tomcat9 no longer ships the server stack, using that as the fixed version
https://lists.apache.org/thread/j6zzk0y3yym9pzfzkq5vcyxzz0yzh826
Fixed by: https://github.com/apache/tomcat/commit/75554da2fc5574862510ae6f0d7b3d78937f1d40 (11.0.6)
Fixed by: https://github.com/apache/tomcat/commit/f619e6a05029538886d5a9d987925d573b5bb8c2 (11.0.6)
Fixed by: https://github.com/apache/tomcat/commit/ded0285b96b4d3f5560dfc8856ad5ec4a9b50ba9 (11.0.6)
Fixed by: https://github.com/apache/tomcat/commit/cba1a0fe1289ee7f5dd46c61c38d1e1ac5437bff (10.1.40)
Fixed by: https://github.com/apache/tomcat/commit/1eef1dc459c45f1e421d8bd25ef340fc1cc34edc (10.1.40)
Fixed by: https://github.com/apache/tomcat/commit/8cc3b8fb3f2d8d4d6a757e014f19d1fafa948a60 (10.1.40)
Fixed by: https://github.com/apache/tomcat/commit/40ae788c2e64d018b4e58cd4210bb96434d0100d (9.0.104)
Fixed by: https://github.com/apache/tomcat/commit/b98e74f517b36929f4208506e5adad22cb767baa (9.0.104)
Fixed by: https://github.com/apache/tomcat/commit/b7674782679e1514a0d154166b1d04d38aaac4a9 (9.0.104)

Search for package or bug name: Reporting problems