Cybersecurity
CVE-2019-14514 - remote code execution in MEmu
An open TCP port 21509 in the MEmu emulator allowed injection of operating system commands that ran with root privileges in the emulated Android.
Józef SulwińskiPublished Updated 2 min read

The MEmu emulator contained a service that ran other people’s commands with the highest privileges in the emulated Android. The NVD record and the SEQRED write-up show that:
- the flaw was present in all MEmu versions before 7.0.2,
- a service in the guest system listened on TCP port 21509 and required no authentication,
- the commands ran as root in the guest system, that is, in the emulated Android and not on the host,
- the CISA Known Exploited Vulnerabilities catalog does not list this CVE.
Vulnerability details
| Parameter | Value |
|---|---|
| CVE ID | CVE-2019-14514 |
| Product | Microvirt MEmu (all versions below 7.0.2) |
| Type | CWE-78: OS Command Injection |
| Impact | Execution of commands as root in the emulated Android system |
| CVSS | 9.8 (critical, CVSS 3.1: AV:N/AC:L/PR:N/UI:N) according to NVD |
Description
The MEmu guest system runs a program called /system/bin/systemd, which is unrelated to the init system of the same name. The program starts as root and listens for commands on TCP port 21509. Text supplied after the installer:uninstall command is passed to a shell call without validation, so shell special characters such as ;, && and || let an attacker append their own commands.
NVD rates the attack vector as network. The sources do not say whether the port is reachable from outside the host in the emulator’s default network configuration.
Impact
An attacker who reaches port 21509 executes arbitrary operating system commands as root in the emulated Android. Root in the guest system gives access to the data of all applications running in that emulator. The sources do not describe consequences beyond the emulated system.
Remediation
MEmu should be updated to version 7.0.2 or later, because versions before 7.0.2 contain the vulnerable program with port 21509.
Maciej Miszczyk of SEQRED discovered the flaw during security research.
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-14514 - NVD - NIST (accessed: )
- cve-2019-14514 - 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.