Apache Tomcat 4.1.40 vulnerabilities

24 published vulnerabilities affect Apache Tomcat 4.1.40, 2 of them known to be exploited in the wild.

24CVEs
2critical (CVSS 9+)
7high (CVSS 7–8.9)
2exploited in the wild

What to upgrade to

The newest Apache Tomcat release we know of is 11.0.29, with 1 known CVE.

Upgrade toFixesStill openNew in that release
11.0.29newest releaseall 242 exploited, 2 criticalnone1CVE-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.1.40

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.

CVECVSSExploitationEPSSFixed in
CVE-2025-24813Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT9.8Exploited100%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.8Exploited90%6.0.48CVE record
CVE-2016-5425The Tomcat package on Red Hat Enterprise Linux (RHEL) 7, Fedora, CentOS, Oracle Linux, and possibly other Linux distributions uses weak permissions for…7.8Attack tool public4%–NVD
CVE-2005-4836The HTTP/1.1 connector in Apache Tomcat 4.1.15 through 4.1.40 does not reject NULL bytes in a URL when allowLinking is configured, which allows remote…7.8None known3%–NVD
CVE-2016-6325The Tomcat package on Red Hat Enterprise Linux (RHEL) 5 through 7, JBoss Web Server 3.0, and JBoss EWS 2 uses weak permissions for (1) /etc/sysconfig/tomcat…7.8None knownunder 1%–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.5None known7%–NVD
CVE-2026-41284Apache Tomcat: Unbounded read in WebDAV LOCK and PROPFIND handling7.5None knownunder 1%–CVE record
CVE-2022-45143Apache Tomcat: JsonErrorReportValve escaping7.5None known3%–CVE record
CVE-2026-55957Apache Tomcat: Authentication bypass with JNDIRealm and GSSAPI authenticated bind7.3None known3%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.8None known14%–NVD
CVE-2026-50229Apache Tomcat: XSS in number guess example6.1Proof of concept18%–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.8None known2%–NVD
CVE-2026-55956Apache Tomcat: Security constraints for default servlet ignored method6.5None known2%9.0.119NVD
CVE-2026-55955Apache Tomcat: EncryptInterceptor not protected against replay attacks6.5None knownunder 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.8None known16%–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.0None known18%–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.0None known20%–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.3None known8%–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.3None known9%–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.3None known7%–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.3None known9%–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.3None known9%–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.3None known8%–NVD
CVE-2026-24733Apache Tomcat: Security constraint bypass with HTTP/0.93.7None knownunder 1%–CVE record

Fixed since 4.1.39

6 CVEs that affect 4.1.39, the release before it, do not affect 4.1.40:

  • CVE-2009-3548 The 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… CVSS 7.5
  • CVE-2009-0580 Apache Tomcat 4.1.0 through 4.1.39, 5.5.0 through 5.5.27, and 6.0.0 through 6.0.18, when FORM authentication is used, allows remote attackers to enumerate… CVSS 4.3
  • CVE-2008-5515 Apache Tomcat 4.1.0 through 4.1.39, 5.5.0 through 5.5.27, 6.0.0 through 6.0.18, and possibly earlier versions normalizes the target pathname before filtering… CVSS 5.0
  • CVE-2009-0033 Apache Tomcat 4.1.0 through 4.1.39, 5.5.0 through 5.5.27, and 6.0.0 through 6.0.18, when the Java AJP connector and mod_jk load balancing are used, allows… CVSS 5.0
  • CVE-2009-2696 Cross-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… CVSS 4.3
  • CVE-2009-0783 Apache Tomcat 4.1.0 through 4.1.39, 5.5.0 through 5.5.27, and 6.0.0 through 6.0.18 permits web applications to replace an XML parser used for other web… CVSS 4.2

3 CVEs affect 4.1.40 and not 4.1.39: CVE-2016-5425, CVE-2016-6325, CVE-2022-45143.

Other Apache Tomcat 4.1 releases

4.1.3927 4.1.3826 4.1.3731 4.1.3640 4.1.3536 4.1.3437 4.1.3337 4.1.3237 4.1.3146 4.1.3039 4.1.2939 4.1.2844 4.1.2739 4.1.2639

All Apache Tomcat versions

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.