CVE-2016-2494

HIGH

Android 4.x-5.1.x and 6.x before 2016-06-01 - Privilege Escalation via sdcard Off-by-One Error

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2016-2494. PoCs published by Google Security Research.

AI-analyzed exploit summary This exploit demonstrates a stack-buffer-overflow in Android's /system/bin/sdcard due to an integer overflow in get_node_path_locked. The PoC triggers the vulnerability by creating a directory structure with a path length exceeding PATH_MAX, potentially leading to arbitrary code execution.

Description

Off-by-one error in sdcard/sdcard.c in Android 4.x before 4.4.4, 5.0.x before 5.0.2, 5.1.x before 5.1.1, and 6.x before 2016-06-01 allows attackers to gain privileges via a crafted application, as demonstrated by obtaining Signature or SignatureOrSystem access, aka internal bug 28085658.

Exploits (1)

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

This exploit demonstrates a stack-buffer-overflow in Android's /system/bin/sdcard due to an integer overflow in get_node_path_locked. The PoC triggers the vulnerability by creating a directory structure with a path length exceeding PATH_MAX, potentially leading to arbitrary code execution.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Theoretical
Target: Android (specific version not specified)
No auth needed
Prerequisites: Access to an Android device with the vulnerable /system/bin/sdcard binary · Ability to create directories in /sdcard
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4

Scores

CVSS v3 7.8
EPSS 0.0195
EPSS Percentile 77.6%
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-264
Status published
Products (22)
google/android 4.0
google/android 4.0.1
google/android 4.0.2
google/android 4.0.3
google/android 4.0.4
google/android 4.1
google/android 4.1.2
google/android 4.2
google/android 4.2.1
google/android 4.2.2
... and 12 more
Published Jun 13, 2016
Tracked Since Feb 18, 2026