CVE-2004-2372

Exp

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.

Published: 2004-12-31 Last update: 2026-04-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2004-2372 is rated Exploit Available (53.6/100): CVSS High severity, with low exploitation likelihood (EPSS 0.12%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2004-2372

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2004-2372

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-03-30 0.18% 0.12% -0.05%
2 2025-03-29 0.12% 0.18% +0.05%
3 2025-03-17 0.12%

Full EPSS history (5 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2004-2372

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.2 2.0 HIGH
AV:L/AC:L/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
3.9 10.0 [email protected]

Weakness enumeration for CVE-2004-2372

OS Trackers for CVE-2004-2372

vendor priority summary link
debian not yet assigned CVE-2004-2372 not yet assigned priority: Debian including 1 source packages (bochs), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2004-2372

Affected software / configurations for CVE-2004-2372

Vendor Product Version Raw CPE
bochs_project bochs < 2.1.1 cpe:2.3:a:bochs_project:bochs:*:*:*:*:*:*:*:*

References for CVE-2004-2372

cvelogic Threat Intelligence