Buffer overflow in Bochs
CVE-2018-25220
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.
Vulnerability class: Buffer Overflow
EPSS: 0.006 (46.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Bochs — versions 2.6-5
- Bochs_project Bochs — versions 2.6.5
Weakness classification (CWE)
References
- disclosure@vulncheck.com (Exploit, VDB Entry, exploit)
- disclosure@vulncheck.com (Product, product)
- disclosure@vulncheck.com (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2018-25220?
- CVE-2018-25220 is a critical-severity vulnerability in Bochs, classified under Out-of-bounds Write. CVSS score: 9.8/10. Published 2026-03-28.
- How severe is CVE-2018-25220?
- Critical severity. CVSS v3 base score is 9.8 out of 10.