CVE-2008-3432 Memory corruption in n/a

Medium 6.8 Published Updated

Heap-based buffer overflow in Vim allows attackers to execute arbitrary code via shell metacharacters in filenames, requiring user interaction to open malicious files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2008-3432?

CVE-2008-3432 is a medium-severity memory corruption vulnerability in Vim Vim, published on 10 Oct 2008. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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

Weakness: CWE-119

Which versions are affected by CVE-2008-3432?

It affects 1 product.

Products include Vim Vim.

How do I fix CVE-2008-3432?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2008-3432 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-3432 exists.

Public exploit code: 1 Exploit-DB entry.

All Vim Vim vulnerabilities

Sources

Also known as GHSA-2fqm-grvm-7h89.

Is CVE-2008-3432 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free