CVE-2016-0762: Apache Tomcat Realm Username Enumeration Timing Attack
- Vendors
- Oracle CorporationDebian ProjectRed HatNetAppApache Software FoundationCanonical
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.
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.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
References
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.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.