Stackurity Start free trial

CVEs / CVE-2016-5018

CVE-2016-5018: Apache Software Foundation Apache Tomcat vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2016-5018

Description

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.

The CVE record, via NVD · published 10 Aug 2017 · NVD status: Modified

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Apache Software Foundation Apache Tomcat9.0.0.M1 to 9.0.0.M9—
Apache Software Foundation Apache Tomcat8.5.0 to 8.5.4—
Apache Software Foundation Apache Tomcat8.0.0.RC1 to 8.0.36—
Apache Software Foundation Apache Tomcat7.0.0 to 7.0.70—
Apache Software Foundation Apache Tomcat6.0.0 to 6.0.45—
As stated by OSV
ProductAffectedFixed in
org.apache.tomcat:tomcat-jasper (Maven)from 9.0.0.M1, before 9.0.0.M109.0.0.M10
org.apache.tomcat:tomcat-jasper (Maven)from 8.5.0, before 8.5.58.5.5
org.apache.tomcat:tomcat-jasper (Maven)from 8.0.0RC1, before 8.0.378.0.37
org.apache.tomcat:tomcat-jasper (Maven)from 7.0.0, before 7.0.727.0.72
org.apache.tomcat:jasper (Maven)from 6.0.0, before 6.0.476.0.47
org.apache.tomcat.embed:tomcat-embed-jasper (Maven)from 9.0.0.M1, before 9.0.0.M109.0.0.M10
org.apache.tomcat.embed:tomcat-embed-jasper (Maven)from 8.5.0, before 8.5.58.5.5
org.apache.tomcat.embed:tomcat-embed-jasper (Maven)from 8.0.0RC1, before 8.0.378.0.37
org.apache.tomcat.embed:tomcat-embed-jasper (Maven)from 7.0.0, before 7.0.727.0.72
org.apache.tomcat.embed:tomcat-embed-jasper (Maven)from 6.0.0, before 6.0.476.0.47

Package versions from GHSA-4v3g-g84w-hv7r.

Exploitation

Not in the CISA Known Exploited Vulnerabilities catalog as of 25 Nov 2026.

Severity

CVSS 3.19.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Scored by NVD

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.