CVE-2015-5346
Improper Neutralization of Input During Web Page Generation in Apache Tomcat
Also known as GHSA-jrcp-c39h-r29x
Mitigation
- Upgrade org.apache.tomcat:tomcat to one of 9.0.0.M2, 8.0.31, 7.0.66 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.tomcat:tomcat (>= 9.0.0.M1, < 9.0.0.M2)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- org.apache.tomcat:tomcat >= 9.0.0.M1, < 9.0.0.M2
- Fixed in
- 9.0.0.M2, 8.0.31, 7.0.66
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.1 (v3.0, NVD)CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 10.57% chance of exploitation in 30 days (percentile 97, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
Session fixation vulnerability in Apache Tomcat 7.x before 7.0.66, 8.x before 8.0.30, and 9.x before 9.0.0.M2, when different session settings are used for deployments of multiple versions of the same web application, might allow remote attackers to hijack web sessions by leveraging use of a requestedSessionSSL field for an unintended request, related to CoyoteAdapter.java and Request.java.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.tomcat:tomcat | >= 9.0.0.M1, < 9.0.0.M2 | 9.0.0.M2, 8.0.31, 7.0.66 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2015-5346. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2015-5346.md Affected: org.apache.tomcat:tomcat >= 9.0.0.M1, < 9.0.0.M2 Fixed in: 9.0.0.M2, 8.0.31, 7.0.66 Steps: 1. Search this machine and project for org.apache.tomcat:tomcat (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://security.gentoo.org/glsa/201705-09
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00085.html
- http://tomcat.apache.org/security-9.html
- http://www.ubuntu.com/usn/USN-3024-1
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00047.html
- http://www.debian.org/security/2016/dsa-3530
- http://tomcat.apache.org/security-7.html
- http://rhn.redhat.com/errata/RHSA-2016-2046.html
- http://rhn.redhat.com/errata/RHSA-2016-1089.html
- http://tomcat.apache.org/security-8.html
- https://access.redhat.com/errata/RHSA-2016:1087
- http://rhn.redhat.com/errata/RHSA-2016-2807.html
- https://access.redhat.com/errata/RHSA-2016:1088
- http://rhn.redhat.com/errata/RHSA-2016-2808.html
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00069.html
- http://www.debian.org/security/2016/dsa-3609
- http://www.debian.org/security/2016/dsa-3552
- https://nvd.nist.gov/vuln/detail/CVE-2015-5346
Patches
- https://github.com/apache/tomcat/commit/04164c1f01b973e548d95511d417f414ca723cb8
- https://github.com/apache/tomcat/commit/6287be37d8d06c320215c45f7e2b8380411692e0
- https://github.com/apache/tomcat/commit/83679b99cd40caa401d173c8f8e72fc98eb5d5be
- https://github.com/apache/tomcat80/commit/41fbee7ba15435a831f765597ff907c56ebf2169
- https://github.com/apache/tomcat80/commit/c39b7ffc2145644f7f3cf9e3cd4aada5048e56a0
Other
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://seclists.org/bugtraq/2016/Feb/143
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
- http://svn.apache.org/viewvc?view=revision&revision=1713184
- http://www.securityfocus.com/bid/83323
- http://svn.apache.org/viewvc?view=revision&revision=1723414
- http://www.securitytracker.com/id/1035069
- https://bto.bluecoat.com/security-advisory/sa118
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150442
- https://security.netapp.com/advisory/ntap-20180531-0001/
- https://bz.apache.org/bugzilla/show_bug.cgi?id=58809
- http://svn.apache.org/viewvc?view=revision&revision=1713185
- http://svn.apache.org/viewvc?view=revision&revision=1723506
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- http://svn.apache.org/viewvc?view=revision&revision=1713187
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158626
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
- https://web.archive.org/web/20160912063818/http://www.securityfocus.com/bid/83323
- https://web.archive.org/web/20160321234551/http://www.securitytracker.com/id/1035069
- https://security.netapp.com/advisory/ntap-20180531-0001
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%3Cdev.tomcat.apache.org%3E
- https://github.com/apache/tomcat
FAQ
Is CVE-2015-5346 being exploited?
There is no confirmed exploitation: CVE-2015-5346 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 10.57% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2015-5346?
High: CVSS 8.1 (v3.0, scored by NVD). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2015-5346?
org.apache.tomcat:tomcat >= 9.0.0.M1, < 9.0.0.M2.
Is there a fix for CVE-2015-5346?
Yes. Fixed in 9.0.0.M2, 8.0.31, 7.0.66. Upgrade org.apache.tomcat:tomcat to one of 9.0.0.M2, 8.0.31, 7.0.66 (or later in the same release line).
How do I check if I'm affected by CVE-2015-5346?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.