Home / Apache Software Foundation / Apache Tomcat / CVE-2017-5664
CVE-2017-5664: is it exploited, and which versions of Apache Software Foundation Apache Tomcat are affected and fixed?
CVE-2017-5664 is an exceptional condition mishandled vulnerability in Apache Software Foundation 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 9.0.0.M1 before 9.0.0.M21, org.apache.tomcat:tomcat from 8.5.0 before 8.5.15, org.apache.tomcat:tomcat from 8.0.0 before 8.0.44 and 1 more (GitHub advisory GHSA-jmvv-524f-hj5j). Fixed in 9.0.0.M21, 8.5.15, 8.0.44 and 7.0.78 (GitHub advisory GHSA-jmvv-524f-hj5j). Severity: High (7.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:41 UTC.
What is CVE-2017-5664?
The error page mechanism of the Java Servlet Specification requires that, when an error occurs and an error page is configured for the error that occurred, the original request and response are forwarded to the error page. This means that the request is presented to the error page with the original HTTP method. If the error page is a static file, expected behaviour is to serve content of the file as if processing a GET request, regardless of the actual HTTP method. The Default Servlet in Apache Tomcat 9.0.0.M1 to 9.0.0.M20, 8.5.0 to 8.5.14, 8.0.0.RC1 to 8.0.43 and 7.0.0 to 7.0.77 did not do this. Depending on the original request this could lead to unexpected and undesirable results for static error pages including, if the DefaultServlet is configured to permit writes, the replacement or removal of the custom error page. Notes for other user provided error pages: (1) Unless explicitly coded otherwise, JSPs ignore the HTTP method. JSPs used as error pages must must ensure that they handle any error dispatch as a GET request, regardless of the actual method. (2) By default, the response generated by a Servlet does depend on the HTTP method. Custom Servlets used as error pages must ensure that they handle any error dispatch as a GET request, regardless of the actual method.
From the CVE record by apache, last updated October 15, 2026, 15:58 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Tomcat | 9.0.0.M1 to 9.0.0.M20 8.5.0 to 8.5.14 8.0.0.RC1 to 8.0.43 7.0.0 to 7.0.77 |
As the CVE record by apache states it, last updated October 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >= 9.0.0.M1, < 9.0.0.M21 | 9.0.0.M21 | GHSA-jmvv-524f-hj5j |
| Maven | org.apache.tomcat:tomcat | >= 8.5.0, < 8.5.15 | 8.5.15 | GHSA-jmvv-524f-hj5j |
| Maven | org.apache.tomcat:tomcat | >= 8.0.0, < 8.0.44 | 8.0.44 | GHSA-jmvv-524f-hj5j |
| Maven | org.apache.tomcat:tomcat | >= 7.0.0, < 7.0.78 | 7.0.78 | GHSA-jmvv-524f-hj5j |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 22, 2024. Summary: Improper Handling of Exceptional Conditions in Apache Tomcat.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tomcat | 7.0.0 | application |
| apache | tomcat | 7.0.1 | application |
| apache | tomcat | 7.0.2 | application |
| apache | tomcat | 7.0.3 | application |
| apache | tomcat | 7.0.4 | application |
| apache | tomcat | 7.0.5 | application |
| apache | tomcat | 7.0.6 | application |
| apache | tomcat | 7.0.7 | application |
| apache | tomcat | 7.0.8 | application |
| apache | tomcat | 7.0.9 | application |
| apache | tomcat | 7.0.10 | application |
| apache | tomcat | 7.0.11 | application |
| apache | tomcat | 7.0.12 | application |
| apache | tomcat | 7.0.13 | application |
| apache | tomcat | 7.0.14 | application |
| apache | tomcat | 7.0.15 | application |
| apache | tomcat | 7.0.16 | application |
| apache | tomcat | 7.0.17 | application |
| apache | tomcat | 7.0.18 | application |
| apache | tomcat | 7.0.19 | application |
| apache | tomcat | 7.0.20 | application |
| apache | tomcat | 7.0.21 | application |
| apache | tomcat | 7.0.22 | application |
| apache | tomcat | 7.0.23 | application |
| apache | tomcat | 7.0.24 | application |
NVD analysis (status Modified), last modified October 15, 2026, 16:17 UTC.
How severe is CVE-2017-5664?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
| 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-2017-5664 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 15, 2026)
- EPSS
- 16.6% probability of exploitation activity in the next 30 days, percentile 97.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-755 Improper Handling of Exceptional Conditions
Where are the vendor advisories and references?
- DSA-3891 vendor-advisory, x_refsource_DEBIAN
- https://security.netapp.com/advisory/ntap-20171019-0002/ x_refsource_CONFIRM
- 98888 vdb-entry, x_refsource_BID
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html x_refsource_CONFIRM
- RHSA-2017:3080 vendor-advisory, x_refsource_REDHAT
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03828en_us x_refsource_CONFIRM
- RHSA-2017:1801 vendor-advisory, x_refsource_REDHAT
- RHSA-2017:2635 vendor-advisory, x_refsource_REDHAT
- RHSA-2017:2638 vendor-advisory, x_refsource_REDHAT
- RHSA-2017:2494 vendor-advisory, x_refsource_REDHAT
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html x_refsource_CONFIRM
- [tomcat-users] 20170606 [SECURITY] CVE-2017-5664 Apache Tomcat Security Constraint Bypass mailing-list, x_refsource_MLIST
- RHSA-2017:2636 vendor-advisory, x_refsource_REDHAT
- RHSA-2017:1809 vendor-advisory, x_refsource_REDHAT
- RHSA-2017:2637 vendor-advisory, x_refsource_REDHAT
- 1038641 vdb-entry, x_refsource_SECTRACK
- DSA-3892 vendor-advisory, x_refsource_DEBIAN
- RHSA-2017:2633 vendor-advisory, x_refsource_REDHAT
- RHSA-2017:1802 vendor-advisory, x_refsource_REDHAT
- RHSA-2017:2493 vendor-advisory, x_refsource_REDHAT
- [tomcat-dev] 20190319 svn commit: r1855831 [24/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190319 svn commit: r1855831 [25/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [22/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [23/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [24/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190413 svn commit: r1857494 [17/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190413 svn commit: r1857496 [3/4] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190413 svn commit: r1857494 [16/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190415 svn commit: r1857582 [18/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190415 svn commit: r1857582 [17/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190415 svn commit: r1857582 [19/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html x_refsource_MISC
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html x_refsource_MISC
- [tomcat-dev] 20200203 svn commit: r1873527 [25/30] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [29/34] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- January 29, 2017
- Published
- June 6, 2017, 14:00 UTC
- CVE record updated
- October 15, 2026, 15:58 UTC by apache
- NVD
- Modified, last modified October 15, 2026, 16:17 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:41 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Tomcat?
- Apr 9, 2026CVE-2026-34486 Apache Software Foundation Apache Tomcat: sensitive data not encrypted exploited
- Mar 10, 2025CVE-2025-24813 Apache Software Foundation Apache Tomcat: path Equivalence: 'file.name' (Internal Dot) exploited
- Oct 3, 2017CVE-2017-12617 Apache Software Foundation Apache Tomcat: unrestricted file upload exploited
- Sep 19, 2017CVE-2017-12615 Apache Software Foundation Apache Tomcat: unrestricted file upload exploited
- Apr 6, 2017CVE-2016-8735 Apache Software Foundation Apache Tomcat: improper access control exploited
- Nov 19, 2026CVE-2026-121649 Apache Software Foundation Apache Tomcat: use of Cache Containing Sensitive Information
- Nov 19, 2026CVE-2026-133325 Apache Software Foundation Apache Tomcat: key Exchange without Entity Authentication
- Nov 19, 2026CVE-2026-118436 Apache Software Foundation Apache Tomcat: denial of service (resources allocated without limits)
Questions about CVE-2017-5664
Is CVE-2017-5664 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 16.6% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache Tomcat are affected by CVE-2017-5664?
org.apache.tomcat:tomcat from 9.0.0.M1 before 9.0.0.M21, org.apache.tomcat:tomcat from 8.5.0 before 8.5.15, org.apache.tomcat:tomcat from 8.0.0 before 8.0.44 and org.apache.tomcat:tomcat from 7.0.0 before 7.0.78, per the GitHub advisory GHSA-jmvv-524f-hj5j. The tables above give every range the sources list.
Which version fixes CVE-2017-5664?
9.0.0.M21, 8.5.15, 8.0.44 and 7.0.78, per the GitHub advisory GHSA-jmvv-524f-hj5j. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-5664?
High (7.5, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-5664?
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.