# CVE-2004-1138

- Priority: **Routine**
- Reason: Not severe (CVSS 7.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2004-12-22 · Modified: 2024-08-08
- Aliases: RHSA-2005:010, DEBIAN-CVE-2004-1138
- Record: https://cvemate.com/vulnerability/CVE-2004-1138 · JSON: https://cvemate.com/vulnerability/CVE-2004-1138/json

## Description

```text
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.
```

## Signals

- CVSS: 7.2 high (v2.0, NVD) AV:L/AC:L/Au:N/C:C/I:C/A:C
- EPSS: 0.41%, percentile 37.298%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian vim (Debian): \< 1:6.3-046+0sarge1
- redhat vim (Red Hat): \< 1:6.3.046-0.30E.1
- redhat vim-common (Red Hat): \< 1:6.3.046-0.30E.1
- redhat vim-debuginfo (Red Hat): \< 1:6.3.046-0.30E.1
- redhat vim-enhanced (Red Hat): \< 1:6.3.046-0.30E.1
- redhat vim-minimal (Red Hat): \< 1:6.3.046-0.30E.1
- redhat vim-X11 (Red Hat): \< 1:6.3.046-0.30E.1
- vim\_development\_group vim: 5.0 \| 5.1 \| 5.2 \| 5.3 \| 5.4 \| 5.5 \| 5.6 \| 5.7 \| 5.8 \| 6.0 \| 6.1 \| 6.2 \| 6.3.011 \| 6.3.025 \| 6.3.030 \| 6.3.044

## References

- <http://marc.info/?l=bugtraq&m=110313588125609&w=2>
- <http://www.gentoo.org/security/en/glsa/glsa-200412-10.xml>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/18503>
- <https://bugzilla.fedora.us/show_bug.cgi?id=2343>
- <http://www.redhat.com/support/errata/RHSA-2005-036.html>
- <http://www.redhat.com/support/errata/RHSA-2005-010.html>
- <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9571>
- <https://access.redhat.com/errata/RHSA-2005:010>
- <https://access.redhat.com/security/updates/classification/#low>
- <https://bugzilla.redhat.com/show_bug.cgi?id=142444>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_010.json>
- <https://access.redhat.com/security/cve/CVE-2004-1138>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1617374>
- <https://www.cve.org/CVERecord?id=CVE-2004-1138>
- <https://nvd.nist.gov/vuln/detail/CVE-2004-1138>
- <https://security-tracker.debian.org/tracker/CVE-2004-1138>

---

Data as of 2026-12-05T07:32:27.831Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
