Skip to main content
Mallory
MediumVulnerability

CVE-2016-0762: Apache Tomcat Realm Username Enumeration Timing Attack

Published Aug 10, 2017 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.9Medium · v3.1
EPSS8.0%95th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
Oracle CorporationDebian ProjectRed HatNetAppApache Software FoundationCanonical
IdentifiersCVE-2016-0762CWE-208

CVE-2016-0762 is an observable timing discrepancy in Apache Tomcat Realm authentication implementations. In affected releases, when an authentication request supplied a nonexistent username, the Realm did not process the supplied password. Authentication handling therefore took measurably less time than it did for an existing username with an incorrect password, allowing an attacker to distinguish valid usernames through repeated timing measurements. Affected versions include Tomcat 9.0.0.M1 through 9.0.0.M9, 8.5.0 through 8.5.4, 8.0.0.RC1 through 8.0.36, 7.0.0 through 7.0.70, and 6.0.0 through 6.0.45.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An unauthenticated remote attacker may enumerate valid account names accepted by an affected Tomcat Realm. The resulting account list can improve the effectiveness of password-spraying, credential-stuffing, phishing, and other account-targeted attacks. The flaw does not itself provide authentication bypass, code execution, privilege escalation, or data modification.

Mitigation

If you can’t patch tonight, do this now.

Retain or enable the default LockOutRealm configuration where operationally appropriate, as it makes timing-based enumeration more difficult. Restrict access to authentication endpoints to trusted networks where feasible, apply rate limiting and monitoring to repeated failed authentication attempts, and avoid exposing detailed authentication failures. These measures are compensating controls and do not replace upgrading.

Remediation

Patch, then assume compromise.

Upgrade Apache Tomcat to a release containing the constant-time authentication handling fix: 9.0.0.M10 or later, 8.5.5 or later, 8.0.37 or later, 7.0.72 or later, or 6.0.47 or later. Apply the corresponding supported vendor update for bundled Tomcat deployments, including Red Hat JBoss Web Server and Red Hat Enterprise Linux Tomcat packages.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Apache Software FoundationTomcatapplication
CanonicalUbuntu Linuxoperating_system
Debian ProjectDebian Linuxoperating_system
NetAppOncommand Insightapplication
NetAppOncommand Shiftapplication
NetAppSnap Creator Frameworkapplication
Oracle CorporationCommunications Diameter Signaling Routerapplication
Oracle CorporationTekelec Platform Distributionapplication
Red HatEnterprise Linux Desktopoperating_system
Red HatEnterprise Linux Eusoperating_system
Red HatEnterprise Linux Serveroperating_system
Red HatEnterprise Linux Server Ausoperating_system
Red HatEnterprise Linux Server Tusoperating_system
Red HatEnterprise Linux Workstationoperating_system
Red HatJboss Enterprise Web Serverapplication
FAQ

Frequently asked questions

Is CVE-2016-0762 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2016-0762 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2016-0762?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2016-0762.
Is there a patch for CVE-2016-0762?
Upgrade Apache Tomcat to a release containing the constant-time authentication handling fix: 9.0.0.M10 or later, 8.5.5 or later, 8.0.37 or later, 7.0.72 or later, or 6.0.47 or later. Apply the corresponding supported vendor update for bundled Tomcat deployments, including Red Hat JBoss Web Server and Red Hat Enterprise Linux Tomcat packages.
What products are affected by CVE-2016-0762?
Apache Software Foundation Tomcat, Oracle Corporation Communications Diameter Signaling Router, Debian Project Debian Linux, Red Hat Enterprise Linux Desktop, Red Hat Enterprise Linux Eus, and 10 more.
How severe is CVE-2016-0762?
CVE-2016-0762 has a CVSS v3.1 score of 5.9 (Medium) and an EPSS score of 8.0% (95th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.