Read the docs
TI-2002-01300 Aliases CVE-2002-1377GHSA-3g8f-84mq-ghvw

vim 6.0 and 6.1, and possibly other versions, allows attackers to execute arbitrary…

Priority LOW 22Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.

Summary

vim 6.0 and 6.1, and possibly other versions, allows attackers to execute arbitrary commands using the libcall feature in modelines, which are not sandboxed but may be executed when vim is used to edit a malicious file, as demonstrated using mutt.

Why it matters now

EPSS 0.00473 41st percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 11

CPEVersionsRoleVendor
cpe:2.3:a:vim_development_group:vim:5.0:*:*:*:*:*:*:*5.0VulnerableVim Development Group
cpe:2.3:a:vim_development_group:vim:5.1:*:*:*:*:*:*:*5.1VulnerableVim Development Group
cpe:2.3:a:vim_development_group:vim:5.2:*:*:*:*:*:*:*5.2VulnerableVim Development Group
cpe:2.3:a:vim_development_group:vim:5.3:*:*:*:*:*:*:*5.3VulnerableVim Development Group
cpe:2.3:a:vim_development_group:vim:5.4:*:*:*:*:*:*:*5.4VulnerableVim Development Group
cpe:2.3:a:vim_development_group:vim:5.5:*:*:*:*:*:*:*5.5VulnerableVim Development Group
cpe:2.3:a:vim_development_group:vim:5.6:*:*:*:*:*:*:*5.6VulnerableVim Development Group
cpe:2.3:a:vim_development_group:vim:5.7:*:*:*:*:*:*:*5.7VulnerableVim Development Group
cpe:2.3:a:vim_development_group:vim:5.8:*:*:*:*:*:*:*5.8VulnerableVim Development Group
cpe:2.3:a:vim_development_group:vim:6.0:*:*:*:*:*:*:*6.0VulnerableVim Development Group
Show 1 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:vim_development_group:vim:6.1:*:*:*:*:*:*:*6.1VulnerableVim Development Group

Remediation

Red Hat 2 advisories

  • RHSA-2002:302 Released 2003-01-29 · Red Hat rating Important
    vim security update
    • Red Hat Enterprise Linux AS (Advanced Server) version 2.1
    • Red Hat Linux Advanced Workstation 2.1
  • RHSA-2002:297 Released 2003-01-16 · Red Hat rating Important
    : : : Updated vim packages fix modeline vulnerability
    • Red Hat Linux 6.2
    • Red Hat Linux 7.0
    • Red Hat Linux 7.1
    • Red Hat Linux 7.2
    • Red Hat Linux 7.3
    • Red Hat Linux 8.0

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 Fixed RHSA-2002:302
Red Hat Linux 6.2Fixed RHSA-2002:297
Red Hat Linux 7.0Fixed RHSA-2002:297
Red Hat Linux 7.1Fixed RHSA-2002:297
Red Hat Linux 7.2Fixed RHSA-2002:297
Red Hat Linux 7.3Fixed RHSA-2002:297
Red Hat Linux 8.0Fixed RHSA-2002:297
Red Hat Linux Advanced Workstation 2.1Fixed RHSA-2002:302

Timeline

  1. 2026-10-02 Threatist record created from CVE-2002-1377
  2. 2026-10-03 Alias added: GHSA-3g8f-84mq-ghvw

References

  • TI-2005-02240 vim 6.3 before 6.3.082, with modelines enabled, allows external user-assisted attackers… CVSS 2.0HIGH 9.3
  • TI-2007-02354 The sandbox for vim allows dangerous functions such as (1) writefile, (2) feedkeys, and… CVSS 2.0HIGH 7.6
  • TI-2007-02859 Format string vulnerability in the helptags_one function in src/ex_cmds.c in Vim 6.4 and… CVSS 2.0MEDIUM 6.8
  • TI-2004-01033 VIM before 6.3 and gVim before 6.3 allow local users to execute arbitrary commands via a… CVSS 2.0HIGH 7.2
  • TI-2001-00401 vim (aka gvim) processes VIM control codes that are embedded in a file, which could allow… CVSS 2.0MEDIUM 5.1
  • TI-2005-00055 The (1) tcltags or (2) vimspell.sh scripts in vim 6.3 allow local users to overwrite or… CVSS 2.0MEDIUM 4.6
See all 7 →

Sources