CVE-2017-8284
QEMU: privilege escalation via disas_insn function in TCG mode
Severity
LowRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · October 2, 2019
Updated · November 22, 2025
Description
The disas_insn function in target/i386/translate.c in QEMU before 2.9.0, when TCG mode without hardware acceleration is used, does not limit the instruction size, which allows local users to gain privileges by creating a modified basic block that injects code into a setuid program, as demonstrated by procmail. NOTE: the vendor has stated "this bug does not violate any security guarantees QEMU makes.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 4.8CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
CWE-94 · Improper Control of Generation of Code ('Code Injection')