CVE-2015-9157
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 · uneditedIn Android before 2018-04-05 or earlier security patch level on Qualcomm Snapdragon Mobile and Snapdragon Wear IPQ4019, MDM9206, MDM9607, MDM9625, MDM9635M, MSM8909W, SD 210/SD 212/SD 205, SD 400, SD 410/12, SD 600, SD 615/16/SD 415, SD 617, SD 650/52, SD 800, SD 808, and SD 810, in widevine_dash_cmd_handler(), rsp buffers are passed off to widevine commands. These rsp buffers have values in them, such as buffer lengths, that need to be validated to ensure that no buffer overflow/over-reads happen. However, rsp buffers are not always in locked memory, meaning a time-of-check, time-of-use issue can occur where we check that the value is valid, but then a race condition occurs where this memory is swapped out with a different, possibly out of range, value.
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 confidenceA time-of-check-time-of-use (TOCTOU) race condition exists in the widevine_dash_cmd_handler() function in Qualcomm Snapdragon processors. The function validates rsp buffer values (such as buffer lengths) to prevent buffer overflows, but the rsp buffers are not always in locked memory, allowing them to be swapped out between validation and use, potentially leading to buffer overflow/over-read attacks.
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
- 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 the Qualcomm processor modelCheck the system or device specifications to determine if the processor is one of the following: Mdm9206, Mdm9607, Ipq4019, Mdm9625, Mdm9635m, Msm8909w, Sd 210, or Sd 212. Use commands like 'cat /proc/cpuinfo' on embedded devices or check device documentation.Affected if The processor model matches any of the listed affected models.
-
Verify widevine DRM is in useDetermine if the widevine_dash_cmd_handler function or widevine DRM component is actively used on the system. This may require checking loaded DRM modules, media player configurations, or firmware debug logs if available.Affected if Widevine DRM is enabled and processing content through the affected handler function.
-
Check the firmware versionQuery the firmware version of the Qualcomm component. On affected devices, this may be accessible via debug interfaces, firmware metadata, or device system information panels. Compare the version against the affected ranges listed (all versions are affected).Affected if The firmware version is any version of the listed affected products, as all versions are vulnerable.
-
Check the Android security patch levelOn Android devices, go to Settings > About Phone > Build Number or use 'getprop ro.build.version.security_patch' via ADB to check the installed security patch level.Affected if The security patch level is earlier than April 2018, indicating the TOCTOU fix has not been applied.
A system is affected if it uses a listed Qualcomm processor model with widevine DRM enabled and has not received the April 2018 or later Android security patch.
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 · scopedApply the Android security patch released April 2018 or later, which contains the fix for this TOCTOU vulnerability in the widevine DRM handler.
Android Security Patch Level April 2018 or later (for affected Snapdragon devices)
- 1. Identify the affected device model and current Android/security patch level
- 2. Check if the device manufacturer has released an Android security update for April 2018 (SPL) or later
- 3. If available, apply the April 2018 Android security patch level or later via system update
- 4. Verify the device now shows security patch level of April 5, 2018 or later in Settings > About Phone > Android security patch level
- 5. Confirm the widevine_dash_cmd_handler vulnerability is resolved by checking vendor-specific security bulletins if available
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Testing2.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 $2,336.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2015-9157 — 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-2015-9157 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