Red Hat Customer Portal

Skip to main content


Public Date:
451759: CVE-2008-2712 vim: command execution via scripts not sanitizing inputs to execute and system

The MITRE CVE dictionary describes this issue as:

Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properly sanitize inputs before invoking the execute or system functions, as demonstrated using (1) filetype.vim, (3) xpm.vim, (4) gzip_vim, and (5) netrw. NOTE: the originally reported version was 7.1.314, but the researcher actually found this set of issues in 7.1.298. NOTE: the zipplugin issue (originally vector 2 in this identifier) has been subsumed by CVE-2008-3075.

Find out more about CVE-2008-2712 from the MITRE CVE dictionary dictionary and NIST NVD.

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux 4 (vim) RHSA-2008:0617 2008-11-25
Red Hat Enterprise Linux 5 (vim) RHSA-2008:0580 2008-11-25
Red Hat Enterprise Linux 2.1 (vim) RHSA-2008:0618 2008-11-25
Red Hat Enterprise Linux 3 (vim) RHSA-2008:0617 2008-11-25

Last Modified