{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2016-1240","published":"2016-10-03T15:59:00.207000Z","last_modified":"2026-06-17T00:41:32.153000Z","status":"Modified","cvss":{"version":"3.0","score":7.8,"severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:apache:tomcat:6.0:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"tomcat","version":"6.0"},{"criteria":"cpe:2.3:a:apache:tomcat:7.0:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"tomcat","version":"7.0"},{"criteria":"cpe:2.3:a:apache:tomcat:8.0:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"tomcat","version":"8.0"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/tomcat"],"epss":{"score":0.09783,"percentile":0.96277,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"server","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":48,"links":{"html_es":"/es/cve/CVE-2016-1240/","html_en":"/en/cve/CVE-2016-1240/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-1240","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-1240"},"untrusted":{"vendor_name":"Apache","product_name":"Tomcat","desc_en":"The Tomcat init script in the tomcat7 package before 7.0.56-3+deb8u4 and tomcat8 package before 8.0.14-1+deb8u3 on Debian jessie and the tomcat6 and libtomcat6-java packages before 6.0.35-1ubuntu3.8 on Ubuntu 12.04 LTS, the tomcat7 and libtomcat7-java packages before 7.0.52-1ubuntu0.7 on Ubuntu 14.04 LTS, and tomcat8 and libtomcat8-java packages before 8.0.32-1ubuntu1.2 on Ubuntu 16.04 LTS allows local users with access to the tomcat account to gain root privileges via a symlink attack on the Catalina log file, as demonstrated by /var/log/tomcat7/catalina.out.","affected":[],"references":[{"url":"http://legalhackers.com/advisories/Tomcat-DebPkgs-Root-Privilege-Escalation-Exploit-CVE-2016-1240.html","tags":[]},{"url":"http://packetstormsecurity.com/files/170857/Apache-Tomcat-On-Ubuntu-Log-Init-Privilege-Escalation.html","tags":[]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0457.html","tags":[]},{"url":"http://www.debian.org/security/2016/dsa-3669","tags":["Third Party Advisory"]},{"url":"http://www.debian.org/security/2016/dsa-3670","tags":["Third Party Advisory"]},{"url":"http://www.securityfocus.com/archive/1/539519/100/0/threaded","tags":[]},{"url":"http://www.securityfocus.com/bid/93263","tags":[]},{"url":"http://www.securitytracker.com/id/1036845","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.ubuntu.com/usn/USN-3081-1","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:0455","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2017:0456","tags":[]},{"url":"https://security.gentoo.org/glsa/201705-09","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20180731-0002/","tags":[]},{"url":"https://www.exploit-db.com/exploits/40450/","tags":[]}]}}