CVE-2004-1138
Estado: ModificadaAlta (7.2)—
VIM before 6.3 and gVim before 6.3 allow local users to execute arbitrary commands via a file containing a crafted modeline that is executed when the file is viewed using options such as (1) termcap, (2) printdevice, (3) titleold, (4) filetype, (5) syntax, (6) backupext, (7) keymap, (8) patchmode, or (9) langmenu.
CVSS
- Versión: 2.0
- Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C
- Puntuación base: 7.2
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.41%
- Percentil entre todas las CVEs puntuadas: 33
- Fecha de la puntuación: 2/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
CWE
- NVD-CWE-Other
Referencias
- http://marc.info/?l=bugtraq&m=110313588125609&w=2
- http://www.gentoo.org/security/en/glsa/glsa-200412-10.xml
- http://www.redhat.com/support/errata/RHSA-2005-010.html
- http://www.redhat.com/support/errata/RHSA-2005-036.html
- https://bugzilla.fedora.us/show_bug.cgi?id=2343
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18503
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9571
- http://marc.info/?l=bugtraq&m=110313588125609&w=2
- http://www.gentoo.org/security/en/glsa/glsa-200412-10.xml
- http://www.redhat.com/support/errata/RHSA-2005-010.html
- http://www.redhat.com/support/errata/RHSA-2005-036.html
- https://bugzilla.fedora.us/show_bug.cgi?id=2343
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18503
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9571
JSON original (NVD)
Mostrar
{
"id": "CVE-2004-1138",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 7.2,
"accessVector": "LOCAL",
"vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C",
"authentication": "NONE",
"integrityImpact": "COMPLETE",
"accessComplexity": "LOW",
"availabilityImpact": "COMPLETE",
"confidentialityImpact": "COMPLETE"
},
"acInsufInfo": false,
"impactScore": 10,
"baseSeverity": "HIGH",
"obtainAllPrivilege": true,
"exploitabilityScore": 3.9,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2005-01-10T05:00:00.000",
"references": [
{
"url": "http://marc.info/?l=bugtraq&m=110313588125609&w=2",
"source": "cve@mitre.org"
},
{
"url": "http://www.gentoo.org/security/en/glsa/glsa-200412-10.xml",
"tags": [
"Patch",
"Vendor Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.redhat.com/support/errata/RHSA-2005-010.html",
"source": "cve@mitre.org"
},
{
"url": "http://www.redhat.com/support/errata/RHSA-2005-036.html",
"source": "cve@mitre.org"
},
{
"url": "https://bugzilla.fedora.us/show_bug.cgi?id=2343",
"source": "cve@mitre.org"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/18503",
"source": "cve@mitre.org"
},
{
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9571",
"source": "cve@mitre.org"
},
{
"url": "http://marc.info/?l=bugtraq&m=110313588125609&w=2",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.gentoo.org/security/en/glsa/glsa-200412-10.xml",
"tags": [
"Patch",
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.redhat.com/support/errata/RHSA-2005-010.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.redhat.com/support/errata/RHSA-2005-036.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://bugzilla.fedora.us/show_bug.cgi?id=2343",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/18503",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9571",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "NVD-CWE-Other"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "VIM before 6.3 and gVim before 6.3 allow local users to execute arbitrary commands via a file containing a crafted modeline that is executed when the file is viewed using options such as (1) termcap, (2) printdevice, (3) titleold, (4) filetype, (5) syntax, (6) backupext, (7) keymap, (8) patchmode, or (9) langmenu."
}
],
"lastModified": "2026-06-16T22:07:06.943",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:vim_development_group:vim:5.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0B6461B4-AD69-4E54-901D-CB354FE9061C"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:5.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D51F522E-E7A6-4861-BE54-C76B5D6062AB"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:5.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5B5306C4-D4FA-48FE-B72A-8ED231DF283A"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:5.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D8C559F4-82E7-4BFA-B1C2-AAD1EA790DE7"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:5.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FD83B9EE-82FF-4DA5-8577-97CE226EFEAF"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:5.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "823E99C7-7020-48B2-8F71-6FA5A1097EC0"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:5.6:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0A5B6675-BF67-434D-8D64-7BA6029A6BD4"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:5.7:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "826F3339-8674-4A84-8EAC-17C884BBF723"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:5.8:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2A7C7C4D-9E38-40A1-B003-939F46CD96CC"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:6.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D3A7789A-E0B0-45EA-B05A-A5A1BF31A24D"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:6.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D6FF1779-4A0A-4E9E-94E1-5F7C4EF0555B"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:6.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B39392CC-FC4C-404E-BD18-8284F9C013CB"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:6.3.011:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C1B0FABE-75CE-4074-91FF-0D02DD0B6F1A"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:6.3.025:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6536006A-DB7A-4A50-9CF3-30EEAB59A83F"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:6.3.030:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E7240424-79F1-41AA-AF22-C66F9F94B7E5"
},
{
"criteria": "cpe:2.3:a:vim_development_group:vim:6.3.044:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E1BA3F17-DA8F-4E4F-B654-AEBED68B43B8"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "cve@mitre.org"
}