CVE catalog

CVE-2004-2372

bochs: CVE-2004-2372

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.70% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianbochssid3.1+dfsg-1fixed
Debianbochsforky3.1+dfsg-1fixed
Debianbochstrixie3.0+dfsg-1fixed
Debianbochsbookworm2.7+dfsg-4+deb12u1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbochssourcesid2.1.1-1not yet assignedNot reportedNot reported
Debianbochssourceforky2.1.1-1not yet assignedNot reportedNot reported
Debianbochssourcetrixie2.1.1-1not yet assignedNot reportedNot reported
Debianbochssourcebookworm2.1.1-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [bochs]Fixed
    Details (2)
    • 2.7+dfsg-4+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

    • 2.7+dfsg-4+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

  • [bochsbios]Fixed

    Source package: [bochs]

    Details (2)
    • 2.7+dfsg-4+deb12u1 · all · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

    • 2.7+dfsg-4+deb12u1 · all · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

  • [bochs-doc]Fixed

    Source package: [bochs]

    Details (2)
    • 2.7+dfsg-4+deb12u1 · all · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

    • 2.7+dfsg-4+deb12u1 · all · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

  • [bochs-sdl]Fixed

    Source package: [bochs]

    Details (2)
    • 2.7+dfsg-4+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

    • 2.7+dfsg-4+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

  • [bochs-term]Fixed

    Source package: [bochs]

    Details (2)
    • 2.7+dfsg-4+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

    • 2.7+dfsg-4+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

  • [bochs-wx]Fixed

    Source package: [bochs]

    Details (2)
    • 2.7+dfsg-4+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

    • 2.7+dfsg-4+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

  • [bochs-x]Fixed

    Source package: [bochs]

    Details (2)
    • 2.7+dfsg-4+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

    • 2.7+dfsg-4+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

  • [bximage]Fixed

    Source package: [bochs]

    Details (2)
    • 2.7+dfsg-4+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

    • 2.7+dfsg-4+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · bookworm; dsa · bochs · debian · 12

[Debian 13 (Trixie)]

  • [bochs]Fixed
    Details (2)
    • 3.0+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

    • 3.0+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

  • [bochsbios]Fixed

    Source package: [bochs]

    Details (2)
    • 3.0+dfsg-1 · all · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

    • 3.0+dfsg-1 · all · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

  • [bochs-doc]Fixed

    Source package: [bochs]

    Details (2)
    • 3.0+dfsg-1 · all · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

    • 3.0+dfsg-1 · all · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

  • [bochs-sdl]Fixed

    Source package: [bochs]

    Details (2)
    • 3.0+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

    • 3.0+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

  • [bochs-term]Fixed

    Source package: [bochs]

    Details (2)
    • 3.0+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

    • 3.0+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

  • [bochs-wx]Fixed

    Source package: [bochs]

    Details (2)
    • 3.0+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

    • 3.0+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

  • [bochs-x]Fixed

    Source package: [bochs]

    Details (2)
    • 3.0+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

    • 3.0+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

  • [bximage]Fixed

    Source package: [bochs]

    Details (2)
    • 3.0+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

    • 3.0+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · bochs · debian · 13

Observed:

References