Skip to content
Fencer Intel
high 7.5

CVE-2018-1336 in the critical feed json

In Apache Tomcat there is an improper handing of overflow in the UTF-8 decoder

published 2018-08-02 8 y ago modified 2026-06-17 4 mo ago also GHSA-m59c-jpc8-m2x4 , EUVD-2018-0635

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
20.4%
EPSS 20.4% chance of exploitation in 30 days, percentile 97%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.tomcat.embed:tomcat-embed-core 7.0.87, 8.0.51, 8.5.31, 9.0.8
  • tomcat7 Ubuntu 14.04 LTS 7.0.52-1ubuntu0.15
  • tomcat8 Ubuntu 16.04 LTS 8.0.32-1ubuntu1.7
  • tomcat8 Ubuntu 18.04 LTS 8.5.39-1ubuntu1~18.04.1
  • tomcat7 Ubuntu Pro 16.04 LTS 7.0.68-1ubuntu0.4+esm1

ubuntu advisories UBUNTU-CVE-2018-1336

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • hornetq jboss enterprise application platform 6 2.3.25-27.SP28_redhat_1.1.ep6.el7
  • jbossweb jboss enterprise application platform 6 7.5.29-1.Final_redhat_1.1.ep6.el7
  • jboss-vfs2 jboss enterprise application platform 6 3.2.13-1.Final_redhat_1.1.ep6.el7
  • jboss-as-ee jboss enterprise application platform 6 7.5.21-1.Final_redhat_1.1.ep6.el7
  • jboss-as-cli jboss enterprise application platform 6 7.5.21-1.Final_redhat_1.1.ep6.el7
  • jboss-as-cmp jboss enterprise application platform 6 7.5.21-1.Final_redhat_1.1.ep6.el7
  • jboss-as-jdr jboss enterprise application platform 6 7.5.21-1.Final_redhat_1.1.ep6.el7
  • jboss-as-jmx jboss enterprise application platform 6 7.5.21-1.Final_redhat_1.1.ep6.el7

red hat advisories RHSA-2018:2741RHSA-2018:2743RHSA-2018:2742RHSA-2018:2921RHSA-2018:2701RHEA-2018:2189

  • tomcat SLE Module for Web and Scripting 15 9.0.10-3.7.1
  • tomcat SLES for SAP 12 SP3, SLES 12 SP3 8.0.53-29.13.1
  • tomcat SLES for SAP 12 SP1, SLES 12 SP1-LTSS 8.0.53-10.35.1
  • tomcat SLES 12-LTSS 7.0.90-7.23.1

suse advisories SUSE-SU-2018:3011-1SUSE-SU-2018:3388-1SUSE-SU-2018:3261-1SUSE-SU-2018:2699-1

  • tomcat openSUSE Tumbleweed 9.0.36-8.4
  • tomcat10 openSUSE Tumbleweed 10.1.14-1.1

opensuse advisories openSUSE-SU-2024:11468-1openSUSE-SU-2024:13441-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-1336 updated cvss 7.5

tomcat: A bug in the UTF-8 decoder can lead to DoS

  • Red Hat AMQ Broker 7 tomcat
    affected: no fix available
  • Red Hat JBoss Data Virtualization 6 jbossweb jbossweb
    affected: no fix planned “Out of support scope”
  • Red Hat JBoss Enterprise Web Server 2 tomcat7 tomcat7
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Fuse 6 tomcat Red Hat OpenShift Application Runtimes tomcat
    affected: no fix available
  • Red Hat Enterprise Linux Client (v. 7) tomcat 7.0.76-8.el7_5, tomcat-servlet-3.0-api 7.0.76-8.el7_5 Red Hat Enterprise Linux Client Optional (v. 7) tomcat 7.0.76-8.el7_5, tomcat-lib 7.0.76-8.el7_5, tomcat-jsvc 7.0.76-8.el7_5, tomcat-javadoc 7.0.76-8.el7_5, tomcat-webapps 7.0.76-8.el7_5, tomcat-el-2.2-api 7.0.76-8.el7_5, +3 more Red Hat Enterprise Linux ComputeNode (v. 7) tomcat 7.0.76-8.el7_5, tomcat-servlet-3.0-api 7.0.76-8.el7_5 Red Hat Enterprise Linux ComputeNode Optional (v. 7) tomcat 7.0.76-8.el7_5, tomcat-lib 7.0.76-8.el7_5, tomcat-jsvc 7.0.76-8.el7_5, tomcat-javadoc 7.0.76-8.el7_5, tomcat-webapps 7.0.76-8.el7_5, tomcat-el-2.2-api 7.0.76-8.el7_5, +3 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) tomcat 7.0.76-8.el7_5, tomcat-lib 7.0.76-8.el7_5, tomcat-webapps 7.0.76-8.el7_5, tomcat-el-2.2-api 7.0.76-8.el7_5, tomcat-jsp-2.2-api 7.0.76-8.el7_5, tomcat-admin-webapps 7.0.76-8.el7_5, +1 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) tomcat 7.0.76-8.el7_5, tomcat-lib 7.0.76-8.el7_5, tomcat-jsvc 7.0.76-8.el7_5, tomcat-javadoc 7.0.76-8.el7_5, tomcat-webapps 7.0.76-8.el7_5, tomcat-el-2.2-api 7.0.76-8.el7_5, +3 more
    +4 more products
    Red Hat Enterprise Linux Server (v. 7) tomcat 7.0.76-8.el7_5, tomcat-lib 7.0.76-8.el7_5, tomcat-webapps 7.0.76-8.el7_5, tomcat-el-2.2-api 7.0.76-8.el7_5, tomcat-jsp-2.2-api 7.0.76-8.el7_5, tomcat-admin-webapps 7.0.76-8.el7_5, +1 more Red Hat Enterprise Linux Server Optional (v. 7) tomcat 7.0.76-8.el7_5, tomcat-lib 7.0.76-8.el7_5, tomcat-jsvc 7.0.76-8.el7_5, tomcat-javadoc 7.0.76-8.el7_5, tomcat-webapps 7.0.76-8.el7_5, tomcat-el-2.2-api 7.0.76-8.el7_5, +3 more Red Hat Enterprise Linux Workstation (v. 7) tomcat 7.0.76-8.el7_5, tomcat-lib 7.0.76-8.el7_5, tomcat-webapps 7.0.76-8.el7_5, tomcat-el-2.2-api 7.0.76-8.el7_5, tomcat-jsp-2.2-api 7.0.76-8.el7_5, tomcat-admin-webapps 7.0.76-8.el7_5, +1 more Red Hat Enterprise Linux Workstation Optional (v. 7) tomcat-jsvc 7.0.76-8.el7_5, tomcat-javadoc 7.0.76-8.el7_5, tomcat-docs-webapp 7.0.76-8.el7_5
    fixed: vendor fix RHSA-2018:2921
  • Red Hat Fuse 7.2
    fixed: vendor fix RHSA-2018:3768
  • Red Hat Fuse Intergration Services 2.0 based on Fuse 6.3 R8
    fixed: vendor fix RHSA-2018:2939
  • Red Hat JBoss Enterprise Application Platform 6.4
    fixed: vendor fix RHSA-2018:2740
show 10 more
  • Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5 Server hornetq 2.3.25-27.SP28_redhat_1.1.ep6.el5, jbossweb 7.5.29-1.Final_redhat_1.1.ep6.el5, xerces-j2-eap6 2.9.1-19.redhat_8.1.ep6.el5, guava-libraries 13.0.1-5.redhat_3.1.ep6.el5, codehaus-jackson 1.9.9-14.redhat_7.1.ep6.el5, jboss-vfs2 3.2.13-1.Final_redhat_1.1.ep6.el5, +83 more
    fixed: vendor fix RHSA-2018:2742
  • Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6 Server hornetq 2.3.25-27.SP28_redhat_1.1.ep6.el6, jbossweb 7.5.29-1.Final_redhat_1.1.ep6.el6, xerces-j2-eap6 2.9.1-19.redhat_8.1.ep6.el6, guava-libraries 13.0.1-5.redhat_3.1.ep6.el6, codehaus-jackson 1.9.9-14.redhat_7.1.ep6.el6, jboss-vfs2 3.2.13-1.Final_redhat_1.1.ep6.el6, +83 more
    fixed: vendor fix RHSA-2018:2743
  • Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 7 Server hornetq 2.3.25-27.SP28_redhat_1.1.ep6.el7, jbossweb 7.5.29-1.Final_redhat_1.1.ep6.el7, xerces-j2-eap6 2.9.1-19.redhat_8.1.ep6.el7, guava-libraries 13.0.1-5.redhat_3.1.ep6.el7, codehaus-jackson 1.9.9-14.redhat_7.1.ep6.el7, jboss-vfs2 3.2.13-1.Final_redhat_1.1.ep6.el7, +83 more
    fixed: vendor fix RHSA-2018:2741
  • Red Hat JBoss Operations Network 3.3
    fixed: vendor fix RHSA-2018:2930
  • Red Hat JBoss Web Server 3.1
    fixed: vendor fix RHSA-2018:2700
  • Red Hat JBoss Web Server 3.1 for RHEL 6 tomcat7 7.0.70-29.ep7.el6, tomcat8 8.0.36-33.ep7.el6, tomcat7-lib 7.0.70-29.ep7.el6, tomcat8-lib 8.0.36-33.ep7.el6, tomcat7-jsvc 7.0.70-29.ep7.el6, tomcat8-jsvc 8.0.36-33.ep7.el6, +18 more Red Hat JBoss Web Server 3.1 for RHEL 7 tomcat7 7.0.70-29.ep7.el7, tomcat8 8.0.36-33.ep7.el7, tomcat7-lib 7.0.70-29.ep7.el7, tomcat8-lib 8.0.36-33.ep7.el7, tomcat7-jsvc 7.0.70-29.ep7.el7, tomcat8-jsvc 8.0.36-33.ep7.el7, +18 more
    fixed: vendor fix RHSA-2018:2701
  • Red Hat JBoss Web Server 5.0 for RHEL 6 Server jws5 1-5.el6jws, jws5-runtime 1-5.el6jws, jws5-ecj 4.6.1-5.redhat_1.1.el6jws, jws5-tomcat 9.0.7-10.redhat_10.1.el6jws, jws5-javapackages-tools 3.4.1-5.15.7.el6jws, jws5-tomcat-lib 9.0.7-10.redhat_10.1.el6jws, +16 more
    fixed: vendor fix RHEA-2018:2189
  • Red Hat JBoss Web Server 5.0 for RHEL 7 Server jws5 1-5.el7jws, jws5-runtime 1-5.el7jws, jws5-ecj 4.6.1-5.redhat_1.1.el7jws, jws5-tomcat 9.0.7-10.redhat_10.1.el7jws, jws5-javapackages-tools 3.4.1-5.15.7.el7jws, jws5-tomcat-lib 9.0.7-10.redhat_10.1.el7jws, +16 more
    fixed: vendor fix RHEA-2018:2188
  • Red Hat Text-Only RHOAR
    fixed: vendor fix RHSA-2018:2945
  • Red Hat BPM Suite 6 tomcat Red Hat Enterprise Linux 6 tomcat6, tomcat6-lib, tomcat6-log4j, tomcat6-javadoc, tomcat6-webapps, tomcat6-el-2.1-api, +4 more Red Hat JBoss BRMS 5 jbossweb jbossweb Red Hat JBoss BRMS 6 tomcat Red Hat JBoss Data Grid 6 jbossweb jbossweb Red Hat JBoss Data Grid 7 tomcat
    +6 more products
    Red Hat JBoss Enterprise Application Platform 5 jbossweb jbossweb Red Hat JBoss Enterprise Web Server 2 tomcat6, tomcat6-lib, tomcat6-log4j, tomcat6-javadoc, tomcat6-webapps, tomcat6-el-1.0-api, +5 more Red Hat JBoss Fuse Service Works 6 jbossweb jbossweb Red Hat JBoss SOA Platform 5 jbossweb jbossweb Red Hat JBoss Web Server 5 tomcat Red Hat Software Collections rh-java-common-tomcat-lib, rh-java-common-tomcat-javadoc, rh-java-common-tomcat-el-2.2-api, rh-java-common-tomcat-jsp-2.2-api, rh-java-common-tomcat-servlet-3.0-api
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

20.35% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
maven org.apache.tomcat.embed:tomcat-embed-core
>=9.0.0.M9, <9.0.8
>=8.5.0, <8.5.31
>=8.0.0RC1, <8.0.51
>=7.0.28, <7.0.87
9.0.8
8.5.31
8.0.51
7.0.87

Affected products

  • Apache Software Foundation Apache Tomcat

Classification

Weakness
  • CWE-835 Loop with Unreachable Exit Condition

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.