vim — security advisory
Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properly sanitize inputs before invoking the execute or system functions, as demonstrated using (1) filetype.vim, (3) xpm.vim, (4) gzip_vim, and (5) netrw. NOTE: the originally reported version was 7.1.314, but the researcher actually found this set of issues in 7.1.298. NOTE: the zipplugin issue (originally vector 2 in this identifier) has been subsumed by CVE-2008-3075.
- Products
- vim
- Affected versions
- Not specified
- Fixed versions
- 1:7.1.314-3
- CVEs
- CVE-2008-2712
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 22:58 UTC · Revision 1
Source evidence
Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properly sanitize inputs before invoking the execute or system functions, as demonstrated using (1) filetype.vim, (3) xpm.vim, (4) gzip_vim, and (5) netrw. NOTE: the originally reported version was 7.1.314, but the researcher actually found this set of issues in 7.1.298. NOTE: the zipplugin issue (originally vector 2 in this identifier) has been subsumed by CVE-2008-3075.
osv:DEBIAN-CVE-2008-2712
vim
Fixed versions: 1:7.1.314-3
vim
Fixed versions: 1:7.1.314-3
vim
Fixed versions: 1:7.1.314-3
Complete source record
{
"id": "2c547986c70d3a3eac28e8fdf560273a07c77655275aee4312734d14879b643d",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2008-2712",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2008-2712",
"summary": "Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properly sanitize inputs before invoking the execute or system functions, as demonstrated using (1) filetype.vim, (3) xpm.vim, (4) gzip_vim, and (5) netrw. NOTE: the originally reported version was 7.1.314, but the researcher actually found this set of issues in 7.1.298. NOTE: the zipplugin issue (originally vector 2 in this identifier) has been subsumed by CVE-2008-3075.",
"evidence": "osv:DEBIAN-CVE-2008-2712",
"products": [
{
"name": {
"value": "vim",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:7.1.314-3",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:7.1.314-3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:7.1.314-3",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2008-2712",
"aliases": [
"DEBIAN-CVE-2008-2712"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:7.1.314-3"
}
]
}
],
"package": {
"name": "vim",
"purl": "pkg:deb/debian/vim?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2008-2712.json"
},
"ecosystem_specific": {
"urgency": "low"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:7.1.314-3"
}
]
}
],
"package": {
"name": "vim",
"purl": "pkg:deb/debian/vim?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2008-2712.json"
},
"ecosystem_specific": {
"urgency": "low"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:7.1.314-3"
}
]
}
],
"package": {
"name": "vim",
"purl": "pkg:deb/debian/vim?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2008-2712.json"
},
"ecosystem_specific": {
"urgency": "low"
}
}
],
"modified": "2026-10-23T17:47:30.915200954Z",
"provider": "osv",
"upstream": [
"CVE-2008-2712"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2008-2712"
]
},
"related_cves": [
{
"value": "CVE-2008-2712",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 417355,
"published_at": "2008-06-16T21:41:00+00:00"
}