{"api_version":"1","generated_at":"2026-04-23T09:52:16+00:00","cve":"CVE-2002-1377","urls":{"html":"https://cve.report/CVE-2002-1377","api":"https://cve.report/api/cve/CVE-2002-1377.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2002-1377","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2002-1377"},"summary":{"title":"CVE-2002-1377","description":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2002-12-23 05:00:00","updated_at":"2025-04-03 01:03:51"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.6","severity":"","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2002-297.html","name":"http://www.redhat.com/support/errata/RHSA-2002-297.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=108077992208690&w=2","name":"http://marc.info/?l=bugtraq&m=108077992208690&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"'OpenLinux: vim arbitrary commands execution through modelines' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/6384","name":"http://www.securityfocus.com/bid/6384","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"VIM ModeLines Arbitrary Command Execution Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert/55700","name":"http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert/55700","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"# 55700, Free Sun Alert Notifications","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2002-302.html","name":"http://www.redhat.com/support/errata/RHSA-2002-302.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2002-December/002948.html","name":"http://lists.grok.org.uk/pipermail/full-disclosure/2002-December/002948.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[Full-Disclosure] Mailing List Charter","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000812","name":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000812","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Home - Conectiva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/10835","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/10835","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:012","name":"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:012","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Mandrakesoft Security Advisories","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.guninski.com/vim1.html","name":"http://www.guninski.com/vim1.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"Some vim problems, yet still vim much better than windows","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2002-1377","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2002-1377","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2002","cve_id":"1377","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vim_development_group","cpe5":"vim","cpe6":"5.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1377","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vim_development_group","cpe5":"vim","cpe6":"5.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1377","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vim_development_group","cpe5":"vim","cpe6":"5.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1377","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vim_development_group","cpe5":"vim","cpe6":"5.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1377","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vim_development_group","cpe5":"vim","cpe6":"5.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1377","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vim_development_group","cpe5":"vim","cpe6":"5.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1377","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vim_development_group","cpe5":"vim","cpe6":"5.6","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1377","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vim_development_group","cpe5":"vim","cpe6":"5.7","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1377","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vim_development_group","cpe5":"vim","cpe6":"5.8","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1377","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vim_development_group","cpe5":"vim","cpe6":"6.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1377","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vim_development_group","cpe5":"vim","cpe6":"6.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-08T03:19:28.975Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"6384","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/6384"},{"name":"RHSA-2002:302","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2002-302.html"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.guninski.com/vim1.html"},{"name":"20021213 Some vim problems, yet still vim much better than windows","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"],"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2002-December/002948.html"},{"name":"RHSA-2002:297","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2002-297.html"},{"name":"55700","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred"],"url":"http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert/55700"},{"name":"CLA-2004:812","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred"],"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000812"},{"name":"MDKSA-2003:012","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"],"url":"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:012"},{"name":"20040331 OpenLinux: vim arbitrary commands execution through modelines","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=108077992208690&w=2"},{"name":"vim-modeline-command-execution(10835)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/10835"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2002-12-12T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2007-11-29T00:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"6384","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/6384"},{"name":"RHSA-2002:302","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2002-302.html"},{"tags":["x_refsource_MISC"],"url":"http://www.guninski.com/vim1.html"},{"name":"20021213 Some vim problems, yet still vim much better than windows","tags":["mailing-list","x_refsource_FULLDISC"],"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2002-December/002948.html"},{"name":"RHSA-2002:297","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2002-297.html"},{"name":"55700","tags":["vendor-advisory","x_refsource_SUNALERT"],"url":"http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert/55700"},{"name":"CLA-2004:812","tags":["vendor-advisory","x_refsource_CONECTIVA"],"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000812"},{"name":"MDKSA-2003:012","tags":["vendor-advisory","x_refsource_MANDRAKE"],"url":"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:012"},{"name":"20040331 OpenLinux: vim arbitrary commands execution through modelines","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://marc.info/?l=bugtraq&m=108077992208690&w=2"},{"name":"vim-modeline-command-execution(10835)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/10835"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2002-1377","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"6384","refsource":"BID","url":"http://www.securityfocus.com/bid/6384"},{"name":"RHSA-2002:302","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2002-302.html"},{"name":"http://www.guninski.com/vim1.html","refsource":"MISC","url":"http://www.guninski.com/vim1.html"},{"name":"20021213 Some vim problems, yet still vim much better than windows","refsource":"FULLDISC","url":"http://lists.grok.org.uk/pipermail/full-disclosure/2002-December/002948.html"},{"name":"RHSA-2002:297","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2002-297.html"},{"name":"55700","refsource":"SUNALERT","url":"http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert/55700"},{"name":"CLA-2004:812","refsource":"CONECTIVA","url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000812"},{"name":"MDKSA-2003:012","refsource":"MANDRAKE","url":"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:012"},{"name":"20040331 OpenLinux: vim arbitrary commands execution through modelines","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=108077992208690&w=2"},{"name":"vim-modeline-command-execution(10835)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/10835"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2002-1377","datePublished":"2004-09-01T04:00:00.000Z","dateReserved":"2002-12-16T00:00:00.000Z","dateUpdated":"2024-08-08T03:19:28.975Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2002-12-23 05:00:00","lastModifiedDate":"2025-04-03 01:03:51","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:vim_development_group:vim:5.0:*:*:*:*:*:*:*","matchCriteriaId":"0B6461B4-AD69-4E54-901D-CB354FE9061C"},{"vulnerable":true,"criteria":"cpe:2.3:a:vim_development_group:vim:5.1:*:*:*:*:*:*:*","matchCriteriaId":"D51F522E-E7A6-4861-BE54-C76B5D6062AB"},{"vulnerable":true,"criteria":"cpe:2.3:a:vim_development_group:vim:5.2:*:*:*:*:*:*:*","matchCriteriaId":"5B5306C4-D4FA-48FE-B72A-8ED231DF283A"},{"vulnerable":true,"criteria":"cpe:2.3:a:vim_development_group:vim:5.3:*:*:*:*:*:*:*","matchCriteriaId":"D8C559F4-82E7-4BFA-B1C2-AAD1EA790DE7"},{"vulnerable":true,"criteria":"cpe:2.3:a:vim_development_group:vim:5.4:*:*:*:*:*:*:*","matchCriteriaId":"FD83B9EE-82FF-4DA5-8577-97CE226EFEAF"},{"vulnerable":true,"criteria":"cpe:2.3:a:vim_development_group:vim:5.5:*:*:*:*:*:*:*","matchCriteriaId":"823E99C7-7020-48B2-8F71-6FA5A1097EC0"},{"vulnerable":true,"criteria":"cpe:2.3:a:vim_development_group:vim:5.6:*:*:*:*:*:*:*","matchCriteriaId":"0A5B6675-BF67-434D-8D64-7BA6029A6BD4"},{"vulnerable":true,"criteria":"cpe:2.3:a:vim_development_group:vim:5.7:*:*:*:*:*:*:*","matchCriteriaId":"826F3339-8674-4A84-8EAC-17C884BBF723"},{"vulnerable":true,"criteria":"cpe:2.3:a:vim_development_group:vim:5.8:*:*:*:*:*:*:*","matchCriteriaId":"2A7C7C4D-9E38-40A1-B003-939F46CD96CC"},{"vulnerable":true,"criteria":"cpe:2.3:a:vim_development_group:vim:6.0:*:*:*:*:*:*:*","matchCriteriaId":"D3A7789A-E0B0-45EA-B05A-A5A1BF31A24D"},{"vulnerable":true,"criteria":"cpe:2.3:a:vim_development_group:vim:6.1:*:*:*:*:*:*:*","matchCriteriaId":"D6FF1779-4A0A-4E9E-94E1-5F7C4EF0555B"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2002","CveId":"1377","Ordinal":"1","Title":"CVE-2002-1377","CVE":"CVE-2002-1377","Year":"2002"},"notes":[{"CveYear":"2002","CveId":"1377","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2002-1377"},{"CveYear":"2002","CveId":"1377","Ordinal":"2","NoteData":"2004-09-01","Type":"Other","Title":"Published"},{"CveYear":"2002","CveId":"1377","Ordinal":"3","NoteData":"2007-11-28","Type":"Other","Title":"Modified"}]}}}