What’s Vulnerable › Vulnerabilities
CVE-2018-25220: Bochs 2.6-5 Buffer Overflow Remote Code Execution
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-28 · updated 2026-06-17
- Weakness: CWE-787
Description
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.
Affected products
- BOCHS: 2.6.5
References
- http://bochs.sourceforge.net/
- https://www.exploit-db.com/exploits/43979
- https://www.vulncheck.com/advisories/bochs-5-buffer-overflow-remote-code-execution
Get alerted when CVE-2018-25220 or the next vulnerability affects your stack