CVE catalog

CVE-2008-1845

mksh: CVE-2008-1845

[CVE catalog]

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

The Korn shell (aka mksh) before R33d on MirOS (aka MirBSD) does not flush the tty's I/O when invoking mksh in a new terminal, which allows local users to gain privileges by opening a virtual terminal and entering command sequences, which might later be executed in opportunistic circumstances by a different user who launches mksh and specifies that terminal with the -T option.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianmkshsid59c-43fixed
Debianmkshforky59c-43fixed
Debianmkshtrixie59c-41fixed
Debianmkshbookworm59c-28+deb12u1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmkshsourcesid33.4-1lowNot reportedNot reported
Debianmkshsourceforky33.4-1lowNot reportedNot reported
Debianmkshsourcetrixie33.4-1lowNot reportedNot reported
Debianmkshsourcebookworm33.4-1lowNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [mksh]Fixed
    Details (2)
    • 59c-28+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 33.4-1

      dsa · mksh · debian · bookworm; dsa · mksh · debian · 12

    • 59c-28+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 33.4-1

      dsa · mksh · debian · bookworm; dsa · mksh · debian · 12

[Debian 13 (Trixie)]

  • [mksh]Fixed

    Source package: [mksh]

    Details (2)
    • 59c-41+b2 · amd64 · trixie

      Fixed · Fixed: 33.4-1

      dsa · mksh · debian · 13

    • 59c-41+b2 · arm64 · trixie

      Fixed · Fixed: 33.4-1

      dsa · mksh · debian · 13

Observed:

References