CVE-2017-13253

HIGH

Android 8.0 8.1 - Out-of-bounds Write in CryptoPlugin::decrypt

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 3 public exploits for CVE-2017-13253. PoCs published by Tamir Zahavi-Brunner, tamirzb, codecat007.

AI-analyzed exploit summary This exploit demonstrates a heap overflow vulnerability in the Android media.drm service (CVE-2017-13253) by manipulating memory buffers during a decrypt operation. The PoC triggers the overflow by setting up a source and destination buffer with overlapping regions, leading to potential arbitrary code execution.

Description

In CryptoPlugin::decrypt of CryptoPlugin.cpp, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation. Product: Android. Versions: 8.0, 8.1. Android ID: A-71389378.

Exploits (3)

exploitdb WORKING POC
by Tamir Zahavi-Brunner · c++dosandroid
https://www.exploit-db.com/exploits/44291

This exploit demonstrates a heap overflow vulnerability in the Android media.drm service (CVE-2017-13253) by manipulating memory buffers during a decrypt operation. The PoC triggers the overflow by setting up a source and destination buffer with overlapping regions, leading to potential arbitrary code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Android media.drm service (versions affected by CVE-2017-13253)
No auth needed
Prerequisites: Access to the target Android device · media.drm service must be running
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 37 stars
by tamirzb · poc
https://github.com/tamirzb/CVE-2017-13253

This PoC demonstrates a buffer overflow vulnerability (CVE-2017-13253) in Android's DRM services (8.0-8.1 pre-March 2018) by exploiting a heap overflow in the `decrypt` method of the ClearKey DRM plugin. The exploit triggers a segmentation fault by overwriting protected memory, with outcomes varying based on vendor implementation and patch status.

Classification
Working Poc 100%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: Android DRM services (8.0-8.1 before March 2018)
No auth needed
Prerequisites: Unpatched Android device (8.0-8.1 pre-March 2018) · Access to the device to run the compiled binary
devstral-2 · analyzed Feb 16, 2026 Full analysis →
github WORKING POC 8 stars
by codecat007 · cpoc
https://github.com/codecat007/cvehub/tree/main/android/securityPatch/CVE-2017-13253

This PoC demonstrates a heap overflow vulnerability in Android's ClearKey DRM module (CVE-2017-13253) by creating overlapping memory regions and triggering a decryption operation that leads to a buffer overflow. The exploit targets the `media.drm` service and manipulates memory allocations to achieve the overflow.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Android (ClearKey DRM module)
No auth needed
Prerequisites: Access to the `media.drm` service · Android device with vulnerable ClearKey DRM implementation
devstral-2 · analyzed Feb 27, 2026 Full analysis →

References (3)

Core 3
Core References
Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/44291/
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/103255
Vendor Advisory x_refsource_confirm
https://source.android.com/security/bulletin/2018-03-01

Scores

CVSS v3 7.8
EPSS 0.0292
EPSS Percentile 85.2%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (2)
google/android 8.0
google/android 8.1
Published Apr 04, 2018
Tracked Since Feb 18, 2026