Home / Apache / Tomcat / CVE-2012-3546
CVE-2012-3546: is it exploited, and which versions of Apache Tomcat are affected and fixed?
CVE-2012-3546 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 from 6.0.0 before 6.0.36 and org.apache.tomcat:tomcat from 7.0.0 before 7.0.30 (GitHub advisory GHSA-jgm2-m5cg-f66g). Fixed in 6.0.36 and 7.0.30 (GitHub advisory GHSA-jgm2-m5cg-f66g). Severity: Medium (4.3, 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-3546?
org/apache/catalina/realm/RealmBase.java in Apache Tomcat 6.x before 6.0.36 and 7.x before 7.0.30, when FORM authentication is used, allows remote attackers to bypass security-constraint checks by leveraging a previous setUserPrincipal call and then placing /j_security_check at the end of a URI.
From the CVE record by redhat, last updated August 6, 2024, 20:13 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >= 6.0.0, < 6.0.36 | 6.0.36 | GHSA-jgm2-m5cg-f66g |
| Maven | org.apache.tomcat:tomcat | >= 7.0.0, < 7.0.30 | 7.0.30 | GHSA-jgm2-m5cg-f66g |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 13, 2022. Summary: Authentication Bypass in Apache Tomcat.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tomcat | 6.0 | application |
| apache | tomcat | 6.0.0 | application |
| apache | tomcat | 6.0.1 | application |
| apache | tomcat | 6.0.2 | application |
| apache | tomcat | 6.0.3 | application |
| apache | tomcat | 6.0.4 | application |
| apache | tomcat | 6.0.5 | application |
| apache | tomcat | 6.0.6 | application |
| apache | tomcat | 6.0.7 | application |
| apache | tomcat | 6.0.8 | application |
| apache | tomcat | 6.0.9 | application |
| apache | tomcat | 6.0.10 | application |
| apache | tomcat | 6.0.11 | application |
| apache | tomcat | 6.0.12 | application |
| apache | tomcat | 6.0.13 | application |
| apache | tomcat | 6.0.14 | application |
| apache | tomcat | 6.0.15 | application |
| apache | tomcat | 6.0.16 | application |
| apache | tomcat | 6.0.17 | application |
| apache | tomcat | 6.0.18 | application |
| apache | tomcat | 6.0.19 | application |
| apache | tomcat | 6.0.20 | application |
| apache | tomcat | 6.0.24 | application |
| apache | tomcat | 6.0.26 | application |
| apache | tomcat | 6.0.27 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:43 UTC.
How severe is CVE-2012-3546?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/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-3546 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 12.0% probability of exploitation activity in the next 30 days, percentile 96.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- SSRT101139 vendor-advisory, x_refsource_HP
- 1027833 vdb-entry, x_refsource_SECTRACK
- USN-1685-1 vendor-advisory, x_refsource_UBUNTU
- 56812 vdb-entry, x_refsource_BID
- openSUSE-SU-2012:1700 vendor-advisory, x_refsource_SUSE
- http://svn.apache.org/viewvc?view=revision&revision=1377892 x_refsource_CONFIRM
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/RealmBase.java?r1=1377892&r2=1377891&pathrev=1377892 x_refsource_CONFIRM
- RHSA-2013:0640 vendor-advisory, x_refsource_REDHAT
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1377892&r2=1377891&pathrev=1377892 x_refsource_CONFIRM
- RHSA-2013:0163 vendor-advisory, x_refsource_REDHAT
- SSRT101182 vendor-advisory, x_refsource_HP
- RHSA-2013:0164 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0192 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0198 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0641 vendor-advisory, x_refsource_REDHAT
- 20121204 CVE-2012-3546 Apache Tomcat Bypass of security constraints mailing-list, x_refsource_BUGTRAQ
- http://tomcat.apache.org/security-7.html x_refsource_CONFIRM
- RHSA-2013:0004 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0195 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0221 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0196 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0147 vendor-advisory, x_refsource_REDHAT
- oval:org.mitre.oval:def:19305 vdb-entry, signature, x_refsource_OVAL
- RHSA-2013:0158 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0193 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0157 vendor-advisory, x_refsource_REDHAT
- 51984 third-party-advisory, x_refsource_SECUNIA
- http://tomcat.apache.org/security-6.html x_refsource_CONFIRM
- 52054 third-party-advisory, x_refsource_SECUNIA
- 57126 third-party-advisory, x_refsource_SECUNIA
- RHSA-2013:0146 vendor-advisory, x_refsource_REDHAT
- openSUSE-SU-2013:0147 vendor-advisory, x_refsource_SUSE
- RHSA-2013:0191 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0623 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0197 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0235 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0642 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0194 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0005 vendor-advisory, x_refsource_REDHAT
- HPSBST02955 vendor-advisory, x_refsource_HP
- openSUSE-SU-2012:1701 vendor-advisory, x_refsource_SUSE
- RHSA-2013:0162 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0151 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- June 14, 2012
- Published
- December 19, 2012, 11:00 UTC
- CVE record updated
- August 6, 2024, 20:13 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:43 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-3546
Is CVE-2012-3546 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 12.0% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Tomcat are affected by CVE-2012-3546?
org.apache.tomcat:tomcat from 6.0.0 before 6.0.36 and org.apache.tomcat:tomcat from 7.0.0 before 7.0.30, per the GitHub advisory GHSA-jgm2-m5cg-f66g. The tables above give every range the sources list.
Which version fixes CVE-2012-3546?
6.0.36 and 7.0.30, per the GitHub advisory GHSA-jgm2-m5cg-f66g. Check the vendor's advisory before you rely on it.
How severe is CVE-2012-3546?
Medium (4.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-3546?
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.