Home / Vim Development Group / Vim / CVE-2002-1377
CVE-2002-1377: is it exploited, and which versions of Vim Development Group Vim are affected and fixed?
CVE-2002-1377 is a vulnerability in Vim Development Group Vim. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: vim 5.0, vim 5.1, vim 5.2 and 8 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.6, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:22 UTC and NVD November 19, 2026, 08:56 UTC.
What is CVE-2002-1377?
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.
From the CVE record by mitre, last updated August 8, 2024, 03:19 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| vim development group | vim | 5.0 | application |
| vim development group | vim | 5.1 | application |
| vim development group | vim | 5.2 | application |
| vim development group | vim | 5.3 | application |
| vim development group | vim | 5.4 | application |
| vim development group | vim | 5.5 | application |
| vim development group | vim | 5.6 | application |
| vim development group | vim | 5.7 | application |
| vim development group | vim | 5.8 | application |
| vim development group | vim | 6.0 | application |
| vim development group | vim | 6.1 | application |
NVD analysis (status Modified), last modified June 16, 2026, 21:59 UTC.
How severe is CVE-2002-1377?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2002-1377 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.47% probability of exploitation activity in the next 30 days, percentile 42.5 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- 6384 vdb-entry, x_refsource_BID
- RHSA-2002:302 vendor-advisory, x_refsource_REDHAT
- http://www.guninski.com/vim1.html x_refsource_MISC
- 20021213 Some vim problems, yet still vim much better than windows mailing-list, x_refsource_FULLDISC
- RHSA-2002:297 vendor-advisory, x_refsource_REDHAT
- 55700 vendor-advisory, x_refsource_SUNALERT
- CLA-2004:812 vendor-advisory, x_refsource_CONECTIVA
- MDKSA-2003:012 vendor-advisory, x_refsource_MANDRAKE
- 20040331 OpenLinux: vim arbitrary commands execution through modelines mailing-list, x_refsource_BUGTRAQ
- vim-modeline-command-execution(10835) vdb-entry, x_refsource_XF
When was it published, and where is the official record?
- Reserved
- December 16, 2002
- Published
- September 1, 2004, 04:00 UTC
- CVE record updated
- August 8, 2024, 03:19 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 21:59 UTC
- Last checked
- CVE list November 19, 2026, 07:22 UTC; NVD November 19, 2026, 08:56 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Vim?
- Jul 31, 2007CVE-2007-2953 Vim Development Group Vim: n/a
- May 2, 2007CVE-2007-2438 Vim Development Group Vim: n/a
- Jul 26, 2005CVE-2005-2368 Vim Development Group Vim: OS command injection
- Jan 29, 2005CVE-2005-0069 Vim Development Group Vim: n/a
- Dec 22, 2004CVE-2004-1138 Vim Development Group Vim: n/a
- Sep 18, 2001CVE-2001-0409 Vim Development Group Vim: n/a
- Sep 18, 2001CVE-2001-0408 Vim Development Group Vim: n/a
Questions about CVE-2002-1377
Is CVE-2002-1377 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 0.47% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Vim Development Group Vim are affected by CVE-2002-1377?
vim 5.0, vim 5.1, vim 5.2, vim 5.3, vim 5.4, vim 5.5 and 5 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2002-1377?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2002-1377?
Medium (4.6, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2002-1377?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.