{"id":"CVE-2008-3916","sourceIdentifier":"cve@mitre.org","published":"2008-09-04T18:41:00.000","lastModified":"2026-06-16T22:56:48.490","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows context-dependent or user-assisted attackers to execute arbitrary code via a long filename.  NOTE: since ed itself does not typically run with special privileges, this issue only crosses privilege boundaries when ed is invoked as a third-party component."},{"lang":"es","value":"Vulnerabilidad de desbordamiento de búfer basado en montículo en  la Función strip_escapes en signal.c en GNU ed 1.0, permite a atacantes asistidos por el usuario o dependientes de contexto, ejecutar código de su elección a través de un nombre de archivo largo. NOTA: puesto que ed no se ejecuta con privilegios especiales, esta cuestión solo afecta a los privilegios de la aplicación ed cuando se encuentra añadido en una aplicación de terceros."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","baseScore":9.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":8.6,"impactScore":10.0,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-119"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:ed:0.2:*:*:*:*:*:*:*","matchCriteriaId":"BCDDC2AA-D846-4CC3-9A9A-58E9F97DB868"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:ed:0.3:*:*:*:*:*:*:*","matchCriteriaId":"D20E634A-5BAA-4B62-AA57-4C1082AA23C5"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:ed:0.4:*:*:*:*:*:*:*","matchCriteriaId":"FCCE07A7-B6F9-44E5-BDBC-D49EB4856D6B"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:ed:0.5:*:*:*:*:*:*:*","matchCriteriaId":"1825BAFA-D696-458D-A992-997AF5EAAA68"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:ed:0.6:*:*:*:*:*:*:*","matchCriteriaId":"AAED7141-9F2C-46CD-8F22-8D76271559D7"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:ed:0.7:*:*:*:*:*:*:*","matchCriteriaId":"FA2EBF50-0410-40FE-9D1E-B82D77FE100D"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:ed:0.8:*:*:*:*:*:*:*","matchCriteriaId":"DED055D1-3CC7-4A3A-84DE-4AC35D2BA16C"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:ed:0.9:*:*:*:*:*:*:*","matchCriteriaId":"7F591660-794F-4FE0-8D57-AC439D482EC7"}]}]}],"references":[{"url":"http://lists.gnu.org/archive/html/bug-ed/2008-08/msg00000.html","source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.html","source":"cve@mitre.org"},{"url":"http://lists.vmware.com/pipermail/security-announce/2010/000082.html","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/32349","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/32460","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/33005","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/38794","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/43068","source":"cve@mitre.org"},{"url":"http://security.gentoo.org/glsa/glsa-200809-15.xml","source":"cve@mitre.org"},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2008-461.htm","source":"cve@mitre.org"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:200","source":"cve@mitre.org"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0946.html","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/501298/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/30815","source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id?1020734","source":"cve@mitre.org"},{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0003.html","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2008/2642","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2008/3347","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2010/0528","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2011/0212","source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/44643","source":"cve@mitre.org"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10678","source":"cve@mitre.org"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00847.html","source":"cve@mitre.org"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00873.html","source":"cve@mitre.org"},{"url":"http://lists.gnu.org/archive/html/bug-ed/2008-08/msg00000.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.vmware.com/pipermail/security-announce/2010/000082.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/32349","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/32460","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/33005","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/38794","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/43068","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://security.gentoo.org/glsa/glsa-200809-15.xml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2008-461.htm","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:200","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0946.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/501298/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/30815","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id?1020734","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0003.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2008/2642","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2008/3347","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2010/0528","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2011/0212","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/44643","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10678","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00847.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00873.html","source":"af854a3a-2127-422b-91ae-364da2661108"}],"evaluatorComment":"http://xforce.iss.net/xforce/xfdb/44643\r\n\r\n\"GNU ed is vulnerable to a heap-based buffer overflow, caused by improper bounds checking by the strip_escapes() function. By persuading a victim to open a specially-crafted file, a remote attacker could overflow a buffer and execute arbitrary code on the system.\""}