Cybersecurity
CVE-2019-14220 - arbitrary local file read in BlueStacks
An unsecured readFile() method in the BlueStacks bstutils service let a malicious application read system files it had no permission to access.
Józef SulwińskiPublished Updated 3 min read

An application running in the BlueStacks emulator could read Android system files it had no permission to access. On a workstation with the emulator, this put the data of other applications in the same emulator at risk. The vendor advisory and the NVD record show that:
- the flaw affected BlueStacks 4.120 and older on Windows and 4.110 and older on macOS,
- an attack required running a malicious application inside the emulator,
- the vendor published its advisory on 18 September 2019, before this write-up,
- the CISA Known Exploited Vulnerabilities catalog does not list this CVE.
This article describes a flaw from 2019. The vendor’s support site now offers BlueStacks 5 for download.
Vulnerability details
| Parameter | Value |
|---|---|
| CVE ID | CVE-2019-14220 |
| Product | BlueStacks 4.120 and older on Windows, 4.110 and older on macOS |
| Type | CWE-269: Improper Privilege Management (according to NVD) |
| Vector | Local attack. The attacker must run a malicious application inside the emulator. |
| CVSS | NVD: 6.5 (medium, CVSS 3.1). Vendor: 5.9 (medium, CVSS 3.0). The scores differ in the assumed attack complexity and required privileges. |
Description
BlueStacks creates a virtual smartphone or tablet within the host operating system. The emulated Android includes a non-standard system service called bstutils (interface descriptor com.bluestacks.os.IbstUtilsService).
The service exposes a readFile() method (transaction identifier 6) that returns the contents of the file at a given path. Any application in the emulator can call this method, even without permissions. The service runs in the system_server process with uid and gid system, so it also returns files that are unavailable to regular applications.
Reproduction
Reproduction requires a vulnerable emulator version in a test environment and access to ADB (Android Debug Bridge, a command-line tool for managing a device). In the ADB shell, one command is enough:
service call bstutils 6 s16 /data/system/packages.xml
The command returns the contents of packages.xml, a list of installed packages, in hexadecimal notation.
Impact
A malicious application in the emulator reads any system file it has no permission to access. This includes the private data of other applications installed in the same emulator.
Remediation
The vendor recommends installing the latest BlueStacks version. Versions newer than 4.120 (Windows) and 4.110 (macOS) fall outside the range of affected versions given by NVD and the vendor. The advisory does not name a fixed version number, so the current version should be installed.
SEQRED reported the flaw to the vendor before this write-up was published. The vendor advisory thanks Maciej Miszczyk of SEQRED for the report.
Where we help
During penetration testing the SEQRED team examines software and devices, including the auxiliary tools administrators run on their workstations. To start a conversation, use the contact form.
Sources
- CVE-2019-14220 - NVD - NIST (accessed: )
- BlueStacks fails to restrict access permissions (Security Advisory) - BlueStacks (accessed: )
- cve-2019-14220 - description and reproduction - SEQRED (accessed: )
- Known Exploited Vulnerabilities Catalog (release 2026.11.18) - CISA (accessed: )
Need help in this area?
Our experts will help you assess the risk and plan next steps.