CVE & CISA-KEV Catalog

CVE-2004-1138

HIGH
7.2
CVSS v2
NVD

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.

How to fix

Remediation Available
vimDebian
Fixed in:1:6.3-046+0sarge1CVE-2004-1138
Fixed in:1:6.3-046+0sarge1CVE-2004-1138
Fixed in:1:6.3-046+0sarge1CVE-2004-1138
Fixed in:1:6.3-046+0sarge1CVE-2004-1138

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v2 Vector

No CVSS vector data available.

Exploit Intelligence

0.41%probability of exploitation in 30 days
33rdpercentile

Low risk: more likely to be exploited than 33% of all known CVEs.

References

Embed a live status badge for CVE-2004-1138
CVE-2004-1138 severity badge

Markdown

[![CVE-2004-1138](https://tridentstack.com/cve/badge/CVE-2004-1138.svg)](https://tridentstack.com/cve/CVE-2004-1138)

HTML

<a href="https://tridentstack.com/cve/CVE-2004-1138"><img src="https://tridentstack.com/cve/badge/CVE-2004-1138.svg" alt="CVE-2004-1138"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-16.