{"id":"CVE-2008-3432","aliases":["EUVD-2008-3418","GHSA-2fqm-grvm-7h89","RHSA-2008:0617"],"status":"published","title":"Heap-based buffer overflow in the mch_expand_wildcards function in os_unix.c in Vim 6.2 and 6.3...","description":"Heap-based buffer overflow in the mch_expand_wildcards function in os_unix.c in Vim 6.2 and 6.3 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filenames, as demonstrated by the netrw.v3 test case.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0862,"percentile":0.95131,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-119"],"published":"2008-10-10T10:00:00Z","modified":"2026-06-26T10:09:38Z","exploits":[{"source":"exploitdb","id":"EDB-32225","title":"Vim - 'mch_expand_wildcards()' Heap Buffer Overflow","type":"remote","platform":"linux","date":"2005-01-29","verified":true,"url":"https://www.exploit-db.com/exploits/32225"}],"affected":[{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"vim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"vim-X11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"vim-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"vim-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"vim-enhanced","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"vim-minimal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"vim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"vim-X11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"vim-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"vim-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"vim-enhanced","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"vim-minimal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"vim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"vim-X11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"vim-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"vim-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"vim-enhanced","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"vim-minimal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"vim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"vim-X11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"vim-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"vim-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"vim-enhanced","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"vim-minimal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-0.30E.11"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"vim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"vim-X11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"vim-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"vim-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"vim-enhanced","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"vim-minimal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"vim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"vim-X11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"vim-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"vim-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"vim-enhanced","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"vim-minimal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"vim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"vim-X11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"vim-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"vim-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"vim-enhanced","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"vim-minimal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"vim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"vim-X11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"vim-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"vim-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"vim-enhanced","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"vim-minimal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.3.046-1.el4_7.5z"}]}],"bundled":4}],"products":[{"vendor":"vim","product":"vim"}],"references":[{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0004.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2008/07/15/4","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.securityfocus.com/bid/31681","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch"]},{"url":"http://secunia.com/advisories/32858","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/33410","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2008/08/01/1","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"ftp://ftp.vim.org/pub/vim/patches/6.2.429","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2009-001.htm","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2009/0904","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2009/0033","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11203","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5987","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/502322/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/32222","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/44722","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.securityfocus.com/bid/30648","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/2780","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"ftp://ftp.vim.org/pub/vim/patches/6.3/6.3.059","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=455455","tags":["x_refsource_CONFIRM","x_transferred","report"]},{"url":"http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","Patch","Vendor Advisory"]},{"url":"http://support.apple.com/kb/HT3216","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0617.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-3432","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2fqm-grvm-7h89"},{"url":"https://access.redhat.com/errata/RHSA-2008:0617","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=248542","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=451759","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=461927","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2008/rhsa-2008_0617.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-2953","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-2953","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-2953","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-2712","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-2712","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-2712","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-3432","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-3432","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-4101","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-4101","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-4101","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2008-3432","description":"Heap-based buffer overflow in the mch_expand_wildcards function in os_unix.c in Vim 6.2 and 6.3 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filenames, as demonstrated by the netrw.v3 test case.","status":"published","published":"2008-10-10T10:00:00Z","modified":"2024-08-07T09:37:26.969Z","updated_at":"2026-11-02T14:34:45.877751Z"}],"euvd":[{"id":"EUVD-2008-3418","description":"Heap-based buffer overflow in the mch_expand_wildcards function in os_unix.c in Vim 6.2 and 6.3 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filenames, as demonstrated by the netrw.v3 test case.","status":"published","published":"2008-10-10T10:00:00Z","modified":"2024-08-07T09:37:26Z","updated_at":"2026-11-03T01:38:52.249298Z"}],"ghsa":[{"id":"GHSA-2fqm-grvm-7h89","title":"Heap-based buffer overflow in the mch_expand_wildcards function in os_unix.c in Vim 6.2 and 6.3...","description":"Heap-based buffer overflow in the mch_expand_wildcards function in os_unix.c in Vim 6.2 and 6.3 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filenames, as demonstrated by the netrw.v3 test case.","status":"published","published":"2022-05-03T03:19:19Z","modified":"2023-02-01T05:01:25Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:49:43.293288Z"}],"nvd":[{"id":"CVE-2008-3432","description":"Heap-based buffer overflow in the mch_expand_wildcards function in os_unix.c in Vim 6.2 and 6.3 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filenames, as demonstrated by the netrw.v3 test case.","status":"published","published":"2008-10-10T10:30:03.043Z","modified":"2026-06-16T22:55:49.143Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:29.223028Z"}],"osv":[{"id":"RHSA-2008:0617","title":"Red Hat Security Advisory: vim security update","status":"published","published":"2024-09-15T17:27:34Z","modified":"2026-06-26T10:09:38Z","updated_at":"2026-11-02T15:52:59.70892Z"}]}}
