What’s Vulnerable › Vulnerabilities
CVE-2004-2372
- Severity: high (CVSS 7.2 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2004-12-31 · updated 2026-06-16
Description
Buffer overflow in Bochs before 2.1.1, if installed setuid, allows local users to execute arbitrary code via a long HOME environment variable, which is used if the .bochsrc, bochsrc, and bochsrc.txt cannot be found in a known path. NOTE: some external documents recommend that Bochs be installed setuid root, so this should be treated as a vulnerability.
Affected products
- BOCHS: before 2.1.1 — fixed in 2.1.1
How to fix
Upgrade to a fixed version: BOCHS 2.1.1. Check the vendor advisory for mitigations.
References
- http://securitytracker.com/id?1009219
- http://sourceforge.net/project/shownotes.php?release_id=215733
- http://www.securiteam.com/unixfocus/5XP0L1FC0M.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/15309
- http://securitytracker.com/id?1009219
- http://sourceforge.net/project/shownotes.php?release_id=215733
- http://www.securiteam.com/unixfocus/5XP0L1FC0M.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/15309
Get alerted when CVE-2004-2372 or the next vulnerability affects your stack