CVE catalog

CVE-2004-1138

vim: CVE-2004-1138

[CVE catalog]

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

VIM before 6.3 and gVim before 6.3 allow local users to execute arbitrary commands via a file containing a crafted modeline that is executed when the file is viewed using options such as (1) termcap, (2) printdevice, (3) titleold, (4) filetype, (5) syntax, (6) backupext, (7) keymap, (8) patchmode, or (9) langmenu.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianvimsid2:9.2.0858-1fixed
Debianvimforky2:9.2.0858-1fixed
Debianvimtrixie2:9.1.1230-2fixed
Debianvimbookworm2:9.0.1378-2+deb12u2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianvimsourcesid1:6.3-046+0sarge1not yet assignedNot reportedNot reported
Debianvimsourceforky1:6.3-046+0sarge1not yet assignedNot reportedNot reported
Debianvimsourcetrixie1:6.3-046+0sarge1not yet assignedNot reportedNot reported
Debianvimsourcebookworm1:6.3-046+0sarge1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [vim]Fixed
    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

  • [vim-athena]Fixed

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

  • [vim-common]Fixed

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

  • [vim-doc]Fixed

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

  • [vim-gtk3]Fixed

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

  • Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

  • [vim-motif]Fixed

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

  • [vim-nox]Fixed

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

  • Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

  • [vim-tiny]Fixed

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

  • [xxd]Fixed

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · bookworm; dsa · vim · debian · 12

[Debian 13 (Trixie)]

  • [vim]Fixed
    Details (2)
    • 2:9.1.1230-2 · amd64 · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

    • 2:9.1.1230-2 · arm64 · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

  • [vim-athena]Fixed

    Source package: [vim]

    Details (2)
    • 2:9.1.1230-2 · all · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

    • 2:9.1.1230-2 · all · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

  • [vim-common]Fixed

    Source package: [vim]

    Details (2)
    • 2:9.1.1230-2 · all · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

    • 2:9.1.1230-2 · all · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

  • [vim-doc]Fixed

    Source package: [vim]

    Details (2)
    • 2:9.1.1230-2 · all · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

    • 2:9.1.1230-2 · all · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

  • [vim-gtk3]Fixed

    Source package: [vim]

    Details (2)
    • 2:9.1.1230-2 · amd64 · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

    • 2:9.1.1230-2 · arm64 · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

  • Source package: [vim]

    Details (2)
    • 2:9.1.1230-2 · all · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

    • 2:9.1.1230-2 · all · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

  • [vim-motif]Fixed

    Source package: [vim]

    Details (2)
    • 2:9.1.1230-2 · amd64 · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

    • 2:9.1.1230-2 · arm64 · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

  • [vim-nox]Fixed

    Source package: [vim]

    Details (2)
    • 2:9.1.1230-2 · amd64 · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

    • 2:9.1.1230-2 · arm64 · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

  • Source package: [vim]

    Details (2)
    • 2:9.1.1230-2 · all · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

    • 2:9.1.1230-2 · all · trixie

      Fixed · Fixed: 1:6.3-046+0sarge1

      dsa · vim · debian · 13

Next results

Observed:

References