Buffer overflow in Bochs
CVE-2018-25220
Bochs 2.6-5 contains a stack-based buffer overflow vulnerability that allows attackers to execute arbitrary code by supplying an oversized input string to the application. Attackers can craft a malicious payload with 1200 bytes of padding followed by a return-oriented programming chain to overwrite the instruction pointer and execute shell commands with application privileges.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 52.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Bochs — versions 2.6-5
- Bochs Project — versions 2.6.5
Weakness classification (CWE)
References
- ExploitDB-43979 (Exploit, exploit, VDB Entry)
- Official Product Homepage (Product, product)
- VulnCheck Advisory: Bochs 2.6-5 Buffer Overflow Remote Code Execution (Third Party Advisory, third-party-advisory)