CVE-2025-31651
April 28, 2025
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.
Affected Packages
https://github.com/apache/tomcat.git (GITHUB):
Affected version(s) Fix Suggestion:
Update to version 10.0.40https://github.com/apache/tomcat.git (GITHUB):
Affected version(s) Fix Suggestion:
Update to version 9.0.104https://github.com/apache/tomcat.git (GITHUB):
Affected version(s) Fix Suggestion:
Update to version 11.0.6org.apache.tomcat:tomcat-catalina (JAVA):
Affected version(s) >=9.0.1 <9.0.104Fix Suggestion:
Update to version 9.0.104org.apache.tomcat:tomcat-catalina (JAVA):
Affected version(s) >=10.1.10 <10.1.40Fix Suggestion:
Update to version 10.1.40org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=9.0.1 <9.0.104Fix Suggestion:
Update to version 9.0.104org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=11.0.0-M3 <11.0.6Fix Suggestion:
Update to version 11.0.6org.apache.tomcat:tomcat-catalina (JAVA):
Affected version(s) >=11.0.0-M3 <11.0.6Fix Suggestion:
Update to version 11.0.6org.apache.tomcat:tomcat-catalina (JAVA):
Affected version(s) >=11.0.0 <11.0.6Fix Suggestion:
Update to version 11.0.6org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=11.0.0 <11.0.6Fix Suggestion:
Update to version 11.0.6org.apache.tomcat:tomcat-catalina (JAVA):
Affected version(s) >=9.0.76 <9.0.104Fix Suggestion:
Update to version 9.0.104org.apache.tomcat:tomcat-catalina (JAVA):
Affected version(s) >=10.1.0 <10.1.40Fix Suggestion:
Update to version 10.1.40org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=10.1.0 <10.1.40Fix Suggestion:
Update to version 10.1.40org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=10.1.10 <10.1.40Fix Suggestion:
Update to version 10.1.40org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=9.0.76 <9.0.104Fix Suggestion:
Update to version 9.0.104Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (13)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.10