WaratekVRT Sign in

CVE-2025-31651 Apache Tomcat

Affected softwareApache Tomcat
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in9.0.104, 10.1.40, 11.0.6
WeaknessCWE-116
Published28 Apr 2025
Updated17 Jun 2026

Description

Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in Apache Tomcat. For a subset of unlikely rewrite rule configurations, it was possible for a specially crafted request to bypass some rewrite rules. If those rewrite rules effectively enforced security constraints, those constraints could be bypassed. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.5, from 10.1.0-M1 through 10.1.39, from 9.0.0.M1 through 9.0.102. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version [FIXED_VERSION], which fixes the issue.

CWE-150

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 4.3% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC CVE-2025-31651 PoC 2 2025-04-08

Waratek protection

Outside Waratek scope

A Java vulnerability, but not one Waratek protects. It affects only Java on a user's desktop (applets, Web Start, JavaFX, the installer), sits in a product the Waratek agent can't be installed into, or is in a package we don't expect in business applications. The decision below says which.

  • Protection none
  • Action not pursued none
  • Review human Researcher
  • Record active
Decided by Manual classification of this CVE in the legacy dataset
Finding A manual classification set this CVE's status to Outside Waratek scope, but the CVE names a tracked product.

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CISA-ADP Secondary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2026 ↗ CPU 2026-Q3 Oracle Communications / Platform (Apache Tomcat) (24.2.0)
Oracle Critical Patch Update October 2025 ↗ CPU 2025-Q4 Oracle Siebel CRM / Application Interface (Apache Tomcat) (Prior to 25.8)
Oracle Critical Patch Update July 2025 ↗ CPU 2025-Q3 Oracle Fusion Middleware / Runtime Server (Apache Tomcat) (12.2.1.4.0)
Oracle Retail Applications / Security (Apache Tomcat) (20.0.5, 21.0.4, 22.0.2, 23.0.2, 24.0.1)
Oracle Supply Chain / Document Management (Apache Tomcat) (6.2.1)
Oracle Supply Chain / Document Management (Apache Tomcat) (9.3.6)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Platform (Apache Tomcat) 24.2.0 24.2.0
Oracle Fusion Middleware Runtime Server (Apache Tomcat) 12.2.1.4.0 12.2.1.4.0
Oracle Retail Applications Security (Apache Tomcat) 20.0.5, 21.0.4, 22.0.2, 23.0.2, 24.0.1 20.0.5 · 21.0.4 · 22.0.2 · 23.0.2 · 24.0.1
Oracle Siebel CRM Application Interface (Apache Tomcat) Prior to 25.8
Oracle Supply Chain Document Management (Apache Tomcat) 6.2.1 6.2.1 · 9.3.6

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.tomcat:tomcat-catalina 9.0.76 9.0.104 unbounded
org.apache.tomcat:tomcat-catalina 10.1.10 10.1.40 unbounded
org.apache.tomcat:tomcat-catalina 11.0.0-M2 11.0.6 unbounded
org.apache.tomcat.embed:tomcat-embed-core 9.0.76 9.0.104 unbounded
org.apache.tomcat.embed:tomcat-embed-core 10.1.10 10.1.40 unbounded
org.apache.tomcat.embed:tomcat-embed-core 11.0.0-M2 11.0.6 unbounded
org.apache.tomcat:tomcat-catalina 8.5.0 none 8.5.100
org.apache.tomcat.embed:tomcat-embed-core 8.5.0 none 8.5.100

Products and versions

3 products, 11 version entries
SourceVendorProductSchemeAffected versions
nvd apache tomcat generic ≥ 9.0.0 and < 9.0.104 · ≥ 10.1.0 and < 10.1.40 · ≥ 11.0.0 and < 11.0.6
osv org.apache.tomcat tomcat-catalina generic ≥ 8.5.0 and ≤ 8.5.100 · ≥ 9.0.76 and < 9.0.104 · ≥ 10.1.10 and < 10.1.40 · ≥ 11.0.0 and < 11.0.6
osv org.apache.tomcat.embed tomcat-embed-core generic ≥ 8.5.0 and ≤ 8.5.100 · ≥ 9.0.76 and < 9.0.104 · ≥ 10.1.10 and < 10.1.40 · ≥ 11.0.0 and < 11.0.6

References

URLTags
https://github.com/apache/tomcat/commit/066bf6b6a15a4e7e0941d4acf096841165b97098 WEB
https://github.com/apache/tomcat/commit/175dc75fc428930034a6c93fb52f830d955d8e64 WEB
https://github.com/apache/tomcat/commit/ee3ab548e92345eca0cbd1f01649eb36c6f29454 WEB
https://github.com/apache/tomcat/commit/fbecc915a10c5a3d634c5e2c6ced4ff479ce9953 WEB
https://github.com/apache/tomcat PACKAGE
https://lists.apache.org/list.html?announce@tomcat.apache.org WEB
https://lists.debian.org/debian-lts-announce/2025/07/msg00009.html WEB
https://tomcat.apache.org/security-10.html WEB
https://tomcat.apache.org/security-11.html WEB
https://tomcat.apache.org/security-9.html WEB

Timeline

Published2025-04-28By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.