CVE-2018-0487
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 · uneditedARM mbed TLS before 1.3.22, before 2.1.10, and before 2.7.0 allows remote attackers to execute arbitrary code or cause a denial of service (buffer overflow) via a crafted certificate chain that is mishandled during RSASSA-PSS signature verification within a TLS or DTLS session.
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 confidenceBuffer overflow vulnerability in ARM mbed TLS during RSASSA-PSS signature verification when processing a crafted certificate chain within TLS or DTLS sessions. The flaw allows remote attackers to potentially execute arbitrary code or cause 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= 8.0= 9.0>= 1.3.8, < 1.3.22>= 2.1.0, < 2.1.10>= 2.2.0, < 2.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
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.
-
Identify if mbed TLS is installedCheck for the presence of mbed TLS libraries: look for libmbedtls, libmbedcrypto, libmbedx509 files in /usr/lib/ or via package manager (dpkg -l | grep mbed or equivalent). Also check if applications link against mbed TLS using ldd on relevant binaries.Affected if mbed TLS libraries or packages are present on the system
-
Determine the installed mbed TLS versionRun `mbedtls_version` if available, or check package version via dpkg/rpm, or inspect the library file version strings using strings or readelf.Affected if The version falls within 1.3.8 to 1.3.21, 2.1.0 to 2.1.9, or 2.2.0 to 2.6.x (all versions before the fixed releases)
-
Verify TLS or DTLS is in useIdentify any service or application using mbed TLS for TLS/DTLS connections (web servers, VPN clients, IoT devices). Check configuration files for ssl/tls settings and active listening ports (e.g., 443, 4433, 4434 for DTLS).Affected if TLS or DTLS sessions are established using the vulnerable mbed TLS library
-
Check if RSASSA-PSS signature algorithms are enabledInspect the TLS configuration or application settings for supported signature algorithms. Look for references to sha256WithRSAEncryption, sha384WithRSAEncryption, sha512WithRSAEncryption in certificates, or verify if the client/server advertises RSASSA-PSS support in Hello messages. In mbed TLS config.h, check for MBEDTLS_RSA_C and algorithm settings.Affected if RSASSA-PSS signature algorithms are enabled or negotiated in TLS/DTLS connections
You are affected if mbed TLS is present, the version is within the affected ranges, TLS/DTLS is active, and RSASSA-PSS signature algorithms are available or in use for certificate verification.
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.
dbcve · scoped1.3.222.1.102.7.0
Upgrade mbed TLS to version 1.3.22 or later (1.x branch), 2.1.10 or later (2.1.x branch), or 2.7.0 or later (2.x branch). Until patching is feasible, consider disabling RSASSA-PSS signature algorithms in TLS/DTLS configurations as a temporary workaround.
Upgrade mbed TLS to 1.3.22, 2.1.10, or 2.7.0 (or later) depending on the major branch in use
- Identify the mbed TLS library package in use (e.g., libmbedtls, mbedtls, or polarssl) via package manager or application dependencies
- Update package manager cache: 'apt-get update' (Debian/Ubuntu) or equivalent
- Upgrade mbed TLS to version 1.3.22 or later, 2.1.10 or later, or 2.7.0 or later using: 'apt-get install libmbedtls<version>' or 'apt-get upgrade libmbedtls'
- Alternatively, if using mbed TLS as a dependency of another package, upgrade that parent package
- Verify the installed version matches a fixed release: 'dpkg -l | grep mbed' or 'mbedtls_version' binary
- Rebuild and redeploy any applications that statically link the old mbed TLS library
- Test TLS/DTLS functionality to confirm the upgrade does not break existing connections
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.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,088.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2018-0487 — 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2018-0487 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