Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
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.40
https://github.com/apache/tomcat.git (GITHUB):
Affected version(s)
Fix Suggestion:
Update to version 9.0.104
https://github.com/apache/tomcat.git (GITHUB):
Affected version(s)
Fix Suggestion:
Update to version 11.0.6
org.apache.tomcat:tomcat-catalina (JAVA):
Affected version(s) >=9.0.1 <9.0.104
Fix Suggestion:
Update to version 9.0.104
org.apache.tomcat:tomcat-catalina (JAVA):
Affected version(s) >=10.1.10 <10.1.40
Fix Suggestion:
Update to version 10.1.40
org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=9.0.1 <9.0.104
Fix Suggestion:
Update to version 9.0.104
org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=11.0.0-M3 <11.0.6
Fix Suggestion:
Update to version 11.0.6
org.apache.tomcat:tomcat-catalina (JAVA):
Affected version(s) >=11.0.0-M3 <11.0.6
Fix Suggestion:
Update to version 11.0.6
org.apache.tomcat:tomcat-catalina (JAVA):
Affected version(s) >=11.0.0 <11.0.6
Fix Suggestion:
Update to version 11.0.6
org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=11.0.0 <11.0.6
Fix Suggestion:
Update to version 11.0.6
org.apache.tomcat:tomcat-catalina (JAVA):
Affected version(s) >=9.0.76 <9.0.104
Fix Suggestion:
Update to version 9.0.104
org.apache.tomcat:tomcat-catalina (JAVA):
Affected version(s) >=10.1.0 <10.1.40
Fix Suggestion:
Update to version 10.1.40
org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=10.1.0 <10.1.40
Fix Suggestion:
Update to version 10.1.40
org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=10.1.10 <10.1.40
Fix Suggestion:
Update to version 10.1.40
org.apache.tomcat.embed:tomcat-embed-core (JAVA):
Affected version(s) >=9.0.76 <9.0.104
Fix Suggestion:
Update to version 9.0.104
Additional Notes
The description of this vulnerability differs from MITRE.
Do you need more information?
Contact Us
CVSS 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)
Improper Encoding or Escaping of Output
Improper Neutralization of Escape, Meta, or Control Sequences
EPSS
Base Score:
0.10