Home / Apache / Tomcat / CVE-2007-5333
CVE-2007-5333: is it exploited, and which versions of Apache Tomcat are affected and fixed?
CVE-2007-5333 is an information disclosure 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, 07:38 UTC). Affected: org.apache.tomcat:tomcat from 6.0.0 before 6.0.15, org.apache.tomcat:tomcat from 5.5.0 before 5.5.26 and org.apache.tomcat:tomcat from 4.1.0 before 4.1.37 (GitHub advisory GHSA-cww4-vj5r-rx57). Fixed in 6.0.15, 5.5.26 and 4.1.37 (GitHub advisory GHSA-cww4-vj5r-rx57). Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is CVE-2007-5333?
Apache Tomcat 6.0.0 through 6.0.14, 5.5.0 through 5.5.25, and 4.1.0 through 4.1.36 does not properly handle (1) double quote (") characters or (2) %5C (encoded backslash) sequences in a cookie value, which might cause sensitive information such as session IDs to be leaked to remote attackers and enable session hijacking attacks. NOTE: this issue exists because of an incomplete fix for CVE-2007-3385.
From the CVE record by redhat, last updated August 7, 2024, 15:24 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.15 | 6.0.15 | GHSA-cww4-vj5r-rx57 |
| Maven | org.apache.tomcat:tomcat | >= 5.5.0, < 5.5.26 | 5.5.26 | GHSA-cww4-vj5r-rx57 |
| Maven | org.apache.tomcat:tomcat | >= 4.1.0, < 4.1.37 | 4.1.37 | GHSA-cww4-vj5r-rx57 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 9, 2025. Summary: Exposure of Sensitive Information in Apache Tomcat.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tomcat | from 4.1.0 through 4.1.36 | application |
| apache | tomcat | from 5.5.0 through 5.5.25 | application |
| apache | tomcat | from 6.0.0 through 6.0.14 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:45 UTC.
How severe is CVE-2007-5333?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/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-2007-5333 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 62.6% probability of exploitation activity in the next 30 days, percentile 99.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- ADV-2008-2690 vdb-entry, x_refsource_VUPEN
- 33330 third-party-advisory, x_refsource_SECUNIA
- http://tomcat.apache.org/security-4.html x_refsource_CONFIRM
- http://support.apple.com/kb/HT2163 x_refsource_CONFIRM
- 30676 third-party-advisory, x_refsource_SECUNIA
- 27706 vdb-entry, x_refsource_BID
- 3636 third-party-advisory, x_refsource_SREASON
- JVN#09470767 third-party-advisory, x_refsource_JVN
- ADV-2008-1981 vdb-entry, x_refsource_VUPEN
- IZ20133 vendor-advisory, x_refsource_AIXAPAR
- oval:org.mitre.oval:def:11177 vdb-entry, signature, x_refsource_OVAL
- 28915 third-party-advisory, x_refsource_SECUNIA
- 37460 third-party-advisory, x_refsource_SECUNIA
- IZ20991 vendor-advisory, x_refsource_AIXAPAR
- 31681 vdb-entry, x_refsource_BID
- 28884 third-party-advisory, x_refsource_SECUNIA
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html x_refsource_CONFIRM
- 20080208 [SECURITY] CVE-2007-5333: Tomcat Cookie handling vulnerabilities mailing-list, x_refsource_BUGTRAQ
- http://www-01.ibm.com/support/docview.wss?uid=swg27012048 x_refsource_CONFIRM
- 28878 third-party-advisory, x_refsource_SECUNIA
- 32036 third-party-advisory, x_refsource_SECUNIA
- ADV-2008-0488 vdb-entry, x_refsource_VUPEN
- 44183 third-party-advisory, x_refsource_SECUNIA
- APPLE-SA-2008-06-30 vendor-advisory, x_refsource_APPLE
- MDVSA-2010:176 vendor-advisory, x_refsource_MANDRIVA
- 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components mailing-list, x_refsource_BUGTRAQ
- SUSE-SR:2009:004 vendor-advisory, x_refsource_SUSE
- MDVSA-2009:018 vendor-advisory, x_refsource_MANDRIVA
- http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.2.0.cp08/html-single/Release_Notes/index.html x_refsource_CONFIRM
- http://tomcat.apache.org/security-6.html x_refsource_CONFIRM
- 57126 third-party-advisory, x_refsource_SECUNIA
- 32222 third-party-advisory, x_refsource_SECUNIA
- 30802 third-party-advisory, x_refsource_SECUNIA
- http://www-01.ibm.com/support/docview.wss?uid=swg27012047 x_refsource_CONFIRM
- FEDORA-2008-1467 vendor-advisory, x_refsource_FEDORA
- GLSA-200804-10 vendor-advisory, x_refsource_GENTOO
- FEDORA-2008-1603 vendor-advisory, x_refsource_FEDORA
- ADV-2008-1856 vdb-entry, x_refsource_VUPEN
- http://www.vmware.com/security/advisories/VMSA-2008-0010.html x_refsource_CONFIRM
- http://tomcat.apache.org/security-5.html x_refsource_CONFIRM
- ADV-2008-2780 vdb-entry, x_refsource_VUPEN
- HPSBST02955 vendor-advisory, x_refsource_HP
- APPLE-SA-2008-10-09 vendor-advisory, x_refsource_APPLE
- http://support.apple.com/kb/HT3216 x_refsource_CONFIRM
- http://www-01.ibm.com/support/docview.wss?uid=swg24018932 x_refsource_CONFIRM
- 29711 third-party-advisory, x_refsource_SECUNIA
- ADV-2009-3316 vdb-entry, x_refsource_VUPEN
- https://bugzilla.redhat.com/show_bug.cgi?id=532111 x_refsource_CONFIRM
- [tomcat-dev] 20190319 svn commit: r1855831 [21/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190319 svn commit: r1855831 [22/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [19/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [20/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200203 svn commit: r1873527 [22/30] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [24/34] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [25/34] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- October 10, 2007
- Published
- February 12, 2008, 00:00 UTC
- CVE record updated
- August 7, 2024, 15:24 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 22:45 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 07: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-2007-5333
Is CVE-2007-5333 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 62.6% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Tomcat are affected by CVE-2007-5333?
org.apache.tomcat:tomcat from 6.0.0 before 6.0.15, org.apache.tomcat:tomcat from 5.5.0 before 5.5.26 and org.apache.tomcat:tomcat from 4.1.0 before 4.1.37, per the GitHub advisory GHSA-cww4-vj5r-rx57. The tables above give every range the sources list.
Which version fixes CVE-2007-5333?
6.0.15, 5.5.26 and 4.1.37, per the GitHub advisory GHSA-cww4-vj5r-rx57. Check the vendor's advisory before you rely on it.
How severe is CVE-2007-5333?
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-2007-5333?
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.