Heap-based buffer overflow in the mch_expand_wildcards function in os_unix.c in Vim 6.2…
Priority MEDIUM 41CWE-119Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.0862 95th percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2008:0617 Released 2008-11-25 · Red Hat rating Moderatevim security update
- Red Hat Desktop version 3 vim-1:6.3.046-0.30E.11, vim-X11-1:6.3.046-0.30E.11, vim-X11-1:6.3.046-0.30E.11.i386 +6
- Red Hat Enterprise Linux AS version 3 vim-1:6.3.046-0.30E.11, vim-X11-1:6.3.046-0.30E.11, vim-X11-1:6.3.046-0.30E.11.i386 +14
- Red Hat Enterprise Linux AS version 4 vim-1:6.3.046-1.el4_7.5z, vim-X11-1:6.3.046-1.el4_7.5z, vim-X11-1:6.3.046-1.el4_7.5z.i386 +14
- Red Hat Enterprise Linux Desktop version 4 vim-1:6.3.046-1.el4_7.5z, vim-X11-1:6.3.046-1.el4_7.5z, vim-X11-1:6.3.046-1.el4_7.5z.i386 +6
- Red Hat Enterprise Linux ES version 3 vim-1:6.3.046-0.30E.11, vim-X11-1:6.3.046-0.30E.11, vim-X11-1:6.3.046-0.30E.11.i386 +10
- Red Hat Enterprise Linux ES version 4 vim-1:6.3.046-1.el4_7.5z, vim-X11-1:6.3.046-1.el4_7.5z, vim-X11-1:6.3.046-1.el4_7.5z.i386 +10
- Red Hat Enterprise Linux WS version 3 vim-1:6.3.046-0.30E.11, vim-X11-1:6.3.046-0.30E.11, vim-X11-1:6.3.046-0.30E.11.i386 +10
- Red Hat Enterprise Linux WS version 4 vim-1:6.3.046-1.el4_7.5z, vim-X11-1:6.3.046-1.el4_7.5z, vim-X11-1:6.3.046-1.el4_7.5z.i386 +10
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2008:0617 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2008:0617 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2008:0617 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2008:0617 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2008:0617 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2008:0617 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2008:0617 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2008:0617 |
Timeline
- 2026-10-02 Threatist record created from CVE-2008-3432
- 2026-10-03 Alias added: GHSA-2fqm-grvm-7h89
- 2026-10-14 EPSS moved to the 95th–99th percentile
References
Patch 1
Other 10
- http://www.vmware.com/security/advisories/VMSA-2009-0004.html
- [oss-security] 20080715 Re: Re: More arbitrary code executions in Netrw
- [oss-security] 20080731 Re: Re: More arbitrary code executions in Netrw
- http://support.avaya.com/elmodocs2/security/ASA-2009-001.htm
- ADV-2009-0904
- ADV-2009-0033
- oval:org.mitre.oval:def:11203
- oval:org.mitre.oval:def:5987
- ADV-2008-2780
- https://bugzilla.redhat.com/show_bug.cgi?id=455455
More Vim vulnerabilities
- TI-2022-03248 Heap-based Buffer Overflow in vim/vim CVSS 3.1CRITICAL 9.8
- TI-2024-15103 Vim before 9.0.2142 has a stack-based buffer overflow because did_set_langmap in map.c… CVSS 3.1HIGH 7.8
- TI-2023-05093 Use After Free in vim/vim CVSS 3.1HIGH 7.8
- TI-2023-04407 Heap-based Buffer Overflow in vim/vim CVSS 3.1HIGH 7.8
- TI-2023-04379 Heap-based Buffer Overflow in vim/vim CVSS 3.1HIGH 7.8
- TI-2023-04378 Use After Free in vim/vim CVSS 3.1HIGH 7.8
Sources
- CVE-2008-3432 · CVE Program
- CVE-2008-3432 · NVD
- FIRST EPSS
- GHSA-2fqm-grvm-7h89 · GitHub Advisory Database · CC BY 4.0
- CVE-2008-3432 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences