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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| bochs | BOCHS | 2.6-5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | bochs | No fix yet | — |
| Ubuntu 26.04 LTS | bochs | No fix yet | — |
| Ubuntu 25.10 | bochs | No fix yet | — |
| Ubuntu 24.04 LTS | bochs | No fix yet | — |
| Ubuntu 22.04 LTS | bochs | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | bochs | No fix yet | — |
| Ubuntu 18.04 LTS | bochs | No fix yet | — |
| Ubuntu 16.04 LTS | bochs | No fix yet | — |
References
- ExploitDB-43979 exploit
- Official Product Homepage product
- VulnCheck Advisory: Bochs 2.6-5 Buffer Overflow Remote Code Execution third-party-advisory