CVE-2018-25220: Vulnerability in Bochs Project Bochs

Critical. 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.

CWE-787

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Published
28 Mar 2026
Last change
17 Jun 2026

Affected products

Affected versions and the first fixed release

  • Bochs Project Bochs Version 2.6.5. No fixed version recorded

Advisories

Vendor and security advisories

Exploit code

Public exploits and proofs of concept, handle with care

Related