Input validation error in Apache Tomcat - CVE-2025-31651
Published: April 28, 2025 / Updated: March 13, 2026
Vulnerability identifier: #VU107995
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-31651
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote attacker to bypass rewrite rules.
The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can send a specially crafted input to the application and bypass configured rewrite rules.
Affected software
Apache Tomcat
JBoss Web Server
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Manager Server
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Web and Scripting Module
openSUSE Leap
openEuler
Ubuntu
Netezza Appliance
Rapid Infrastructure Automation
Cloudera Observability with IBM
DevOps Solution Workbench
Oracle Agile Engineering Data Management
IBM Business Automation Manager Open Editions
IBM Engineering Requirements Management DOORS Next
CICS Transaction Gateway for Multiplatforms
CICS Transaction Gateway Desktop Edition
ApplinX
webMethods developer portal
watsonx Assistant Cartridge
watsonx Orchestrate with watsonx Assistant Cartridge - Assistant Builder Component
Telco Service Orchestrator
Storage Protect Plus Server
webMethods BPM
Netcool Operations Insight
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
IBM Watson Discovery for IBM Cloud Pak for Data
IBM Integration Bus
IBM Power Hardware Management Console (HMC)
NetWorker
Cloudera Data Platform Private Cloud Base for IBM
Oracle Managed File Transfer
IBM Qradar SIEM
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
tomcat-webapps
tomcat-lib
tomcat-docs-webapp
tomcat-jsp-2_3-api
tomcat-servlet-4_0-api
tomcat
tomcat-javadoc
tomcat-admin-webapps
tomcat-el-3_0-api
pki-servlet-engine (Red Hat package)
tomcat-jsp-2.3-api
tomcat-el-3.0-api
tomcat-servlet-4.0-api
tomcat (Red Hat package)
tomcat9 (Red Hat package)
jws5-tomcat (Red Hat package)
tomcat-jsvc
tomcat-help
tomcat-embed
tomcat10 (Ubuntu package)
tomcat10-doc
tomcat10-el-5_0-api
tomcat10-lib
tomcat10-webapps
tomcat10
tomcat10-docs-webapp
tomcat10-servlet-6_0-api
tomcat10-jsp-3_1-api
tomcat10-admin-webapps
tomcat10-embed
tomcat10-jsvc
tomcat10 (Debian package)
Oracle Agile PLM Framework
Oracle Retail Xstore Office
Siebel CRM Deployment
JBoss Web Server
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Manager Server
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Web and Scripting Module
openSUSE Leap
openEuler
Ubuntu
Netezza Appliance
Rapid Infrastructure Automation
Cloudera Observability with IBM
DevOps Solution Workbench
Oracle Agile Engineering Data Management
IBM Business Automation Manager Open Editions
IBM Engineering Requirements Management DOORS Next
CICS Transaction Gateway for Multiplatforms
CICS Transaction Gateway Desktop Edition
ApplinX
webMethods developer portal
watsonx Assistant Cartridge
watsonx Orchestrate with watsonx Assistant Cartridge - Assistant Builder Component
Telco Service Orchestrator
Storage Protect Plus Server
webMethods BPM
Netcool Operations Insight
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
IBM Watson Discovery for IBM Cloud Pak for Data
IBM Integration Bus
IBM Power Hardware Management Console (HMC)
NetWorker
Cloudera Data Platform Private Cloud Base for IBM
Oracle Managed File Transfer
IBM Qradar SIEM
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
tomcat-webapps
tomcat-lib
tomcat-docs-webapp
tomcat-jsp-2_3-api
tomcat-servlet-4_0-api
tomcat
tomcat-javadoc
tomcat-admin-webapps
tomcat-el-3_0-api
pki-servlet-engine (Red Hat package)
tomcat-jsp-2.3-api
tomcat-el-3.0-api
tomcat-servlet-4.0-api
tomcat (Red Hat package)
tomcat9 (Red Hat package)
jws5-tomcat (Red Hat package)
tomcat-jsvc
tomcat-help
tomcat-embed
tomcat10 (Ubuntu package)
tomcat10-doc
tomcat10-el-5_0-api
tomcat10-lib
tomcat10-webapps
tomcat10
tomcat10-docs-webapp
tomcat10-servlet-6_0-api
tomcat10-jsp-3_1-api
tomcat10-admin-webapps
tomcat10-embed
tomcat10-jsvc
tomcat10 (Debian package)
Oracle Agile PLM Framework
Oracle Retail Xstore Office
Siebel CRM Deployment
How to mitigate CVE-2025-31651
Install updates from vendor's website.
Apache Tomcat - addressed in versions 9.0.104, 10.1.40, 11.0.6
Netezza Appliance - update to 1.0.1.0 fp278500
Rapid Infrastructure Automation - update to 1.1.5.3
Netcool Operations Insight - update to 1.6.15
Cloudera Observability with IBM - update to 3.6.2
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 5.2.1
IBM Watson Discovery for IBM Cloud Pak for Data - update to 5.2.1
JBoss Web Server - update to 5.8.6
IBM Qradar SIEM - update to 7.5.0 Update Pack 12 IF02
IBM Business Automation Manager Open Editions - update to 8.0.8
IBM Engineering Requirements Management DOORS Next - update to 9.7.2.11
IBM Integration Bus - update to 10.1.0.5
IBM Power Hardware Management Console (HMC) - addressed in versions 10.3.1060.0 SP3, 11.1.1110.0
webMethods developer portal - update to 11.1.6
NetWorker - update to 19.13.0.1
Siebel CRM Deployment - update to 25.8
watsonx Assistant Cartridge - update to 5.2.1
watsonx Orchestrate with watsonx Assistant Cartridge - Assistant Builder Component - update to 5.2.1
Telco Service Orchestrator - update to 5.3.2
tomcat-webapps - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat-lib - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat-docs-webapp - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat-jsp-2_3-api - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat-servlet-4_0-api - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat-javadoc - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat-admin-webapps - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat-el-3_0-api - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
pki-servlet-engine (Red Hat package) - addressed in versions 9.0.43-4.el9_0.2, 9.0.50-1.el9_2.3
tomcat-jsp-2.3-api - update to 9.0.87-1
tomcat-admin-webapps - update to 9.0.87-1
tomcat - update to 9.0.87-1
tomcat-docs-webapp - update to 9.0.87-1
tomcat-el-3.0-api - update to 9.0.87-1
tomcat-lib - update to 9.0.87-1
tomcat-servlet-4.0-api - update to 9.0.87-1
tomcat-webapps - update to 9.0.87-1
tomcat (Red Hat package) - addressed in versions 9.0.87-1.el8_8.8, 9.0.87-1.el8_10.7, 9.0.87-1.el9_2.7, 9.0.87-1.el9_4.7, 10.1.36-1.el10_0.3
tomcat9 (Red Hat package) - update to 9.0.87-5.el10_0.4
jws5-tomcat (Red Hat package) - addressed in versions 9.0.87-14.redhat_00013.1.el7jws, 9.0.87-14.redhat_00013.1.el8jws, 9.0.87-14.redhat_00013.1.el9jws
tomcat - update to 9.0.100-2
tomcat-jsvc - update to 9.0.100-2
tomcat-help - update to 9.0.100-2
tomcat-jsvc - update to 9.0.104-150200.81.1
tomcat-embed - update to 9.0.104-150200.81.1
tomcat10 (Ubuntu package) - addressed in versions 10.1.16-1ubuntu0.1~esm3, 10.1.35-1ubuntu0.1
Storage Protect Plus Server - update to 10.1.18
tomcat10-doc - update to 10.1.40-150200.5.40.1
tomcat10-el-5_0-api - update to 10.1.40-150200.5.40.1
tomcat10-lib - update to 10.1.40-150200.5.40.1
tomcat10-webapps - update to 10.1.40-150200.5.40.1
tomcat10 - update to 10.1.40-150200.5.40.1
tomcat10-docs-webapp - update to 10.1.40-150200.5.40.1
tomcat10-servlet-6_0-api - update to 10.1.40-150200.5.40.1
tomcat10-jsp-3_1-api - update to 10.1.40-150200.5.40.1
tomcat10-admin-webapps - update to 10.1.40-150200.5.40.1
tomcat10-embed - update to 10.1.40-150200.5.40.1
tomcat10-jsvc - update to 10.1.40-150200.5.40.1
tomcat10 (Debian package) - addressed in versions 10.1.52-1~deb12u1, 10.1.52-1~deb13u1
webMethods BPM - addressed in versions 10.15 Fix 14, 11.1 Fix 2
Netezza Appliance - update to 1.0.1.0 fp278500
Rapid Infrastructure Automation - update to 1.1.5.3
Netcool Operations Insight - update to 1.6.15
Cloudera Observability with IBM - update to 3.6.2
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 5.2.1
IBM Watson Discovery for IBM Cloud Pak for Data - update to 5.2.1
JBoss Web Server - update to 5.8.6
IBM Qradar SIEM - update to 7.5.0 Update Pack 12 IF02
IBM Business Automation Manager Open Editions - update to 8.0.8
IBM Engineering Requirements Management DOORS Next - update to 9.7.2.11
IBM Integration Bus - update to 10.1.0.5
IBM Power Hardware Management Console (HMC) - addressed in versions 10.3.1060.0 SP3, 11.1.1110.0
webMethods developer portal - update to 11.1.6
NetWorker - update to 19.13.0.1
Siebel CRM Deployment - update to 25.8
watsonx Assistant Cartridge - update to 5.2.1
watsonx Orchestrate with watsonx Assistant Cartridge - Assistant Builder Component - update to 5.2.1
Telco Service Orchestrator - update to 5.3.2
tomcat-webapps - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat-lib - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat-docs-webapp - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat-jsp-2_3-api - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat-servlet-4_0-api - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat-javadoc - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat-admin-webapps - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
tomcat-el-3_0-api - addressed in versions 9.0.36-3.142.1, 9.0.104-150200.81.1
pki-servlet-engine (Red Hat package) - addressed in versions 9.0.43-4.el9_0.2, 9.0.50-1.el9_2.3
tomcat-jsp-2.3-api - update to 9.0.87-1
tomcat-admin-webapps - update to 9.0.87-1
tomcat - update to 9.0.87-1
tomcat-docs-webapp - update to 9.0.87-1
tomcat-el-3.0-api - update to 9.0.87-1
tomcat-lib - update to 9.0.87-1
tomcat-servlet-4.0-api - update to 9.0.87-1
tomcat-webapps - update to 9.0.87-1
tomcat (Red Hat package) - addressed in versions 9.0.87-1.el8_8.8, 9.0.87-1.el8_10.7, 9.0.87-1.el9_2.7, 9.0.87-1.el9_4.7, 10.1.36-1.el10_0.3
tomcat9 (Red Hat package) - update to 9.0.87-5.el10_0.4
jws5-tomcat (Red Hat package) - addressed in versions 9.0.87-14.redhat_00013.1.el7jws, 9.0.87-14.redhat_00013.1.el8jws, 9.0.87-14.redhat_00013.1.el9jws
tomcat - update to 9.0.100-2
tomcat-jsvc - update to 9.0.100-2
tomcat-help - update to 9.0.100-2
tomcat-jsvc - update to 9.0.104-150200.81.1
tomcat-embed - update to 9.0.104-150200.81.1
tomcat10 (Ubuntu package) - addressed in versions 10.1.16-1ubuntu0.1~esm3, 10.1.35-1ubuntu0.1
Storage Protect Plus Server - update to 10.1.18
tomcat10-doc - update to 10.1.40-150200.5.40.1
tomcat10-el-5_0-api - update to 10.1.40-150200.5.40.1
tomcat10-lib - update to 10.1.40-150200.5.40.1
tomcat10-webapps - update to 10.1.40-150200.5.40.1
tomcat10 - update to 10.1.40-150200.5.40.1
tomcat10-docs-webapp - update to 10.1.40-150200.5.40.1
tomcat10-servlet-6_0-api - update to 10.1.40-150200.5.40.1
tomcat10-jsp-3_1-api - update to 10.1.40-150200.5.40.1
tomcat10-admin-webapps - update to 10.1.40-150200.5.40.1
tomcat10-embed - update to 10.1.40-150200.5.40.1
tomcat10-jsvc - update to 10.1.40-150200.5.40.1
tomcat10 (Debian package) - addressed in versions 10.1.52-1~deb12u1, 10.1.52-1~deb13u1
webMethods BPM - addressed in versions 10.15 Fix 14, 11.1 Fix 2
Links to Public Exploits and PoC-codes
External References
Related Security Bulletins
- Multiple vulnerabilities in Apache Tomcat
- SUSE update for tomcat
- openEuler update for tomcat
- SUSE update for tomcat10
- Multiple vulnerabilities in IBM ApplinX
- Multiple vulnerabilities in IBM Integration Bus
- Multiple vulnerabilities in IBM Rapid Infrastructure Automation
- SUSE update for tomcat10
- SUSE update for tomcat
- Multiple vulnerabilities in HPE Telco Service Orchestrator
- SUSE update for tomcat
- Multiple vulnerabilities in IBM QRadar SIEM
- Input validation error in Oracle Managed File Transfer
- Multiple vulnerabilities in IBM Business Automation Manager Open Editions
- Ubuntu update for tomcat10
- Multiple vulnerabilities in IBM Watson Discovery Cartridge
- IBM Watson Speech Services Cartridge update for Apache Tomcat
- Dell NetWorker update for Apache Tomcat
- Multiple vulnerabilities in IBM watsonx Assistant Cartridge and IBM watsonx Orchestrate with watsonx Assistant Cartridge
- Multiple vulnerabilities in IBM webMethods developer portal
- Multiple vulnerabilities in Siebel CRM Deployment
- Multiple vulnerabilities in IBM DevOps Solution Workbench
- Multiple vulnerabilities in Cloudera Observability on Premises with IBM
- Multiple vulnerabilities in IBM Power HMC
- Multiple vulnerabilities in Netcool Operations Insight
- Multiple vulnerabilities in Red Hat JBoss Web Server
- Red Hat Enterprise Linux 8 update for tomcat
- Red Hat Enterprise Linux 9 update for tomcat
- Red Hat Enterprise Linux 9 update for tomcat
- Red Hat Enterprise Linux 8 update for tomcat
- Red Hat Enterprise Linux 10 update for tomcat
- Red Hat Enterprise Linux 10 update for tomcat9
- Anolis OS update for tomcat
- Red Hat Enterprise Linux 9 update for pki-servlet-engine
- Red Hat Enterprise Linux 9 update for pki-servlet-engine
- Multiple vulnerabilities in Oracle Agile PLM Framework
- Input validation error in Oracle Agile Engineering Data Management
- Input validation error in Oracle Retail Xstore Office
- Debian update for tomcat10
- Red Hat Enterprise Linux 8 update for the pki-deps:10.6 module
- Red Hat Enterprise Linux 8 update for the pki-deps:10.6 module
- Red Hat Enterprise Linux 8 update for the pki-deps:10.6 module
- Multiple vulnerabilities in IBM webMethods BPM
- Multiple vulnerabilities in IBM Engineering Requirements Management DOORS and DOORS Web Access
- Multiple vulnerabilities in IBM Storage Protect Plus Server
- Multiple vulnerabilities in IBM Cloudera Data Platform Private Cloud Base with IBM (CDP)
- Multiple vulnerabilities in IBM Netezza Appliance
- Multiple vulnerabilities in IBM CICS Transaction Gateway for Multiplatforms
- Multiple vulnerabilities in CICS Transaction Gateway Desktop Edition