CVE-2025-31651 Apache Tomcat
| Affected software | Apache Tomcat |
|---|---|
| Severity | 9.8 Critical CVSS 3.1 2 scores |
| Fixed in | 9.0.104, 10.1.40, 11.0.6 |
| Weakness | CWE-116 |
| Published | 28 Apr 2025 |
| Updated | 17 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.
Exploitation status
- 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
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | CVE-2025-31651 PoC | 2 | 2025-04-08 |
Waratek protection
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
CVSS
9.8 CRITICAL v3.1CVSS: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.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| 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
| Advisory | Type | Quarter | Products 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
| Family | Component | Versions, as Oracle lists them | Read 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| Package | Introduced | Fixed | Last 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| Source | Vendor | Product | Scheme | Affected 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
Timeline
Timeline
| Published | 2025-04-28 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |