CVE-2008-0985

Google Android SDK - Heap-Based Buffer Overflow via Crafted GIF File

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-0985. PoCs published by Alfredo Ortega.

AI-analyzed exploit summary This exploit generates a malformed GIF image to trigger a heap-based buffer overflow in the Android Web Browser (SDK m3-rc37a and earlier). The PoC creates an oversized GIF with manipulated dimensions to exploit inadequate bounds checking, potentially leading to arbitrary code execution or DoS.

Description

Heap-based buffer overflow in the GIF library in the WebKit framework for Google Android SDK m3-rc37a and earlier allows remote attackers to execute arbitrary code via a crafted GIF file whose logical screen height and width are different than the actual height and width.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Alfredo Ortega · pythondosandroid
https://www.exploit-db.com/exploits/31307

This exploit generates a malformed GIF image to trigger a heap-based buffer overflow in the Android Web Browser (SDK m3-rc37a and earlier). The PoC creates an oversized GIF with manipulated dimensions to exploit inadequate bounds checking, potentially leading to arbitrary code execution or DoS.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Theoretical
Target: Android SDK m3-rc37a and earlier
No auth needed
Prerequisites: Victim must open the malformed GIF in a vulnerable Android Web Browser
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (6)

Core 6
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/40998
Various Sources x_refsource_misc
http://www.coresecurity.com/?action=item&id=2148
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/3727
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/28005
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/489135/100/0/threaded

Scores

EPSS 0.0459
EPSS Percentile 90.4%

Details

CWE
CWE-119
Status published
Products (1)
google/android_sdk m3-rc37a
Published Mar 06, 2008
Tracked Since Feb 18, 2026