CVE-2018-1336
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAn 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceApache Tomcat's UTF-8 decoder improperly handles overflow conditions when processing supplementary Unicode characters (4-byte UTF-8 sequences). This triggers an infinite loop in the decoder, causing the affected request-handling thread to hang and resulting in Denial of Service.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 7.0.28, <= 7.0.86>= 8.0.0, <= 8.0.51>= 8.5.0, <= 8.5.30>= 9.0.1, <= 9.0.7= 8.0.0= 9.0.0= 6.0.0= 6.4.0= 14.04= 16.04= 8.0= 9.0= 3.0.0= 5.0.0= 7.0= 7.0= 7.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Locate Apache Tomcat installationCheck for Tomcat via environment variable CATALINA_HOME, or look in common installation paths such as /usr/share/tomcat, /opt/tomcat, /etc/tomcat, or the Windows Service GUI if running on Windows. Also check for process named 'catalina.jar' or 'tomcat' running on the system.Affected if Tomcat is installed and running.
-
Determine installed Tomcat versionInspect the file ' RELEASE-NOTE' in the Tomcat home directory, or run 'catalina.sh version' if script access is available, or check the server HTTP response header for the Server field which often reveals the version.Affected if A Tomcat version is found.
-
Compare version against affected Apache Tomcat rangesMatch the identified version number against the following vulnerable ranges: 7.0.28 through 7.0.86 inclusive, 8.0.0 through 8.0.51 inclusive, 8.5.0 through 8.5.30 inclusive, 9.0.1 through 9.0.7 inclusive, plus exact versions 8.0.0 and 9.0.0.Affected if The installed version falls within or matches any of these ranges.
-
Check for Linux distribution bundled TomcatIf running Ubuntu 14.04, Ubuntu 16.04, Debian 8.0, Debian 9.0, or Red Hat Enterprise Linux 7.0 (Desktop, Server, or Workstation), determine whether the system uses a packaged Tomcat from the distribution repository or a bundled version that matches the affected ranges.Affected if The operating system is one of these versions and ships with or uses a Tomcat version from the affected list.
-
Check for Red Hat JBoss installationsIf running Red Hat JBoss Enterprise Application Platform 6.0.0 or 6.4.0, or JBoss Enterprise Web Server 3.0.0 or 5.0.0, identify the bundled Tomcat component version included with these products.Affected if One of these JBoss products is installed, as they bundle the vulnerable Tomcat version.
The environment is affected if Apache Tomcat (or a product bundling it) is running a version within 7.0.28-7.0.86, 8.0.0-8.0.51, 8.5.0-8.5.30, 9.0.1-9.0.7, or exactly 8.0.0/9.0.0, and the system processes UTF-8 encoded requests containing 4-byte Unicode characters.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataUpgrade to Apache Tomcat 9.0.8+, 8.5.31+, 8.0.52+, or 7.0.87+ to obtain the patched UTF-8 decoder. No configuration changes or code modifications are required beyond the version upgrade.
- Consultation2.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2018-1336 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- mail-archives.us.apache.org
- www.securityfocus.com
- www.securitytracker.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- lists.debian.org
- security.netapp.com
- usn.ubuntu.com
- www.debian.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- support.f5.com
- www.oracle.com
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2018-1336 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data