CVE-2004-2372: Bochs Project Bochs

High severity, CVSS 7.2. EPSS: 0.7% chance of exploitation in the next 30 days.

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

Published 2004-12-31. Last modified 2026-06-16.