CVE-2018-11820
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 · uneditedUse of non-time constant memcmp function creates side channel that leaks information and leads to cryptographic issues in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer Electronics Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wired Infrastructure and Networking in versions IPQ8074, MDM9150, MDM9206, MDM9607, MDM9640, MDM9650, MDM9655, MSM8996AU, QCA8081, QCS605, SD 210/SD 212/SD 205, SD 410/12, SD 425, SD 427, SD 430, SD 435, SD 439 / SD 429, SD 450, SD 615/16/SD 415, SD 625, SD 632, SD 636, SD 650/52, SD 712 / SD 710 / SD 670, SD 800, SD 820, SD 820A, SD 835, SD 845 / SD 850, SD 8CX, SDA660, SDM439, SDM630, SDM660, Snapdragon_High_Med_2016, SXR1130.
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 confidenceThe vulnerability involves using a non-time constant memcmp function which creates a timing side channel. An attacker can potentially leak information about secret data (such as cryptographic keys or passwords) by measuring the time it takes for the comparison to fail at different positions in the memory being compared.
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 dataall versionsall versionsall versionsall versionsall versionsall versionsall versionsall versionsCVSS 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
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
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 your Qualcomm chipset modelCheck your device documentation, bootloader output, or system information to determine the exact Snapdragon/Ipq chipset model (e.g., Ipq8074, Mdm9150, Mdm9206, Mdm9607, Mdm9640, Mdm9650, Mdm9655, Msm8996au)Affected if Your device uses any of the listed chipset models (all versions are affected)
-
Verify firmware versionCheck the installed firmware version through device settings, boot logs, /proc/version, or vendor tooling. Compare against the affected product list.Affected if The firmware corresponds to any of the listed Qualcomm chipset families (all versions are affected)
-
Search firmware for non-constant-time memcmp usageExtract firmware binary or obtain source code. Use disassembly or grep tools to search for memcmp function calls that handle sensitive data (keys, passwords, tokens) without timing-safe wrappers. Look for patterns where memcmp is called directly on cryptographic material.Affected if Your firmware contains memcmp calls operating on secrets without constant-time alternatives
-
Inspect custom cryptographic codeReview any custom or third-party code added to the firmware. Check for implementations of comparison functions (memcmp, strcmp, strncmp) used on secrets that do not use timing-safe alternatives like crypto_verify_mac or constant-time comparison routines.Affected if Custom code uses non-constant-time comparison on secret data
-
Test for timing side-channel in authenticationIf possible, perform timing measurements on authentication or verification operations. Send repeated requests with variations and measure response times to detect whether early-exit behavior exists in comparison logic.Affected if Timing measurements show measurable differences correlated with secret byte values (early exit on first mismatch)
You are affected if your device uses any of the listed Qualcomm chipsets (Ipq8074, Mdm9150, Mdm9206, Mdm9607, Mdm9640, Mdm9650, Mdm9655, Msm8996au) with any firmware version, since the vulnerability exists in the base implementation.
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 dataReplace the non-time constant memcmp with a constant-time comparison function (e.g., timing-safe comparison) to prevent timing side-channel information leakage. Apply vendor patches for the affected Snapdragon chipsets.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2018-11820 — 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-11820 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