Vulnerability record · CVE-2004-2372 · published 31 December 2004
CVE-2004-2372: Bochs project bochs vulnerability
Bochs Project · Bochs
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.
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.
AV:L/AC:L/Au:N/C:C/I:C/A:C
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://securitytracker.com/id?1009219 | PatchThird Party AdvisoryVDB Entry |
| http://sourceforge.net/project/shownotes.php?release_id=215733 | Patch |
| http://www.securiteam.com/unixfocus/5XP0L1FC0M.html | ExploitPatchVendor Advisory |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/15309 | VDB Entry |
| http://securitytracker.com/id?1009219 | PatchThird Party AdvisoryVDB Entry |
| http://sourceforge.net/project/shownotes.php?release_id=215733 | Patch |
| http://www.securiteam.com/unixfocus/5XP0L1FC0M.html | ExploitPatchVendor Advisory |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/15309 | VDB Entry |
Track CVE-2004-2372 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2004-2372), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.