Skip to content
OpenAdvisories
Unscored CVE-2004-1138 EUVD-2004-1136GHSA-jx5v-4rgm-j8mg

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 execute…

Published Dec 22, 2004 · Updated Aug 8, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 vim 1:6.3-046+0sarge1 —
Debian 13 vim 1:6.3-046+0sarge1 —
Debian 12 vim 1:6.3-046+0sarge1 —
ReleasePackageFixed inAdvisory
RHEL 4 vim +4 1:6.3.046-0.40E.4 RHSA-2005:036
RHEL 3 vim +4 1:6.3.046-0.30E.1 RHSA-2005:010

Advisories 2

References