Overview
Apache Tomcat is an open-source web server and servlet container developed by the Apache Software Foundation. It implements several Java Enterprise Edition (Java EE) specifications including Java Servlet, JavaServer Pages (JSP), and WebSocket, allowing it to run Java web applications. Tomcat is widely used in both development and production environments due to its lightweight nature, ease of configuration, and compatibility with various Java applications.
A Denial of Service (DoS) vulnerability (CVE-2025-52434) has been identified in Apache Tomcat. Apache Tomcat Utilities is vulnerable to resource exhaustion when using the APR/Native connector.
The Open Web Application Security Project (OWASP) explains that Denial of Service (DoS) attacks aim to make a service “unavailable for the purpose it was designed.” In this case the attacker can cause the server to run out of memory and become unable to function.
This issue affects versions of Apache Tomcat below 9.0.107.
Details
Module Info
- Product: Apache Tomcat
- Affected packages: tomcat-util
- Affected versions: >=9.0.0.M1 <9.0.107
- GitHub repository: https://github.com/apache/tomcat
- Published packages: https://central.sonatype.com/artifact/org.apache.tomcat/tomcat-util
- Package manager: Maven
- Fixed in: NES 8.5.102, 9.0.107
Vulnerability Info
An attacker of a vulnerable application can cause resource exhaustion by exploiting a race condition in Apache Tomcat’s APR/Native connector by closing the connections by the client. These client-initiated closes create unsynchronized thread execution.
Mitigation
Only recent versions of Apache Tomcat are community-supported. The community support version will not receive any updates to address this issue. For more information, see here.
Users of the affected components should apply one of the following mitigations:
- Upgrade to a patched version of Apache Tomcat.
- Leverage a commercial support partner like HeroDevs for post-EOL security support.
Credit
- Nacl
- 12SqweR
- WHOAMI
- yyzmoo