CVE-2004-2372
HIGHDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v2 Vector
No CVSS vector data available.
Exploit Intelligence
Moderate risk: more likely to be exploited than 49% of all known CVEs.
References
Embed a live status badge for CVE-2004-2372
Markdown
[](https://tridentstack.com/cve/CVE-2004-2372)HTML
<a href="https://tridentstack.com/cve/CVE-2004-2372"><img src="https://tridentstack.com/cve/badge/CVE-2004-2372.svg" alt="CVE-2004-2372"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-16.