CVE-2018-25220 PUBLISHED

Bochs 2.6-5 Buffer Overflow Remote Code Execution

Assigner: VulnCheck
Reserved: 28.03.2026 Published: 28.03.2026 Updated: 28.03.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 9.3

Product Status

Vendor bochs
Product BOCHS
Versions
  • Version 2.6-5 is affected

Credits

  • Juan Sacco <jsacco@exploitpack.com> - http://exploitpack.com finder

References

Problem Types

  • Out-of-bounds Write CWE