CVE-2017-0592
Description
A remote code execution vulnerability in FLACExtractor.cpp in libstagefright in Mediaserver could enable an attacker using a specially crafted file to cause memory corruption during media file and data processing. This issue is rated as Critical due to the possibility of remote code execution within the context of the Mediaserver process. Product: Android. Versions: 4.4.4, 5.0.2, 5.1.1, 6.0, 6.0.1, 7.0, 7.1.1, 7.1.2. Android ID: A-34970788.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A remote code execution vulnerability in Android's FLACExtractor allows memory corruption via crafted FLAC file, enabling arbitrary code execution in Mediaserver.
Vulnerability
CVE-2017-0592 is a remote code execution vulnerability in FLACExtractor.cpp within libstagefright of Android's Mediaserver. The vulnerability arises due to improper handling of the mWriteBuffer buffer, leading to memory corruption when processing a specially crafted FLAC file. Affected versions include Android 4.4.4, 5.0.2, 5.1.1, 6.0, 6.0.1, 7.0, 7.1.1, and 7.1.2 [1].
Exploitation
An attacker can exploit this vulnerability by crafting a malicious FLAC file and delivering it to the target device, e.g., via a web page or multimedia message. No authentication is required; the file only needs to be processed by Mediaserver, which occurs when the user opens the file or when media is scanned. The code path is triggered during media parsing, causing memory corruption [2].
Impact
Successful exploitation allows an attacker to execute arbitrary code within the context of the Mediaserver process. This can lead to further compromise of the device, including potential access to sensitive data or escalation of privileges. The impact is rated as Critical due to the possibility of remote code execution [1].
Mitigation
Google released a fix in the May 2017 Android Security Bulletin [1]. The updated code is available in commit acc192347665943ca674acf117e4f74a88436922, which adds a copy protection for mWriteBuffer [2]. Users should update their devices to receive the security patch. No workaround is available for unpatched versions.
AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
31cpe:2.3:o:google:android:4.0:*:*:*:*:*:*:*+ 29 more
- cpe:2.3:o:google:android:4.0:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.0.1:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.0.2:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.0.3:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.0.4:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.1:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.1.2:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.2:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.2.1:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.2.2:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.3:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.3.1:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.4:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.4.1:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.4.2:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.4.3:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:4.4.4:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:5.0:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:5.0.1:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:5.0.2:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:5.1:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:5.1.0:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:5.1.1:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:6.0:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:6.0.1:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:7.1.0:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:7.1.1:*:*:*:*:*:*:*
- cpe:2.3:o:google:android:7.1.2:*:*:*:*:*:*:*
- (no CPE)range: 4.4.4
- Range: = 4.4.4, 5.0.2, 5.1.1, 6.0, 6.0.1, 7.0, 7.1.1, 7.1.2
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- android.googlesource.com/platform/frameworks/av/+/acc192347665943ca674acf117e4f74a88436922nvdIssue TrackingPatchThird Party Advisory
- source.android.com/security/bulletin/2017-05-01nvdPatchVendor Advisory
- www.securityfocus.com/bid/98125nvdThird Party AdvisoryVDB Entry
News mentions
0No linked articles in our index yet.