Apache Tomcat 4.0.4 vulnerabilities
37 published vulnerabilities affect Apache Tomcat 4.0.4, 2 of them known to be exploited in the wild.
What to upgrade to
The newest release on the 4.0 line is 4.0.6, with 34 known CVEs. The newest Apache Tomcat release we know of is 11.0.29, with 1 known CVE.
| Upgrade to | Fixes | Still open | New in that release |
|---|---|---|---|
| 4.0.6newest 4.0 release | 3 of 37 | 34CVE-2025-24813, CVE-2016-8735, CVE-2009-3548 and 31 more | none |
| 11.0.29newest release | all 372 exploited, 2 critical | none | 1CVE-2026-133325 |
"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.
CVEs affecting Apache Tomcat 4.0.4
Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.
| CVE | CVSS | Exploitation | EPSS | Fixed in |
|---|---|---|---|---|
| CVE-2025-24813Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT | 9.8 | Exploited | 100% | 9.0.99NVD |
| CVE-2016-8735Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8.5.7, and 9.x before 9.0.0.M12 if… | 9.8 | Exploited | 90% | 6.0.48CVE record |
| CVE-2009-3548The Windows installer for Apache Tomcat 6.0.0 through 6.0.20, 5.5.0 through 5.5.28, and possibly earlier versions uses a blank default password for the… | 7.5 | Attack tool public | 79% | –NVD |
| CVE-2002-2272Tomcat 4.0 through 4.1.12, using mod_jk 1.2.1 module on Apache 1.3 through 1.3.27, allows remote attackers to cause a denial of service (desynchronized… | 7.8 | None known | 10% | –NVD |
| CVE-2013-2185The readObject method in the DiskFileItem class in Apache Tomcat and JBoss Web, as used in Red Hat JBoss Enterprise Application Platform 6.1.0 and Red Hat… | 7.5 | None known | 7% | –NVD |
| CVE-2002-1394Apache Tomcat 4.0.5 and earlier, when using both the invoker servlet and the default servlet, allows remote attackers to read source code for server files or… | 7.5 | None known | 6% | –NVD |
| CVE-2026-41284Apache Tomcat: Unbounded read in WebDAV LOCK and PROPFIND handling | 7.5 | None known | under 1% | –CVE record |
| CVE-2026-55957Apache Tomcat: Authentication bypass with JNDIRealm and GSSAPI authenticated bind | 7.3 | None known | 3% | 9.0.101NVD |
| CVE-2013-4444Unrestricted file upload vulnerability in Apache Tomcat 7.x before 7.0.40, in certain situations involving outdated java.io.File code and a custom JMX… | 6.8 | None known | 14% | –NVD |
| CVE-2026-50229Apache Tomcat: XSS in number guess example | 6.1 | Proof of concept | 18% | –NVD |
| CVE-2013-6357Cross-site request forgery (CSRF) vulnerability in the Manager application in Apache Tomcat 5.5.25 and earlier allows remote attackers to hijack the… | 6.8 | None known | 2% | –NVD |
| CVE-2026-55956Apache Tomcat: Security constraints for default servlet ignored method | 6.5 | None known | 2% | 9.0.119NVD |
| CVE-2026-55955Apache Tomcat: EncryptInterceptor not protected against replay attacks | 6.5 | None known | under 1% | 9.0.119NVD |
| CVE-2013-4286Apache Tomcat before 6.0.39, 7.x before 7.0.47, and 8.x before 8.0.0-RC3, when an HTTP connector or AJP connector is used, does not properly handle certain… | 5.8 | None known | 16% | –NVD |
| CVE-2007-2449Multiple cross-site scripting (XSS) vulnerabilities in certain JSP files in the examples web application in Apache Tomcat 4.0.0 through 4.0.6, 4.1.0 through… | 4.3 | Proof of concept | 77% | 4.0.6NVD |
| CVE-2008-2938Directory traversal vulnerability in Apache Tomcat 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16, when allowLinking and UTF-8 are… | 4.3 | None known | 100% | –NVD |
| CVE-2003-0866The Catalina org.apache.catalina.connector.http package in Tomcat 4.0.x up to 4.0.3 allows remote attackers to cause a denial of service via several requests… | 5.0 | None known | 35% | –NVD |
| CVE-2014-0075Integer overflow in the parseChunkHeader function in java/org/apache/coyote/http11/filters/ChunkedInputFilter.java in Apache Tomcat before 6.0.40, 7.x before… | 5.0 | None known | 18% | –NVD |
| CVE-2008-0128The SingleSignOn Valve (org.apache.catalina.authenticator.SingleSignOn) in Apache Tomcat before 5.5.21 does not set the secure flag for the JSESSIONIDSSO… | 5.0 | None known | 20% | –NVD |
| CVE-2006-7196Cross-site scripting (XSS) vulnerability in the calendar application example in Apache Tomcat 4.0.0 through 4.0.6, 4.1.0 through 4.1.31, 5.0.0 through 5.0.30… | 4.3 | None known | 72% | –NVD |
| CVE-2002-1148The default servlet (org.apache.catalina.servlets.DefaultServlet) in Tomcat 4.0.4 and 4.1.10 and earlier allows remote attackers to read source code for server… | 5.0 | None known | 19% | –NVD |
| CVE-2007-1355Multiple cross-site scripting (XSS) vulnerabilities in the appdev/sample/web/hello.jsp example application in Tomcat 4.0.0 through 4.0.6, 4.1.0 through 4.1.36… | 4.3 | None known | 58% | –NVD |
| CVE-2002-1895The servlet engine in Jakarta Apache Tomcat 3.3 and 4.0.4, when using IIS and the ajp1.3 connector, allows remote attackers to cause a denial of service… | 5.0 | None known | 4% | –NVD |
| CVE-2014-0119Apache Tomcat before 6.0.40, 7.x before 7.0.54, and 8.x before 8.0.6 does not properly constrain the class loader that accesses the XML parser used with an… | 4.3 | None known | 8% | –NVD |
| CVE-2014-0099Integer overflow in java/org/apache/tomcat/util/buf/Ascii.java in Apache Tomcat before 6.0.40, 7.x before 7.0.53, and 8.x before 8.0.4, when operated behind a… | 4.3 | None known | 9% | –NVD |
| CVE-2014-0096java/org/apache/catalina/servlets/DefaultServlet.java in the default servlet in Apache Tomcat before 6.0.40, 7.x before 7.0.53, and 8.x before 8.0.4 does not… | 4.3 | None known | 7% | –NVD |
| CVE-2013-4590Apache Tomcat before 6.0.39, 7.x before 7.0.50, and 8.x before 8.0.0-RC10 allows attackers to obtain "Tomcat internals" information by leveraging the presence… | 4.3 | None known | 9% | –NVD |
| CVE-2013-4322Apache Tomcat before 6.0.39, 7.x before 7.0.50, and 8.x before 8.0.0-RC10 processes chunked transfer coding without properly handling (1) a large total amount… | 4.3 | None known | 9% | –NVD |
| CVE-2009-2696Cross-site scripting (XSS) vulnerability in jsp/cal/cal2.jsp in the calendar application in the examples web application in Apache Tomcat on Red Hat Enterprise… | 4.3 | None known | 5% | –NVD |
| CVE-2007-3383Cross-site scripting (XSS) vulnerability in SendMailServlet in the examples web application (examples/jsp/mail/sendmail.jsp) in Apache Tomcat 4.0.0 through… | 4.3 | None known | 9% | –NVD |
| CVE-2005-4838Multiple cross-site scripting (XSS) vulnerabilities in the example web applications for Jakarta Tomcat 5.5.6 and earlier allow remote attackers to inject… | 4.3 | None known | 8% | –NVD |
| CVE-2007-5461Absolute path traversal vulnerability in Apache Tomcat 4.0.0 through 4.0.6, 4.1.0, 5.0.0, 5.5.0 through 5.5.25, and 6.0.0 through 6.0.14, under certain… | 3.5 | None known | 40% | –NVD |
| CVE-2026-24733Apache Tomcat: Security constraint bypass with HTTP/0.9 | 3.7 | None known | under 1% | –CVE record |
| CVE-2007-2450Multiple cross-site scripting (XSS) vulnerabilities in the (1) Manager and (2) Host Manager web applications in Apache Tomcat 4.0.0 through 4.0.6, 4.1.0… | 3.5 | None known | 3% | –NVD |
| CVE-2007-1358Cross-site scripting (XSS) vulnerability in certain applications using Apache Tomcat 4.0.0 through 4.0.6 and 4.1.0 through 4.1.34 allows remote attackers to… | 2.6 | None known | 20% | –NVD |
| CVE-2008-5519The JK Connector (aka mod_jk) 1.2.0 through 1.2.26 in Apache Tomcat allows remote attackers to obtain sensitive information via an arbitrary request from an… | 2.6 | None known | 8% | –NVD |
| CVE-2005-3164The AJP connector in Apache Tomcat 4.0.1 through 4.0.6 and 4.1.0 through 4.1.36, as used in Hitachi Cosminexus Application Server and standalone, does not… | 2.6 | None known | 7% | –NVD |
Fixed since 4.0.3
6 CVEs that affect 4.0.3, the release before it, do not affect 4.0.4:
- CVE-2002-0682 Cross-site scripting vulnerability in Apache Tomcat 4.0.3 allows remote attackers to execute script as other web users via script in a URL with the /servlet/… CVSS 7.5
- CVE-2005-4703 Apache Tomcat 4.0.3, when running on Windows, allows remote attackers to obtain sensitive information via a request for a file that contains an MS-DOS device… CVSS 5.0
- CVE-2002-2006 The default installation of Apache Tomcat 4.0 through 4.1 and 3.0 through 3.3.1 allows remote attackers to obtain the installation path and other sensitive… CVSS 5.0
- CVE-2002-0936 The Java Server Pages (JSP) engine in Tomcat allows web page owners to cause a denial of service (engine crash) on the web server via a JSP page that calls… CVSS 5.0
- CVE-2002-2008 Apache Tomcat 4.0.3 for Windows allows remote attackers to obtain the web root path via an HTTP request for a resource that does not exist, such as lpt9, which… CVSS 5.0
- CVE-2002-0935 Apache Tomcat 4.0.3, and possibly other versions before 4.1.3 beta, allows remote attackers to cause a denial of service (resource exhaustion) via a large… CVSS 5.0
1 CVE affects 4.0.4 and not 4.0.3: CVE-2002-1895.
Other Apache Tomcat 4.0 releases
4.0.634 4.0.535 4.0.342 4.0.237 4.0.139 4.0.036
How this list is made
These are the CVEs Dawnsentry matches to each Apache Tomcat version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.
Updated 2 December 2026.