Home / Apache Software Foundation / Apache Tomcat / CVE-2018-1336
CVE-2018-1336: is it exploited, and which versions of Apache Software Foundation Apache Tomcat are affected and fixed?
CVE-2018-1336 is an infinite loop (denial of service) 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, 08:08 UTC). Affected: org.apache.tomcat.embed:tomcat-embed-core from 9.0.0.M9 before 9.0.8, org.apache.tomcat.embed:tomcat-embed-core from 8.5.0 before 8.5.31, org.apache.tomcat.embed:tomcat-embed-core from 8.0.0RC1 before 8.0.51 and 1 more (GitHub advisory GHSA-m59c-jpc8-m2x4). Fixed in 9.0.8, 8.5.31, 8.0.51 and 7.0.87 (GitHub advisory GHSA-m59c-jpc8-m2x4). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:30 UTC.
What is CVE-2018-1336?
An improper handing of overflow in the UTF-8 decoder with supplementary characters can lead to an infinite loop in the decoder causing a Denial of Service. Versions Affected: Apache Tomcat 9.0.0.M9 to 9.0.7, 8.5.0 to 8.5.30, 8.0.0.RC1 to 8.0.51, and 7.0.28 to 7.0.86.
From the CVE record by apache, last updated November 14, 2024, 20:35 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.M9 to 9.0.7 8.5.0 to 8.5.30 8.0.0.RC1 to 8.0.51 7.0.28 to 7.0.86 |
As the CVE record by apache states it, last updated November 14, 2024. 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.embed:tomcat-embed-core | >= 9.0.0.M9, < 9.0.8 | 9.0.8 | GHSA-m59c-jpc8-m2x4 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 8.5.0, < 8.5.31 | 8.5.31 | GHSA-m59c-jpc8-m2x4 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 8.0.0RC1, < 8.0.51 | 8.0.51 | GHSA-m59c-jpc8-m2x4 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 7.0.28, < 7.0.87 | 7.0.87 | GHSA-m59c-jpc8-m2x4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 23, 2024. Summary: In Apache Tomcat there is an improper handing of overflow in the UTF-8 decoder.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tomcat | from 7.0.28 through 7.0.86 | application |
| apache | tomcat | from 8.0.0 through 8.0.51 | application |
| apache | tomcat | from 8.5.0 through 8.5.30 | application |
| apache | tomcat | from 9.0.1 through 9.0.7 | application |
| apache | tomcat | 8.0.0 | application |
| apache | tomcat | 9.0.0 | application |
| redhat | jboss enterprise application platform | 6.0.0 | application |
| redhat | jboss enterprise application platform | 6.4.0 | application |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| redhat | jboss enterprise web server | 3.0.0 | application |
| redhat | jboss enterprise web server | 5.0.0 | application |
| redhat | enterprise linux desktop | 7.0 | operating system |
| redhat | enterprise linux server | 7.0 | operating system |
| redhat | enterprise linux workstation | 7.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 01:51 UTC.
How severe is CVE-2018-1336?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | 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-2018-1336 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, December 12, 2023)
- EPSS
- 20.5% probability of exploitation activity in the next 30 days, percentile 97.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-835 Loop with Unreachable Exit Condition
Where are the vendor advisories and references?
- USN-3723-1 vendor-advisory, x_refsource_UBUNTU
- 104898 vdb-entry, x_refsource_BID
- RHSA-2018:2740 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2741 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2921 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2742 vendor-advisory, x_refsource_REDHAT
- DSA-4281 vendor-advisory, x_refsource_DEBIAN
- RHSA-2018:2945 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2939 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2701 vendor-advisory, x_refsource_REDHAT
- https://security.netapp.com/advisory/ntap-20180817-0001/ x_refsource_CONFIRM
- RHEA-2018:2188 vendor-advisory, x_refsource_REDHAT
- [www-announce] 20180722 [SECURITY] CVE-2018-1336 Apache Tomcat - Denial of Service mailing-list, x_refsource_MLIST
- RHEA-2018:2189 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2743 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2700 vendor-advisory, x_refsource_REDHAT
- [debian-lts-announce] 20180902 [SECURITY] [DLA 1491-1] tomcat8 security update mailing-list, x_refsource_MLIST
- RHSA-2018:3768 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2930 vendor-advisory, x_refsource_REDHAT
- 1041375 vdb-entry, x_refsource_SECTRACK
- [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://support.f5.com/csp/article/K73008537?utm_source=f5support&%3Butm_medium=RSS x_refsource_CONFIRM
- [tomcat-dev] 20200203 svn commit: r1873527 [24/30] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [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 [28/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
- https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 7, 2017
- Published
- August 2, 2018, 14:00 UTC
- CVE record updated
- November 14, 2024, 20:35 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 01:51 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:30 UTC; KEV December 3, 2026, 08:08 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-2018-1336
Is CVE-2018-1336 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:08 UTC. FIRST's EPSS gives it a 20.5% 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-2018-1336?
org.apache.tomcat.embed:tomcat-embed-core from 9.0.0.M9 before 9.0.8, org.apache.tomcat.embed:tomcat-embed-core from 8.5.0 before 8.5.31, org.apache.tomcat.embed:tomcat-embed-core from 8.0.0RC1 before 8.0.51 and org.apache.tomcat.embed:tomcat-embed-core from 7.0.28 before 7.0.87, per the GitHub advisory GHSA-m59c-jpc8-m2x4. The tables above give every range the sources list.
Which version fixes CVE-2018-1336?
9.0.8, 8.5.31, 8.0.51 and 7.0.87, per the GitHub advisory GHSA-m59c-jpc8-m2x4. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-1336?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-1336?
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.