CVE-2017-13216

HIGH

Android - Out-of-bounds Write in ashmem_ioctl

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2017-13216. PoCs published by Google Security Research.

AI-analyzed exploit summary This exploit demonstrates a race condition in the Android ashmem driver (CVE-2017-13216), allowing an attacker to manipulate the size of a shared memory region during mapping operations, leading to an inter-process munmap with an attacker-controlled size. The PoC triggers this condition in the system_server process, potentially causing a crash or further exploitation.

Description

In ashmem_ioctl of ashmem.c, there is an out-of-bounds write due to insufficient locking when accessing asma. This could lead to a local elevation of privilege enabling code execution as a privileged process with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android. Versions: Android kernel. Android ID: A-66954097.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Google Security Research · textdosandroid
https://www.exploit-db.com/exploits/43464

This exploit demonstrates a race condition in the Android ashmem driver (CVE-2017-13216), allowing an attacker to manipulate the size of a shared memory region during mapping operations, leading to an inter-process munmap with an attacker-controlled size. The PoC triggers this condition in the system_server process, potentially causing a crash or further exploitation.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Android ashmem driver (kernel 3.18)
No auth needed
Prerequisites: Ability to issue ashmem syscalls · Interaction with ActivityManager service
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/102390
Vendor Advisory x_refsource_confirm
https://source.android.com/security/bulletin/2018-01-01
Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/43464/
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1040106

Scores

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

Details

CWE
CWE-787
Status published
Products (1)
google/android
Published Jan 12, 2018
Tracked Since Feb 18, 2026