CVE-2004-1138 Affecting vim package, versions <1:6.3-046+0sarge1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.41% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-VIM-17966414
  • published14 Jul 2026
  • disclosed10 Jan 2005

Introduced: 10 Jan 2005

CVE-2004-1138  (opens in a new tab)

How to fix?

Upgrade Echo:latest vim to version 1:6.3-046+0sarge1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vim package and not the vim package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1