Buffer overflow in Bochs before 2.1.1, if installed setuid, allows local users to execute…
Priority LOW 33Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
EPSS 0.00705 53rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:bochs_project:bochs:*:*:*:*:*:*:*:* | before 2.1.1 | Vulnerable | Bochs Project |
- cpe:2.3:a:bochs_project:bochs:*:*:*:*:*:*:*:* Versions before 2.1.1 Vulnerable ·Bochs Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2004-2372
- 2026-10-03 Alias added: GHSA-g3hw-2h8v-79ff
References
More Bochs Project Bochs vulnerabilities
- TI-2018-15445 Bochs 2.6-5 Buffer Overflow Remote Code Execution CVSS 4.0CRITICAL 9.3
- TI-2007-02800 Heap-based buffer overflow in the bx_ne2k_c::rx_frame function in iodev/ne2k.cc in the… CVSS 2.0HIGH 7.2
- TI-2007-02801 The emulated floppy disk controller in Bochs 2.3 allows local users of the guest… CVSS 2.0LOW 2.1
Sources
- CVE-2004-2372 · CVE Program
- CVE-2004-2372 · NVD
- FIRST EPSS
- GHSA-g3hw-2h8v-79ff · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences