CVE-2025-66614: Apache Tomcat: Client certificate verification bypass due to virtual host mapping
Improper Input Validation vulnerability.
This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.14, from 10.1.0-M1 through 10.1.49, from 9.0.0-M1 through 9.0.112.
The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 through 8.5.100. Older EOL versions are not affected. Tomcat did not validate that the host name provided via the SNI extension was the same as the host name provided in the HTTP host header field. If Tomcat was configured with more than one virtual host and the TLS configuration for one of those hosts did not require client certificate authentication but another one did, it was possible for a client to bypass the client certificate authentication by sending different host names in the SNI extension and the HTTP host header field.
The vulnerability only applies if client certificate authentication is only enforced at the Connector. It does not apply if client certificate authentication is enforced at the web application.
Users are recommended to upgrade to version 11.0.15 or later, 10.1.50 or later or 9.0.113 or later, which fix the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.apache.tomcat:tomcat-catalinato a version that resolves this vulnerability.Fixed in 9.0.112 - Upgrade
Upgrade
maven/org.apache.tomcat:tomcat-catalinato a version that resolves this vulnerability.Fixed in 10.1.49 - Upgrade
Upgrade
maven/org.apache.tomcat:tomcat-catalinato a version that resolves this vulnerability.Fixed in 11.0.14 - Upgrade
Upgrade
maven/org.apache.tomcat:tomcatto a version that resolves this vulnerability.Fixed in 9.0.112 - Upgrade
Upgrade
maven/org.apache.tomcat:tomcatto a version that resolves this vulnerability.Fixed in 10.1.49 - Upgrade
Upgrade
maven/org.apache.tomcat:tomcatto a version that resolves this vulnerability.Fixed in 11.0.14 - Upgrade
Upgrade
maven/org.apache.tomcat.embed:tomcat-embed-coreto a version that resolves this vulnerability.Fixed in 9.0.112 - Upgrade
Upgrade
maven/org.apache.tomcat.embed:tomcat-embed-coreto a version that resolves this vulnerability.Fixed in 10.1.49 - Upgrade
Upgrade
maven/org.apache.tomcat.embed:tomcat-embed-coreto a version that resolves this vulnerability.Fixed in 11.0.14 - Upgrade
Upgrade
Apache Tomcatto a version that resolves this vulnerability.Fixed in 11.0.15 - Upgrade
Upgrade
Apache Tomcatto a version that resolves this vulnerability.Fixed in 10.1.50 - Upgrade
Upgrade
Apache Tomcatto a version that resolves this vulnerability.Fixed in 9.0.113 - Configuration
If you use multiple virtual hosts with differing TLS client-certificate requirements, ensure client certificate authentication is enforced at the web application (this issue does not apply if client certificate authentication is enforced at the web application; it only applies when client certificate authentication is only enforced at the Connector).
Apache Tomcat client certificate authentication enforcement = enforce at the web application - Compensating control
For deployments with multiple virtual hosts where one TLS configuration does not require client certificate authentication, restrict access so that the vulnerable virtual-host mapping condition cannot be exercised (e.g., align TLS client-certificate requirements across virtual hosts, or otherwise prevent clients from reaching a host whose TLS does not enforce client certificates when others do).
Event History
Frequently Asked Questions
What is the severity of CVE-2025-66614?
CVE-2025-66614 has a high severity due to the potential for client certificate verification bypass.
How do I fix CVE-2025-66614?
To fix CVE-2025-66614, upgrade to Apache Tomcat version 11.0.14, 10.1.49, or 9.0.112.
Which versions of Apache Tomcat are affected by CVE-2025-66614?
CVE-2025-66614 affects Apache Tomcat versions from 11.0.0-M1 through 11.0.14, 10.1.0-M1 through 10.1.49, and 9.0.0-M1 through 9.0.112.
What kind of vulnerability is CVE-2025-66614?
CVE-2025-66614 is categorized as an Improper Input Validation vulnerability.
Can CVE-2025-66614 affect my application if I use an affected version of Tomcat?
Yes, using an affected version of Tomcat leaves your application vulnerable to client certificate verification bypass.