{"id":"CVE-2016-0762","published":"2017-08-10T16:00:00Z","modified":"2026-10-08T21:13:49Z","title":"The Realm implementations in Apache Tomcat versions 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…","vendor":"Apache","product":"Apache Tomcat","tier":"tail","description":{"text":"The Realm implementations in Apache Tomcat versions 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 did not process the supplied password if the supplied user name did not exist. This made a timing attack possible to determine valid user names. Note that the default configuration includes the LockOutRealm which makes exploitation of this vulnerability harder.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.07991,"percentile":0.94889,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securitytracker.com/id/1037144","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://lists.apache.org/thread.html/1872f96bad43647832bdd84a408794cd06d9cbb557af63085ca10009%40%3Cannounce.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2247","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0457.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2017:0455","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/93939","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.debian.org/security/2016/dsa-3720","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://access.redhat.com/errata/RHSA-2017:0456","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/4557-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20180605-0001/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":18.98}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Tomcat","versions":["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","6.0.0 to 6.0.45"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-08T21:05:32.148843Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","vulnerableRanges":[">=9.0.0M1, <9.0.0.M10",">=8.5.0, <8.5.5",">=8.0.0.RC1, <8.0.37",">=7.0.0, <7.0.72",">=6.0.0, <6.0.46"],"patched":["9.0.0.M10","8.5.5","8.0.37","7.0.72","6.0.46"],"from":["GHSA-wxcp-f2c8-x6xv"],"provenance":"source"}],"summary":{"text":"The Realm implementations in Apache Tomcat (versions 6.0.x through 9.0.0.M9 in the listed ranges) skip processing the supplied password when the user name does not exist, which is the flaw. An attacker able to submit login attempts can use the resulting timing differences to determine which user names are valid, and the default LockOutRealm configuration makes this harder to exploit.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:56:24Z"},"euvd":{"id":"EUVD-2022-5668","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-tomcat-cve-2011-1184","parents":[{"from":"CVE-2011-1184","to":"CVE-2016-0762","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["java/org/apache/catalina/realm/RealmBase.java"],"commits":["https://github.com/apache/tomcat/commit/639e20992a66d7a42fb59c974db91c8a0f730a1e","https://github.com/apache/tomcat/commit/86b2e436099cb48f30dad950175c5beeeb763756","https://github.com/apache/tomcat/commit/970e615c7ade6ec6c341470bbc76aa1256353737"],"basis":"shared function","functions":["authenticate"]}]},{"from":"CVE-2011-5062","to":"CVE-2016-0762","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["java/org/apache/catalina/realm/RealmBase.java"],"commits":["https://github.com/apache/tomcat/commit/639e20992a66d7a42fb59c974db91c8a0f730a1e","https://github.com/apache/tomcat/commit/86b2e436099cb48f30dad950175c5beeeb763756","https://github.com/apache/tomcat/commit/970e615c7ade6ec6c341470bbc76aa1256353737"],"basis":"shared function","functions":["authenticate"]}]},{"from":"CVE-2011-5063","to":"CVE-2016-0762","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["java/org/apache/catalina/realm/RealmBase.java"],"commits":["https://github.com/apache/tomcat/commit/639e20992a66d7a42fb59c974db91c8a0f730a1e","https://github.com/apache/tomcat/commit/86b2e436099cb48f30dad950175c5beeeb763756","https://github.com/apache/tomcat/commit/970e615c7ade6ec6c341470bbc76aa1256353737"],"basis":"shared function","functions":["authenticate"]}]},{"from":"CVE-2012-3546","to":"CVE-2016-0762","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["java/org/apache/catalina/realm/RealmBase.java"],"commits":["https://github.com/apache/tomcat/commit/f78c0cdfc8a3c2efdfe6df6b69e5e3daafa3f588","https://github.com/apache/tomcat/commit/86b2e436099cb48f30dad950175c5beeeb763756","https://github.com/apache/tomcat/commit/970e615c7ade6ec6c341470bbc76aa1256353737"],"basis":"shared function","functions":["hasResourcePermission"]}]}],"children":[{"from":"CVE-2016-0762","to":"CVE-2018-1304","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["java/org/apache/catalina/realm/RealmBase.java"],"commits":["https://github.com/apache/tomcat/commit/86b2e436099cb48f30dad950175c5beeeb763756","https://github.com/apache/tomcat/commit/970e615c7ade6ec6c341470bbc76aa1256353737","https://github.com/apache/tomcat/commit/723ea6a5bc5e7bc49e5ef84273c3b3c164a6a4fd"],"basis":"shared function","functions":["backgroundProcess"]}]},{"from":"CVE-2016-0762","to":"CVE-2026-65182","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["java/org/apache/catalina/realm/RealmBase.java"],"commits":["https://github.com/apache/tomcat/commit/86b2e436099cb48f30dad950175c5beeeb763756","https://github.com/apache/tomcat/commit/970e615c7ade6ec6c341470bbc76aa1256353737","https://github.com/apache/tomcat/commit/8bafd79a3b54684e80e9cb1bafd4746aede7d3f5","https://github.com/apache/tomcat/commit/b2c56ec8f20c66773a1a813034ffcdb60841f1cf"],"basis":"shared function","functions":["toString"]}]}],"packageHistory":[{"cve":"CVE-2014-0230","published":"2015-06-07","fixed":"8.0.9","kev":false},{"cve":"CVE-2014-7810","published":"2015-06-07","fixed":"8.0.16","kev":false},{"cve":"CVE-2015-5174","published":"2016-02-25","fixed":"8.0.27","kev":false},{"cve":"CVE-2016-0762","published":"2017-08-10","fixed":"9.0.0.M10","kev":false},{"cve":"CVE-2016-6794","published":"2017-08-10","fixed":"9.0.0.M10","kev":false},{"cve":"CVE-2016-6796","published":"2017-08-11","fixed":"9.0.0.M10","kev":false,"link":{"from":"CVE-2016-6796","to":"CVE-2016-0762","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat","fromFixed":"7.0.71","toFixed":"7.0.72","daysApart":-1}]}},{"cve":"CVE-2016-6797","published":"2017-08-10","fixed":"9.0.0.M10","kev":false},{"cve":"CVE-2015-5345","published":"2016-02-25","fixed":"9.0.0.M2","kev":false,"link":{"from":"CVE-2015-5345","to":"CVE-2016-0762","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat","fromFixed":"6.0.45","toFixed":"6.0.46","daysApart":532}]}}],"package":"Maven:org.apache.tomcat:tomcat"}}