CVE-2018-25220

CRITICAL

Bochs 2.6-5 Buffer Overflow Remote Code Execution

Title source: cna

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.

Exploits (1)

exploitdb WORKING POC
by Juan Sacco · pythonlocallinux
https://www.exploit-db.com/exploits/43979

Scores

CVSS v3 9.8
EPSS 0.0009
EPSS Percentile 24.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (2)
bochs/BOCHS 2.6-5
bochs_project/bochs 2.6.5
Published Mar 28, 2026
Tracked Since Mar 29, 2026