CVE-2025-31651 Details
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.
A vulnerability allowing the bypass of certain rewrite rules in Apache Tomcat has been identified. This issue arises from improper handling of escape, meta, or control sequences. It affects Apache Tomcat versions 11.0.0-M1 through 11.0.5, 10.1.0-M1 through 10.1.39, and 9.0.0.M1 through 9.0.102. The vulnerability is relevant for a specific subset of unlikely rewrite rule configurations, where a specially crafted request could evade some rewrite rules. If the bypassed rules were enforcing security constraints, those constraints could be circumvented.
Users are advised to upgrade to Apache Tomcat versions 11.0.6, 10.1.41, or 9.0.105, all of which address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/07/msg00009.html | CVE | |
| http://www.openwall.com/lists/oss-security/2025/04/28/3 | CVE | Mailing ListThird Party Advisory |
| https://lists.apache.org/[email protected] | [email protected] | Mailing ListVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-116 | Improper Encoding or Escaping of Output | [email protected] |
| CWE-116 | Improper Encoding or Escaping of Output | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache tomcat | >= 9.0.0, < 9.0.104 >= 10.1.0, < 10.1.40 >= 11.0.0, < 11.0.6 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Aug 8, 2025 | CVE Modified | [email protected] |
| Aug 7, 2025 | CVE Modified | [email protected] |
| May 6, 2025 | CVE Modified | CISA-ADP |
| May 6, 2025 | CVE Modified | [email protected] |
| May 5, 2025 | Initial Analysis | [email protected] |
| Apr 28, 2025 | CVE Modified | CVE |
| Apr 28, 2025 | New CVE Received | [email protected] |