{"id":"CVE-2025-31651","details":"Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in Apache Tomcat. For a subset of unlikely rewrite rule configurations, it was possible \nfor a specially crafted request to bypass some rewrite rules. If those \nrewrite rules effectively enforced security constraints, those \nconstraints could be bypassed.\n\nThis 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.\nThe following versions were EOL at the time the CVE was created but are \nknown to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions \nmay also be affected.\n\n\nUsers are recommended to upgrade to version [FIXED_VERSION], which fixes the issue.","aliases":["BIT-tomcat-2025-31651","GHSA-ff77-26x5-69cr"],"modified":"2026-04-16T00:04:16.810360816Z","published":"2025-04-28T20:15:20.783Z","related":["ALSA-2025:23048","ALSA-2025:23049","ALSA-2025:23050","ALSA-2025:23052","CGA-895g-cq6h-8w43","SUSE-SU-2025:01521-1","SUSE-SU-2025:01537-1","SUSE-SU-2025:01882-1","SUSE-SU-2025:1521-1","SUSE-SU-2025:1537-1","SUSE-SU-2026:1058-1","openSUSE-SU-2025:15048-1","openSUSE-SU-2025:15049-1"],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00009.html"},{"type":"ADVISORY","url":"https://lists.apache.org/list.html?announce@tomcat.apache.org"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2025/04/28/3"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/tomcat","events":[{"introduced":"16bf392c67833ad549733b58c350ff92b5ee782a"},{"fixed":"f8cfae0a0d1c8dc592099a1430cd08e352430823"},{"introduced":"e9d17cddc285615807ec5fef09240777436b25dc"},{"fixed":"1ee4bc9109d48cd062d1bc1a4c002358e03455e9"},{"introduced":"56e547d387ab49f688c93fe9ca082b1b5d94deed"},{"fixed":"872451298e20bb77ea95c499e6866b1e32b337e0"}],"database_specific":{"versions":[{"introduced":"9.0.0"},{"fixed":"9.0.104"},{"introduced":"10.1.0"},{"fixed":"10.1.40"},{"introduced":"11.0.0"},{"fixed":"11.0.6"}]}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-31651.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}