Off-by-one Error Affecting org.apache.tomcat:tomcat-catalina package, versions [9.0.0.M1,9.0.121)[11.0.0-M1,10.1.58)[11.0.0-M1,11.0.25)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.78% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHETOMCAT-19340737
  • published27 Aug 2026
  • disclosed26 Aug 2026
  • credit4ra1n, pyn3rd, unam4

Introduced: 26 Aug 2026

NewCVE-2026-65927  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade org.apache.tomcat:tomcat-catalina to version 9.0.121, 10.1.58, 11.0.25 or higher.

Overview

org.apache.tomcat:tomcat-catalina is a Tomcat Servlet Engine Core Classes and Standard implementations.

Affected versions of this package are vulnerable to Off-by-one Error in chain-rule handling due to the rule-skipping logic in java/org/apache/catalina/valves/rewrite/RewriteValve.java. An attacker can cause rewrite processing to apply the wrong rule by supplying a request that triggers a failing [C] chain, which incorrectly skips the terminal rule and resumes at the second rule instead of the first. This can rewrite a request to an unintended target path, breaking expected URL routing and letting crafted requests bypass the intended rewrite sequence.

Notes

  • The issue was fixed in Apache Tomcat 10.1.58, but the release vote for the 10.1.58 release candidate did not pass. Therefore, although users must download 10.1.59 to obtain a version that includes a fix for this issue, version 10.1.58 is not included in the list of affected versions.

CVSS Base Scores

version 4.0
version 3.1