{"id":"CVE-2004-2372","aliases":["DEBIAN-CVE-2004-2372","EUVD-2004-2364","GHSA-g3hw-2h8v-79ff"],"status":"published","title":"Buffer overflow in Bochs before 2.1.1, if installed setuid, allows local users to execute...","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.","severity":{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00705,"percentile":0.53585,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2004-12-31T05:00:00Z","modified":"2026-10-21T15:47:37Z","fixes":[{"ecosystem":"Debian:12","package":"bochs","fixed_in":["2.1.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"bochs","fixed_in":["2.1.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"bochs","fixed_in":["2.1.1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"bochs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"bochs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"bochs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-1"}]}]}],"products":[{"vendor":"bochs_project","product":"bochs"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15309","tags":["vdb-entry","x_refsource_XF","x_transferred","VDB Entry","advisory"]},{"url":"http://securitytracker.com/id?1009219","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Patch","Third Party Advisory","VDB Entry","advisory","fix"]},{"url":"http://www.securiteam.com/unixfocus/5XP0L1FC0M.html","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Vendor Advisory","advisory","evidence","fix"]},{"url":"http://sourceforge.net/project/shownotes.php?release_id=215733","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-2372"},{"url":"https://github.com/advisories/GHSA-g3hw-2h8v-79ff"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-2372","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-2372","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.","status":"published","published":"2005-08-16T04:00:00Z","modified":"2024-08-08T01:22:13.66Z","updated_at":"2026-11-02T14:34:53.70484Z"}],"euvd":[{"id":"EUVD-2004-2364","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.","status":"published","published":"2005-08-16T04:00:00Z","modified":"2024-08-08T01:22:13Z","updated_at":"2026-11-03T01:15:10.882227Z"}],"ghsa":[{"id":"GHSA-g3hw-2h8v-79ff","title":"Buffer overflow in Bochs before 2.1.1, if installed setuid, allows local users to execute...","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.","status":"published","published":"2022-04-29T03:01:19Z","modified":"2023-01-30T05:03:45Z","updated_at":"2026-11-02T14:46:54.242582Z"}],"nvd":[{"id":"CVE-2004-2372","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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-06-16T22:09:31.983Z","cvss":[{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:52.459805Z"}],"osv":[{"id":"CVE-2004-2372","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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-04-10T03:36:44.106478Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-2372","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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-10-21T15:47:37.499956393Z","updated_at":"2026-11-02T15:45:22.55978Z"}]}}
