CVE-2026-65927

Apache Software Foundation · Apache Tomcat

An off-by-one error in Apache Tomcat rewrite valve processing causes the [N] flag to restart at the second rule instead of the first, potentially leading to a denial of service.

Executive summary

A high-severity off-by-one error in Apache Tomcat rewrite valve processing allows unauthenticated remote attackers to trigger a denial of service condition.

Vulnerability

This is an off-by-one error (CWE-193) located in the rewrite valve logic. The vulnerability is exploitable by unauthenticated remote attackers who can manipulate request processing to cause an infinite loop or incorrect rule execution, resulting in service disruption.

Business impact

Successful exploitation results in a denial of service, which can significantly impact business continuity by rendering web applications unavailable to users. With a CVSS score of 7.5, this high-severity flaw poses a direct risk to system availability, particularly for environments relying on Tomcat for critical service delivery.

Remediation

Immediate Action: Upgrade to Apache Tomcat version 11.0.25, 10.1.58, or 9.0.121 to apply the necessary fix for the rewrite valve processing logic.

Proactive Monitoring: Monitor server resource utilization and access logs for signs of repeated, abnormal rewrite rule processing patterns or unexpected service crashes.

Compensating Controls: If immediate patching is not feasible, consider disabling the affected rewrite valve configurations or implementing WAF rules to restrict requests that trigger complex rewrite sequences.

Exploitation status

Public Exploit Available: No

Analyst recommendation

This vulnerability represents a significant risk to application availability due to the potential for service disruption. Administrators should prioritize the deployment of the vendor-provided updates (11.0.25, 10.1.58, or 9.0.121) to eliminate the underlying logic error and prevent potential denial of service attacks.

More Apache Software Foundation CVEs

Sources

Originally found and disclosed by 4ra1n, pyn3rd and unam4, per the CVE Program record.