CVE-2018-1336: High severity Apache Tomcat vulnerability

Published Jul 23, 2018
·
Updated

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.

Other sources

Flaw affecting tomcat 8.0.0.RC1 to 8.0.51 and 9.0.0.M1 to 9.0.7. 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.

Upstream patch:

http://svn.apache.org/viewvc?view=rev&rev=1830375 http://svn.apache.org/viewvc?view=rev&rev=1830373

References:

https://tomcat.apache.org/security-8.html https://tomcat.apache.org/security-9.html

Red Hat

Affected Software

80 affected componentsFixes available
maven/org.apache.tomcat.embed:tomcat-embed-core>=8.0.0RC1<8.0.51
8.0.51
maven/org.apache.tomcat.embed:tomcat-embed-core>=9.0.0.M9<=9.0.7
9.0.8
maven/org.apache.tomcat.embed:tomcat-embed-core>=7.0.28<7.0.87
7.0.87
maven/org.apache.tomcat.embed:tomcat-embed-core>=8.5.0<8.5.31
8.5.31
redhat/tomcat<8.0.52
8.0.52
redhat/tomcat<8.5.31
8.5.31
redhat/tomcat<9.0.8
9.0.8
redhat/tomcat<7.0.88
7.0.88
Apache Tomcat>=7.0.28<=7.0.86
Apache Tomcat>=8.0.0<=8.0.51
Apache Tomcat>=8.5.0<=8.5.30
Apache Tomcat>=9.0.1<=9.0.7
Apache Tomcat=8.0.0-rc1
Apache Tomcat=8.0.0-rc10
Apache Tomcat=8.0.0-rc2
Apache Tomcat=8.0.0-rc3
Apache Tomcat=8.0.0-rc4
Apache Tomcat=8.0.0-rc5
Apache Tomcat=8.0.0-rc6
Apache Tomcat=8.0.0-rc7
Apache Tomcat=8.0.0-rc8
Apache Tomcat=8.0.0-rc9
Apache Tomcat=9.0.0-milestone10
Apache Tomcat=9.0.0-milestone11
Apache Tomcat=9.0.0-milestone12
Apache Tomcat=9.0.0-milestone13
Apache Tomcat=9.0.0-milestone14
Apache Tomcat=9.0.0-milestone15
Apache Tomcat=9.0.0-milestone16
Apache Tomcat=9.0.0-milestone17
Apache Tomcat=9.0.0-milestone18
Apache Tomcat=9.0.0-milestone19
Apache Tomcat=9.0.0-milestone20
Apache Tomcat=9.0.0-milestone21
Apache Tomcat=9.0.0-milestone22
Apache Tomcat=9.0.0-milestone23
Apache Tomcat=9.0.0-milestone24
Apache Tomcat=9.0.0-milestone25
Apache Tomcat=9.0.0-milestone26
Apache Tomcat=9.0.0-milestone27
Apache Tomcat=9.0.0-milestone9
redhat JBoss Enterprise Application Platform=6.0.0
redhat JBoss Enterprise Application Platform=6.4.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Debian Debian Linux=8.0
Debian Debian Linux=9.0
All of the following
redhat Jboss Enterprise Web Server=3.0.0
Any of the following
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
All of the following
redhat Jboss Enterprise Web Server=5.0.0
Any of the following
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
Apache Tomcat=9.0.0-m10
Apache Tomcat=9.0.0-m11
Apache Tomcat=9.0.0-m12
Apache Tomcat=9.0.0-m13
Apache Tomcat=9.0.0-m14
Apache Tomcat=9.0.0-m15
Apache Tomcat=9.0.0-m16
Apache Tomcat=9.0.0-m17
Apache Tomcat=9.0.0-m18
Apache Tomcat=9.0.0-m19
Apache Tomcat=9.0.0-m20
Apache Tomcat=9.0.0-m21
Apache Tomcat=9.0.0-m22
Apache Tomcat=9.0.0-m23
Apache Tomcat=9.0.0-m24
Apache Tomcat=9.0.0-m25
Apache Tomcat=9.0.0-m26
Apache Tomcat=9.0.0-m27
Apache Tomcat=9.0.0-m9
redhat Jboss Enterprise Web Server=3.0.0
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Jboss Enterprise Web Server=5.0.0
debian/tomcat9
9.0.43-2~deb11u109.0.107-0+deb11u29.0.70-29.0.95-19.0.115-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.tomcat.embed:tomcat-embed-core to a version that resolves this vulnerability.

    Fixed in 8.0.51
  2. Upgrade

    Upgrade maven/org.apache.tomcat.embed:tomcat-embed-core to a version that resolves this vulnerability.

    Fixed in 9.0.8
  3. Upgrade

    Upgrade maven/org.apache.tomcat.embed:tomcat-embed-core to a version that resolves this vulnerability.

    Fixed in 7.0.87
  4. Upgrade

    Upgrade maven/org.apache.tomcat.embed:tomcat-embed-core to a version that resolves this vulnerability.

    Fixed in 8.5.31
  5. Upgrade

    Upgrade debian/tomcat9 to a version that resolves this vulnerability.

    Fixed in 9.0.43-2~deb11u10Fixed in 9.0.107-0+deb11u2Fixed in 9.0.70-2Fixed in 9.0.95-1Fixed in 9.0.115-1
  6. Upgrade

    Upgrade redhat/tomcat to a version that resolves this vulnerability.

    Fixed in 8.0.52
  7. Upgrade

    Upgrade redhat/tomcat to a version that resolves this vulnerability.

    Fixed in 8.5.31
  8. Upgrade

    Upgrade redhat/tomcat to a version that resolves this vulnerability.

    Fixed in 9.0.8
  9. Upgrade

    Upgrade redhat/tomcat to a version that resolves this vulnerability.

    Fixed in 7.0.88
  10. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 8.5.31
  11. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 9.0.8
  12. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 8.0.52
  13. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 7.0.87

Event History

Jul 23, 2018
Data Sourced
via Red Hat·07:29 PM
DescriptionSeverityAffected Software
Aug 2, 2018
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
DescriptionWeakness
Oct 17, 2018
Advisory Published
via GitHub·04:32 PM
Feb 21, 2026
Data Sourced
via Ubuntu·06:47 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·06:48 PM
DescriptionAffected Software
Data Sourced
via Launchpad·06:48 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-1336?

CVE-2018-1336 has a high severity rating due to its potential to cause a Denial of Service through an infinite loop in the UTF-8 decoder.

2

How do I fix CVE-2018-1336?

To address CVE-2018-1336, upgrade to Apache Tomcat version 8.0.52 and later, 8.5.31 and later, 9.0.8 and later, or 7.0.87 and later depending on your current version.

3

Which versions of Apache Tomcat are affected by CVE-2018-1336?

CVE-2018-1336 affects Apache Tomcat versions 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.

4

Can CVE-2018-1336 be exploited remotely?

Yes, CVE-2018-1336 can be exploited remotely to trigger a Denial of Service condition.

5

What applications are impacted by CVE-2018-1336?

CVE-2018-1336 impacts applications running on affected versions of Apache Tomcat when processing UTF-8 encoded data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203