{"schemaVersion":4,"id":"CVE-2004-1138","aliases":["RHSA-2005:010","DEBIAN-CVE-2004-1138"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2004-12-22T05:00:00.000Z","modified":"2024-08-08T00:39:00.870Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0041,"percentile":0.37298,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.0041},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0041,"percentile":0.37298}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0041,"percentile":0.37298}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"debian","product":"vim","name":"vim","label":"vim","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/vim","purlType":"deb","versions":[{"text":"< 1:6.3-046+0sarge1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:6.3-046+0sarge1","endInclusive":false}}],"versionsText":"< 1:6.3-046+0sarge1","eol":null,"hubHref":null},{"vendor":"redhat","product":"vim","name":"vim","label":"vim","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/vim","purlType":"rpm","versions":[{"text":"< 1:6.3.046-0.30E.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:6.3.046-0.30E.1","endInclusive":false}}],"versionsText":"< 1:6.3.046-0.30E.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"vim-common","name":"vim-common","label":"vim-common","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/vim-common","purlType":"rpm","versions":[{"text":"< 1:6.3.046-0.30E.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:6.3.046-0.30E.1","endInclusive":false}}],"versionsText":"< 1:6.3.046-0.30E.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"vim-debuginfo","name":"vim-debuginfo","label":"vim-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/vim-debuginfo","purlType":"rpm","versions":[{"text":"< 1:6.3.046-0.30E.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:6.3.046-0.30E.1","endInclusive":false}}],"versionsText":"< 1:6.3.046-0.30E.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"vim-enhanced","name":"vim-enhanced","label":"vim-enhanced","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/vim-enhanced","purlType":"rpm","versions":[{"text":"< 1:6.3.046-0.30E.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:6.3.046-0.30E.1","endInclusive":false}}],"versionsText":"< 1:6.3.046-0.30E.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"vim-minimal","name":"vim-minimal","label":"vim-minimal","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/vim-minimal","purlType":"rpm","versions":[{"text":"< 1:6.3.046-0.30E.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:6.3.046-0.30E.1","endInclusive":false}}],"versionsText":"< 1:6.3.046-0.30E.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"vim-X11","name":"vim-X11","label":"vim-X11","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/vim-X11","purlType":"rpm","versions":[{"text":"< 1:6.3.046-0.30E.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:6.3.046-0.30E.1","endInclusive":false}}],"versionsText":"< 1:6.3.046-0.30E.1","eol":null,"hubHref":null},{"vendor":"vim_development_group","product":"vim","name":"vim","label":"vim","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"5.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"5.0"}},{"text":"5.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"5.1"}},{"text":"5.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"5.2"}},{"text":"5.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"5.3"}},{"text":"5.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"5.4"}},{"text":"5.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"5.5"}},{"text":"5.6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"5.6"}},{"text":"5.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"5.7"}},{"text":"5.8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"5.8"}},{"text":"6.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"6.0"}},{"text":"6.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"6.1"}},{"text":"6.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"6.2"}},{"text":"6.3.011","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"6.3.011"}},{"text":"6.3.025","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"6.3.025"}},{"text":"6.3.030","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"6.3.030"}},{"text":"6.3.044","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"6.3.044"}}],"versionsText":"5.0 | 5.1 | 5.2 | 5.3 | 5.4 | 5.5 | 5.6 | 5.7 | 5.8 | 6.0 | 6.1 | 6.2 | 6.3.011 | 6.3.025 | 6.3.030 | 6.3.044","eol":null,"hubHref":"/vendor/vim_development_group/vim"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://marc.info/?l=bugtraq&m=110313588125609&w=2","label":"marc.info?l=bugtraq&m=110313588125609&w=2","hostname":"marc.info","tags":["Vendor Advisory","X Refsource OPENPKG"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200412-10.xml","label":"www.gentoo.org/security/en/glsa/glsa-200412-10.xml","hostname":"www.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Patch"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18503","label":"exchange.xforce.ibmcloud.com/vulnerabilities/18503","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF"]},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=2343","label":"bugzilla.fedora.us/show_bug.cgi?id=2343","hostname":"bugzilla.fedora.us","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-036.html","label":"www.redhat.com/support/errata/RHSA-2005-036.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-010.html","label":"www.redhat.com/support/errata/RHSA-2005-010.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9571","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9571","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL"]},{"url":"https://access.redhat.com/errata/RHSA-2005:010","label":"access.redhat.com/errata/RHSA-2005:010","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=142444","label":"bugzilla.redhat.com/show_bug.cgi?id=142444","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_010.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_010.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-1138","label":"access.redhat.com/security/cve/CVE-2004-1138","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617374","label":"bugzilla.redhat.com/show_bug.cgi?id=1617374","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-1138","label":"www.cve.org/CVERecord?id=CVE-2004-1138","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1138","label":"nvd.nist.gov/vuln/detail/CVE-2004-1138","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-1138","label":"security-tracker.debian.org/tracker/CVE-2004-1138","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2005:036"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2004-12-22T05:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-08T00:39:00.870Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.2, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,72],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.0041,"stale":false,"promoted":null},{"type":"cvss","source":"nvd","date":"2024-08-08T00:39:00.870Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","version":"2.0","headline":true}],"epss":{"value":0.0041,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T07:02:00.704Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T07:02:01.187Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T07:02:01.389Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T07:01:05.155Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T07:01:59.185Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T07:01:58.234Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T07:39:46.333Z","stale":false,"partial":false}}