CVE-2025-31651
published critical CVSS 3.1 · 9.8Apache Tomcat: Bypass of rules in Rewrite Valve
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Tomcat11.0.0-M1 through 11.0.5 (affected · semver) · 10.1.0-M1 through 10.1.39 (affected · semver) · 9.0.0.M1 through 9.0.102 (affected · semver) · 8.5.0 through 8.5.100 (affected · semver) · 8.0.0.RC1 to < 8.5.0 (unknown · semver) · 10.0.0-M1 through 10.0.27 (unknown · semver) · Other versions: unaffected | Version-specific | Not stated | apache |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2TOMCAT9-2025-018 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-964 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-965 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | tomcat | Advisory build | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| Debian | bullseye | tomcat9 | Advisory build | 9.0.107-0+deb11u1 | DLA-4244-1 |
| Oracle Linux | 10 | tomcataarch64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-10 | tomcatnoarch | Advisory build | 1:10.1.36-1.el10_0.3 | RHSA-2025:23051 |
| AlmaLinux | 10 | tomcat-admin-webapps | Advisory build | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux | 10 | tomcat-docs-webapp | Advisory build | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux | 10 | tomcat-el-5.0-api | Advisory build | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux | 10 | tomcat-jsp-3.1-api | Advisory build | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux | 10 | tomcat-lib | Advisory build | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux | 10 | tomcat-servlet-6.0-api | Advisory build | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux | 10 | tomcat-webapps | Advisory build | 1:10.1.36-3.el10_1.1 | ALSA-2025:23050 |
| AlmaLinux | 10 | tomcat9 | Advisory build | 1:9.0.87-8.el10_1.1 | ALSA-2025:23052 |
| AlmaLinux | 10 | tomcat9-admin-webapps | Advisory build | 1:9.0.87-8.el10_1.1 | ALSA-2025:23052 |
| AlmaLinux | 10 | tomcat9-docs-webapp | Advisory build | 1:9.0.87-8.el10_1.1 | ALSA-2025:23052 |
| AlmaLinux | 10 | tomcat9-el-3.0-api | Advisory build | 1:9.0.87-8.el10_1.1 | ALSA-2025:23052 |
| AlmaLinux | 10 | tomcat9-jsp-2.3-api | Advisory build | 1:9.0.87-8.el10_1.1 | ALSA-2025:23052 |
| AlmaLinux | 10 | tomcat9-lib | Advisory build | 1:9.0.87-8.el10_1.1 | ALSA-2025:23052 |
| AlmaLinux | 10 | tomcat9-servlet-4.0-api | Advisory build | 1:9.0.87-8.el10_1.1 | ALSA-2025:23052 |
| AlmaLinux | 10 | tomcat9-webapps | Advisory build | 1:9.0.87-8.el10_1.1 | ALSA-2025:23052 |
| AlmaLinux | 8 | tomcat | Advisory build | 1:9.0.87-1.el8_10.7 | ALSA-2025:23048 |
| AlmaLinux | 8 | tomcat-admin-webapps | Advisory build | 1:9.0.87-1.el8_10.7 | ALSA-2025:23048 |
| AlmaLinux | 8 | tomcat-docs-webapp | Advisory build | 1:9.0.87-1.el8_10.7 | ALSA-2025:23048 |
| AlmaLinux | 8 | tomcat-el-3.0-api | Advisory build | 1:9.0.87-1.el8_10.7 | ALSA-2025:23048 |
| AlmaLinux | 8 | tomcat-jsp-2.3-api | Advisory build | 1:9.0.87-1.el8_10.7 | ALSA-2025:23048 |
| AlmaLinux | 8 | tomcat-lib | Advisory build | 1:9.0.87-1.el8_10.7 | ALSA-2025:23048 |
| AlmaLinux | 8 | tomcat-servlet-4.0-api | Advisory build | 1:9.0.87-1.el8_10.7 | ALSA-2025:23048 |
| AlmaLinux | 8 | tomcat-webapps | Advisory build | 1:9.0.87-1.el8_10.7 | ALSA-2025:23048 |
| AlmaLinux | 9 | tomcat | Advisory build | 1:9.0.87-6.el9_7.1 | ALSA-2025:23049 |
| AlmaLinux | 9 | tomcat-admin-webapps | Advisory build | 1:9.0.87-6.el9_7.1 | ALSA-2025:23049 |
| AlmaLinux | 9 | tomcat-docs-webapp | Advisory build | 1:9.0.87-6.el9_7.1 | ALSA-2025:23049 |
| AlmaLinux | 9 | tomcat-el-3.0-api | Advisory build | 1:9.0.87-6.el9_7.1 | ALSA-2025:23049 |
| AlmaLinux | 9 | tomcat-jsp-2.3-api | Advisory build | 1:9.0.87-6.el9_7.1 | ALSA-2025:23049 |
| AlmaLinux | 9 | tomcat-lib | Advisory build | 1:9.0.87-6.el9_7.1 | ALSA-2025:23049 |
| AlmaLinux | 9 | tomcat-servlet-4.0-api | Advisory build | 1:9.0.87-6.el9_7.1 | ALSA-2025:23049 |
| AlmaLinux | 9 | tomcat-webapps | Advisory build | 1:9.0.87-6.el9_7.1 | ALSA-2025:23049 |
| Oracle Linux | 10 | tomcatx86_64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat-admin-webappsaarch64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat-admin-webappsx86_64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat-docs-webappaarch64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat-docs-webappx86_64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat-el-5.0-apiaarch64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat-el-5.0-apix86_64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat-jsp-3.1-apiaarch64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat-jsp-3.1-apix86_64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat-libaarch64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat-libx86_64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat-servlet-6.0-apiaarch64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat-servlet-6.0-apix86_64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat-webappsaarch64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat-webappsx86_64 | Advisory build | 1:10.1.36-3.el10_1.1 | ELSA-2025-23050 |
| Oracle Linux | 10 | tomcat9aarch64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9x86_64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9-admin-webappsaarch64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9-admin-webappsx86_64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9-docs-webappaarch64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9-docs-webappx86_64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9-el-3.0-apiaarch64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9-el-3.0-apix86_64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9-jsp-2.3-apiaarch64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9-jsp-2.3-apix86_64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9-libaarch64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9-libx86_64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9-servlet-4.0-apiaarch64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9-servlet-4.0-apix86_64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9-webappsaarch64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 10 | tomcat9-webappsx86_64 | Advisory build | 1:9.0.87-8.el10_1.1 | ELSA-2025-23052 |
| Oracle Linux | 8 | tomcataarch64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcatx86_64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcat-admin-webappsaarch64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcat-admin-webappsx86_64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcat-docs-webappaarch64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcat-docs-webappx86_64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcat-el-3.0-apiaarch64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcat-el-3.0-apix86_64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcat-jsp-2.3-apiaarch64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcat-jsp-2.3-apix86_64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcat-libaarch64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcat-libx86_64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcat-servlet-4.0-apiaarch64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcat-servlet-4.0-apix86_64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcat-webappsaarch64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 8 | tomcat-webappsx86_64 | Advisory build | 1:9.0.87-1.el8_10.7 | ELSA-2025-23048 |
| Oracle Linux | 9 | tomcataarch64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcatx86_64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcat-admin-webappsaarch64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcat-admin-webappsx86_64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcat-docs-webappaarch64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcat-docs-webappx86_64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcat-el-3.0-apiaarch64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcat-el-3.0-apix86_64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcat-jsp-2.3-apiaarch64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcat-jsp-2.3-apix86_64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcat-libaarch64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcat-libx86_64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcat-servlet-4.0-apiaarch64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcat-servlet-4.0-apix86_64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcat-webappsaarch64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Oracle Linux | 9 | tomcat-webappsx86_64 | Advisory build | 1:9.0.87-6.el9_7.1 | ELSA-2025-23049 |
| Red Hat Enterprise Linux | RHEL-10 | tomcatnoarch | Advisory build | 1:10.1.36-3.el10_1.1 | RHSA-2025:23050 |
| Red Hat Enterprise Linux | RHEL-10 | tomcatsrc | Advisory build | 1:10.1.36-1.el10_0.3 | RHSA-2025:23051 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Tomcat | 11.0.0-M1 through 11.0.5 (affected · semver)10.1.0-M1 through 10.1.39 (affected · semver)9.0.0.M1 through 9.0.102 (affected · semver)8.5.0 through 8.5.100 (affected · semver)8.0.0.RC1 to < 8.5.0 (unknown · semver)10.0.0-M1 through 10.0.27 (unknown · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-116 CWE-116 Improper Encoding or Escaping of Output
References
3Provider assertions
3apache · cna
Apache Tomcat: Bypass of rules in Rewrite Valve
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f3af0667ecc531bc15a3a01c6d086d4fd26e68d5921db483a8cb53451a77102d
- Ingested
- 23 Sep 2026, 08:44:43 UTC
- Source record
- Official CVE record