
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2018-25220 is a stack-based buffer overflow vulnerability in Bochs 2.6.5, an open-source x86 PC emulator, that allows attackers to execute arbitrary code by supplying an oversized input string to the application. The vulnerability was assigned a CVE identifier retroactively and published on March 28, 2026, by VulnCheck as the assigning CNA. It affects specifically Bochs version 2.6.5 (also referenced as 2.6-5). The vulnerability carries a CVSS v3.1 base score of 9.8 (Critical) and a CVSS v4.0 base score of 9.3 (Critical) (Feedly, VulnCheck Advisory).
The root cause is an out-of-bounds write (CWE-787) resulting from insufficient bounds checking on user-supplied input strings, leading to a stack-based buffer overflow. An attacker can craft a malicious payload consisting of approximately 1,200 bytes of padding followed by a return-oriented programming (ROP) chain that overwrites the saved instruction pointer on the stack. This ROP chain can invoke a syscall (e.g., int 0x80 for execve(/bin//sh)) to spawn a shell with the privileges of the Bochs process. No authentication or user interaction is required, and the attack vector is classified as network-based (Feedly, Exploit-DB).
Successful exploitation grants an unauthenticated remote attacker arbitrary code execution with the privileges of the Bochs application process, resulting in full compromise of confidentiality, integrity, and availability of the affected system. An attacker can execute arbitrary shell commands, potentially enabling data exfiltration, installation of malware, or use of the compromised host as a pivot point for lateral movement within a network. Because Bochs is an emulator often used in research and development environments, exploitation could also expose guest VM configurations and sensitive data processed within the emulated environment (Feedly, VulnCheck Advisory).
A functional proof-of-concept exploit is publicly available on Exploit-DB (EDB-43979), implemented as a Python script that constructs the ROP chain payload and executes the vulnerable Bochs binary with the crafted input to spawn a shell. The EPSS score is approximately 0.068% (0.000680), indicating a currently low probability of widespread exploitation. There is no evidence of active in-the-wild exploitation at this time, no known threat actor attribution, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Exploit-DB, Feedly).
'A' * 1200) to overflow the stack buffer and reach the saved return address.execve('/bin//sh', NULL, NULL) syscall via int 0x80.subprocess.call(["bochs-bin", crafted_buff])./bin/sh) with the privileges of the Bochs process, granting the attacker full control of the host (Exploit-DB, Feedly)./bin/sh, /bin/bash) visible in process trees via ps or endpoint detection tools./var/log/syslog, /var/log/auth.log) showing shell execution or privilege escalation events originating from the Bochs process user account.0x41414141) in the instruction pointer (Exploit-DB, Feedly).No official vendor patch has been identified for this vulnerability in Bochs 2.6.5. As interim mitigations, administrators should restrict network access to any Bochs services to trusted networks only, implement strict input validation and size limits for all user-supplied input, and run Bochs with the least-privileged user account possible to limit the impact of exploitation. Organizations should monitor for newer releases from the Bochs project at bochs.sourceforge.net and apply updates as they become available. Deploying host-based intrusion detection and enabling stack protection mechanisms (e.g., ASLR, stack canaries) at the OS level can also reduce exploitability (Feedly, VulnCheck Advisory).
The vulnerability received limited but notable coverage following its March 2026 publication, with mentions on Bluesky and security aggregator sites. A technical write-up was published at infinitsec.net detailing the buffer overflow and ROP chain exploitation technique. No major vendor statements or significant mainstream media coverage have been identified beyond standard vulnerability database entries (Feedly).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."