CVE-2015-9138
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 Automobile, Snapdragon Mobile, Snapdragon Wear, and Small Cell SoC FSM9055, IPQ4019, MDM9206, MDM9607, MDM9625, MDM9635M, MDM9640, MDM9645, MDM9650, MDM9655, MSM8909W, SD 210/SD 212/SD 205, SD 400, SD 410/12, SD 425, SD 430, SD 450, SD 600, SD 615/16/SD 415, SD 617, SD 625, SD 650/52, SD 800, SD 808, SD 810, SD 820, SD 820A, SD 835, SD 845, SD 850, and SDX20, when an RSA encryption operation is called, the ce_util_to_unsigned_bin is invoked to convert the input buffer to unsigned binary. The ce_util_to_unsigned_bin function, instead of operating on the size of the unsigned character buffer that is passed, operates on the address - i.e. operates on "c" instead of "*c". Decrementing the address to check if it is less than zero means that the operation will always pass, since a pointer will never be less than zero, and may result in a buffer overflow.
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 buffer overflow vulnerability exists in Qualcomm Snapdragon SoC trusted execution environment (ce_util_to_unsigned_bin function). The function incorrectly performs bounds checking on the pointer address itself instead of the buffer size - it checks if pointer 'c' is less than zero rather than dereferencing '*c' to check the actual buffer size. Since a memory address will never be less than zero, this check always passes, allowing out-of-bounds writes during RSA encryption operations.
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 Snapdragon SoC modelCheck the device specifications or use 'getprop ro.board.platform' or 'getprop ro.hardware' to identify the Qualcomm Snapdragon chipset modelAffected if The device uses Mdm9206, Mdm9607, Fsm9055, Mdm9625, Mdm9635m, Mdm9640, Mdm9645, or Mdm9650 Snapdragon chipset
-
Check the baseband/modem firmware versionUse 'getprop gsm.version.baseband' or check the modem firmware version in the device settings under About Phone > SIM Status or Baseband versionAffected if The baseband firmware version cannot be determined or is prior to the vendor-supplied fix (no specific version number available from CVE data)
-
Verify the Android security patch levelCheck Settings > About Phone > Android security patch level or use 'getprop ro.build.version.security_patch'Affected if The security patch level is earlier than 2018-04-05, indicating the fix has not been applied
-
Confirm TEE usage for cryptographic operationsVerify the device uses Qualcomm Snapdragon TEE for cryptographic functions (this is inherent to affected SoCs - no user config exists)Affected if The device has an affected Snapdragon SoC and performs RSA encryption operations within the TEE context
The device is affected if it contains any of the listed Qualcomm Snapdragon SoC models (Mdm9206, Mdm9607, Fsm9055, Mdm9625, Mdm9635m, Mdm9640, Mdm9645, Mdm9650) and the Android security patch level is earlier than 2018-04-05, since the vulnerable TEE code executes during RSA encryption operations regardless of user configuration.
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 Android security patch level 2018-04-05 or later, which includes the Qualcomm fix for this vulnerability. This requires updating device firmware through vendor/carrier security updates.
Android Security Patch Level 2018-04-05 or later (or latest available security patch level)
- Check the current Android Security Patch Level on the device (Settings > System > Security > Security patch level)
- If the patch level is earlier than 2018-04-05, apply the latest available Android system updates from the device manufacturer
- Contact the device OEM (Original Equipment Manufacturer) to confirm they have applied the Qualcomm firmware patches for this CVE
- If OTA updates are unavailable, contact the device manufacturer for firmware-level updates specific to the affected Snapdragon components
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation8.0 h
- Implementation4.0 h
- Testing8.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,784.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2015-9138 — 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-9138 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