patchminder
Proof of concept · Exploit-DB CVE-2016-5018

Vulnerabilityin Apache Tomcat.

Published 10 Aug 2017 · Updated 8 Oct 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (Exploit-DB).

Attack code is public
Severity
Critical 9.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 49.3% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

In Apache Tomcat 9.0.0.M1 to 9.0.0.M9, 8.5.0 to 8.5.4, 8.0.0.RC1 to 8.0.36, 7.0.0 to 7.0.70 and 6.0.0 to 6.0.45 a malicious web application was able to bypass a configured SecurityManager via a Tomcat utility method that was accessible to web applications.

What to do now
  • Upgrade org.apache.tomcat:tomcat-jasper (Maven) to 7.0.72, 8.0.37, 8.5.5, 9.0.0.M10 or later, whichever matches your release line.
  • Upgrade org.apache.tomcat:jasper (Maven) to 6.0.47 or later.
  • Upgrade org.apache.tomcat.embed:tomcat-embed-jasper (Maven) to 6.0.47, 7.0.72, 8.0.37, 8.5.5, 9.0.0.M10 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache Tomcat
9.0.0.M1 to 9.0.0.M9
Not confirmed
CVE record
Apache Tomcat
8.5.0 to 8.5.4
Not confirmed
CVE record
Apache Tomcat
8.0.0.RC1 to 8.0.36
Not confirmed
CVE record
Apache Tomcat
7.0.0 to 7.0.70
Not confirmed
CVE record
Apache Tomcat
6.0.0 to 6.0.45
Not confirmed
CVE record
org.apache.tomcat:tomcat-jasper (Maven)
9.0.0.M1 to before 9.0.0.M10
9.0.0.M10
GitHub advisory
org.apache.tomcat:tomcat-jasper (Maven)
8.5.0 to before 8.5.5
8.5.5
GitHub advisory
org.apache.tomcat:tomcat-jasper (Maven)
8.0.0RC1 to before 8.0.37
8.0.37
GitHub advisory
org.apache.tomcat:tomcat-jasper (Maven)
7.0.0 to before 7.0.72
7.0.72
GitHub advisory
org.apache.tomcat:jasper (Maven)
6.0.0 to before 6.0.47
6.0.47
GitHub advisory
org.apache.tomcat.embed:tomcat-embed-jasper (Maven)
9.0.0.M1 to before 9.0.0.M10
9.0.0.M10
GitHub advisory
org.apache.tomcat.embed:tomcat-embed-jasper (Maven)
8.5.0 to before 8.5.5
8.5.5
GitHub advisory
org.apache.tomcat.embed:tomcat-embed-jasper (Maven)
8.0.0RC1 to before 8.0.37
8.0.37
GitHub advisory
org.apache.tomcat.embed:tomcat-embed-jasper (Maven)
7.0.0 to before 7.0.72
7.0.72
GitHub advisory
org.apache.tomcat.embed:tomcat-embed-jasper (Maven)
6.0.0 to before 6.0.47
6.0.47
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 24 May 2016
    CVE ID reserved by apache.
  2. 10 Aug 2017
    Published in the CVE List.
  3. 8 Oct 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (Exploit-DB). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
None known
Exploit-DBEDB-ID 47892web application exploit for java, published 8 Jan 2020

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Tomcat vulnerabilities

References
Cite this page

Patchminder. CVE-2016-5018: Vulnerability in Apache Tomcat. https://patchminder.com/cve/cve-2016-5018/ (accessed 5 December 2026).