CVE-2004-2372
Buffer overflow in Bochs before 2.1.1, if installed setuid, allows local users to execute...
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.
Exploit likelihood
What each source reports
NVD Score used
7.2
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.
- Record
CVE-2004-2372- CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2004-2372- Updated
- 2026-11-02
EUVDEUVD-2004-2364 No score
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.
- Record
EUVD-2004-2364- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-g3hw-2h8v-79ff No score
Buffer overflow in Bochs before 2.1.1, if installed setuid, allows local users to execute...
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.
- Record
GHSA-g3hw-2h8v-79ff- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2004-2372- Updated
- 2026-11-02
OSVDEBIAN-CVE-2004-2372 No score
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.
- Record
DEBIAN-CVE-2004-2372- Updated
- 2026-11-02
Affected products
Affected packages
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2004-2372 is a high vulnerability (CVSS 7.2) in Bochs Project Bochs, published December 31, 2004. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.70%, the 53rd percentile. Fixed in bochs 2.1.1-1.
References
exchange.xforce.ibmcloud.com/vulnerabilities/15309
securitytracker.com/id?1009219
securiteam.com/unixfocus/5XP0L1FC0M.html
sourceforge.net/project/shownotes.php?release_id=215733
nvd.nist.gov/vuln/detail/CVE-2004-2372
github.com/advisories/GHSA-g3hw-2h8v-79ff
security-tracker.debian.org/tracker/CVE-2004-2372