Skip to content
Fencer Vulns
high 7.6

CVE-2007-2438 json

The sandbox for vim allows dangerous functions such as (1) writefile, (2) feedkeys, and (3) system, which might allow user-assisted attacke…

published 2007-05-02 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-2433

cvss
7.6
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.2%
EPSS 3.2% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

The sandbox for vim allows dangerous functions such as (1) writefile, (2) feedkeys, and (3) system, which might allow user-assisted attackers to execute shell commands and write files via modelines.

Patch / fix

  • vim Debian 14, Debian 13, Debian 12 1:7.1-022+1

debian advisories DEBIAN-CVE-2007-2438

  • vim RHEL 5 2:7.0.109-3.el5.3
  • vim-X11 RHEL 5 2:7.0.109-3.el5.3
  • vim-common RHEL 5 2:7.0.109-3.el5.3
  • vim-minimal RHEL 5 2:7.0.109-3.el5.3
  • vim-enhanced RHEL 5 2:7.0.109-3.el5.3

red hat advisories RHSA-2007:0346

  • vim openSUSE Tumbleweed 8.2.3408-1.2

opensuse advisories openSUSE-SU-2024:11497-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2007-2438 updated

vim-7 modeline security issue

  • Red Hat Enterprise Linux (v. 5 server) vim 7.0.109-3.el5.3, vim-X11 7.0.109-3.el5.3, vim-common 7.0.109-3.el5.3, vim-minimal 7.0.109-3.el5.3, vim-enhanced 7.0.109-3.el5.3 Red Hat Enterprise Linux Desktop (v. 5 client) vim 7.0.109-3.el5.3, vim-X11 7.0.109-3.el5.3, vim-common 7.0.109-3.el5.3, vim-minimal 7.0.109-3.el5.3, vim-enhanced 7.0.109-3.el5.3
    fixed: vendor fix RHSA-2007:0346

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.22% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • marc.info http://marc.info/?l=vim-dev&m=117778983714029&w=2 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 7.6 AV:N/AC:H/Au:N/C:C/I:C/A:C

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.