Home / Apache / Tomcat / CVE-2012-5886
CVE-2012-5886: is it exploited, and which versions of Apache Tomcat are affected and fixed?
CVE-2012-5886 is an authentication bypass (improper authentication) vulnerability in Apache Tomcat. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: org.apache.tomcat:tomcat-catalina from 5.5.0 before 5.5.36, org.apache.tomcat:tomcat-catalina from 6.0.0 before 6.0.36 and org.apache.tomcat:tomcat-catalina from 7.0.0 before 7.0.30 (GitHub advisory GHSA-9xrj-439h-62hg). Fixed in 5.5.36, 6.0.36 and 7.0.30 (GitHub advisory GHSA-9xrj-439h-62hg). Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2012-5886?
The HTTP Digest Access Authentication implementation in Apache Tomcat 5.5.x before 5.5.36, 6.x before 6.0.36, and 7.x before 7.0.30 caches information about the authenticated user within the session state, which makes it easier for remote attackers to bypass authentication via vectors related to the session ID.
From the CVE record by mitre, last updated October 9, 2026, 19:09 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat-catalina | >= 5.5.0, < 5.5.36 | 5.5.36 | GHSA-9xrj-439h-62hg |
| Maven | org.apache.tomcat:tomcat-catalina | >= 6.0.0, < 6.0.36 | 6.0.36 | GHSA-9xrj-439h-62hg |
| Maven | org.apache.tomcat:tomcat-catalina | >= 7.0.0, < 7.0.30 | 7.0.30 | GHSA-9xrj-439h-62hg |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 12, 2022. Summary: Improper Authentication in Apache Tomcat.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tomcat | 5.5.0 | application |
| apache | tomcat | 5.5.1 | application |
| apache | tomcat | 5.5.2 | application |
| apache | tomcat | 5.5.3 | application |
| apache | tomcat | 5.5.4 | application |
| apache | tomcat | 5.5.5 | application |
| apache | tomcat | 5.5.6 | application |
| apache | tomcat | 5.5.7 | application |
| apache | tomcat | 5.5.8 | application |
| apache | tomcat | 5.5.9 | application |
| apache | tomcat | 5.5.10 | application |
| apache | tomcat | 5.5.11 | application |
| apache | tomcat | 5.5.12 | application |
| apache | tomcat | 5.5.13 | application |
| apache | tomcat | 5.5.14 | application |
| apache | tomcat | 5.5.15 | application |
| apache | tomcat | 5.5.16 | application |
| apache | tomcat | 5.5.17 | application |
| apache | tomcat | 5.5.18 | application |
| apache | tomcat | 5.5.19 | application |
| apache | tomcat | 5.5.20 | application |
| apache | tomcat | 5.5.21 | application |
| apache | tomcat | 5.5.22 | application |
| apache | tomcat | 5.5.23 | application |
| apache | tomcat | 5.5.24 | application |
NVD analysis (status Modified), last modified October 9, 2026, 20:17 UTC.
How severe is CVE-2012-5886?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-5886 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 9, 2026)
- EPSS
- 8.77% probability of exploitation activity in the next 30 days, percentile 95.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-287 Improper Authentication
Where are the vendor advisories and references?
- http://www-01.ibm.com/support/docview.wss?uid=swg21626891 x_refsource_CONFIRM
- 51371 third-party-advisory, x_refsource_SECUNIA
- openSUSE-SU-2012:1700 vendor-advisory, x_refsource_SUSE
- http://svn.apache.org/viewvc?view=revision&revision=1392248 x_refsource_CONFIRM
- RHSA-2013:0631 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0640 vendor-advisory, x_refsource_REDHAT
- USN-1637-1 vendor-advisory, x_refsource_UBUNTU
- 56403 vdb-entry, x_refsource_BID
- http://tomcat.apache.org/security-7.html x_refsource_CONFIRM
- RHSA-2013:0648 vendor-advisory, x_refsource_REDHAT
- tomcat-http-Digest-security-bypass(80407) vdb-entry, x_refsource_XF
- RHSA-2013:0633 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0629 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0647 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0632 vendor-advisory, x_refsource_REDHAT
- http://tomcat.apache.org/security-6.html x_refsource_CONFIRM
- http://svn.apache.org/viewvc?view=revision&revision=1380829 x_refsource_CONFIRM
- openSUSE-SU-2013:0147 vendor-advisory, x_refsource_SUSE
- RHSA-2013:0623 vendor-advisory, x_refsource_REDHAT
- http://tomcat.apache.org/security-5.html x_refsource_CONFIRM
- http://svn.apache.org/viewvc?view=revision&revision=1377807 x_refsource_CONFIRM
- openSUSE-SU-2012:1701 vendor-advisory, x_refsource_SUSE
- RHSA-2013:0726 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- November 17, 2012
- Published
- November 17, 2012, 19:00 UTC
- CVE record updated
- October 9, 2026, 19:09 UTC by mitre
- NVD
- Modified, last modified October 9, 2026, 20:17 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Tomcat?
- Apr 15, 2019CVE-2019-0232 Apache Tomcat: OS command injection
- Mar 23, 2017CVE-2016-9775 Debian Linux: n/a
- Mar 23, 2017CVE-2016-9774 Debian Linux: link following (a symlink lets an attacker reach other files)
- Oct 13, 2016CVE-2016-6325 Apache Tomcat: n/a
- Oct 13, 2016CVE-2016-5425 Apache Tomcat: insecure default permissions
- Oct 3, 2016CVE-2016-1240 Apache Tomcat: improper input validation
- Jul 19, 2016CVE-2016-5388 Redhat Enterprise Linux Desktop: improper access control
- Jul 4, 2016CVE-2016-3092 Hp Icewall Identity Manager: improper input validation
Questions about CVE-2012-5886
Is CVE-2012-5886 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 8.77% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Tomcat are affected by CVE-2012-5886?
org.apache.tomcat:tomcat-catalina from 5.5.0 before 5.5.36, org.apache.tomcat:tomcat-catalina from 6.0.0 before 6.0.36 and org.apache.tomcat:tomcat-catalina from 7.0.0 before 7.0.30, per the GitHub advisory GHSA-9xrj-439h-62hg. The tables above give every range the sources list.
Which version fixes CVE-2012-5886?
5.5.36, 6.0.36 and 7.0.30, per the GitHub advisory GHSA-9xrj-439h-62hg. Check the vendor's advisory before you rely on it.
How severe is CVE-2012-5886?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-5886?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.