CVE-2018-25220 Details
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.
A stack-based buffer overflow vulnerability has been identified in Bochs versions 2.6 through 5. This vulnerability allows attackers to execute arbitrary code by sending an oversized input string to the application. Exploitation involves crafting a payload with 1200 bytes of padding followed by a return-oriented programming (ROP) chain, which overwrites the instruction pointer. This manipulation enables the execution of shell commands with the privileges of the application.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://bochs.sourceforge.net/ | [email protected] | Product |
| https://www.exploit-db.com/exploits/43979 | [email protected] | ExploitVDB Entry |
| https://www.vulncheck.com/advisories/bochs-5-buffer-overflow-remote-code-execution | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| bochs project bochs | 2.6.5 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 2, 2026 | Initial Analysis | [email protected] |
| Mar 28, 2026 | New CVE Received | [email protected] |