CVE-2007-2953 Code injection in n/a

Medium 6.8 Published Updated

A format string vulnerability in Vim allows attackers to execute arbitrary code if a user opens a malicious help file.

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-2007-2953?

CVE-2007-2953 is a medium-severity code injection vulnerability in n/a, published on 31 Jul 2007. 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

Format string vulnerability in the helptags_one function in src/ex_cmds.c in Vim 6.4 and earlier, and 7.x up to 7.1, allows user-assisted remote attackers to execute arbitrary code via format string specifiers in a help-tags tag in a help file, related to the helptags command.

Which versions are affected by CVE-2007-2953?

It affects 1 product.

Products include Vim Development Group Vim.

How do I fix CVE-2007-2953?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2007-2953 being exploited?

There is no known exploitation of CVE-2007-2953 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2007-2953, GHSA-ggw5-mghh-pg96.

Is CVE-2007-2953 in your software?

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

Check your SBOMs for free