{"id":"CVE-2009-4270","aliases":["DEBIAN-CVE-2009-4270","DSA-2080-1","EUVD-2009-4238","GHSA-m27g-4vw6-6c82"],"status":"published","title":"Stack-based buffer overflow in the errprintf function in base/gsmisc.c in ghostscript 8.64...","description":"Stack-based buffer overflow in the errprintf function in base/gsmisc.c in ghostscript 8.64 through 8.70 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PDF file, as originally reported for debug logging code in gdevcups.c in the CUPS output driver.","severity":{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.06903,"percentile":0.94126,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2009-12-21T16:00:00Z","modified":"2026-10-23T17:47:40Z","fixes":[{"ecosystem":"Debian:12","package":"ghostscript","fixed_in":["8.70~dfsg-2.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ghostscript","fixed_in":["8.70~dfsg-2.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ghostscript","fixed_in":["8.70~dfsg-2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.70~dfsg-2.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.70~dfsg-2.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.70~dfsg-2.1"}]}]},{"source":"osv","ecosystem":"Debian:5.0","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.62.dfsg.1-3.2lenny4"}]}],"versions":["8.62.dfsg.1-3.2lenny0","8.62.dfsg.1-3.2lenny1","8.62.dfsg.1-3.2lenny2"],"bundled":7}],"products":[{"vendor":"ghostscript","product":"ghostscript"}],"references":[{"url":"http://security.gentoo.org/glsa/glsa-201412-17.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2009/12/18/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2010:134","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2009/12/18/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.ubuntu.com/usn/USN-961-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2010:135","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2009/3597","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://osvdb.org/61140","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://secunia.com/advisories/40580","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=540760","tags":["x_refsource_CONFIRM","x_transferred","report"]},{"url":"http://secunia.com/advisories/37851","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/37410","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","evidence"]},{"url":"http://bugs.ghostscript.com/show_bug.cgi?id=690829","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-4270"},{"url":"https://github.com/advisories/GHSA-m27g-4vw6-6c82"},{"url":"https://security-tracker.debian.org/tracker/CVE-2009-4270","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2009-4270","description":"Stack-based buffer overflow in the errprintf function in base/gsmisc.c in ghostscript 8.64 through 8.70 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PDF file, as originally reported for debug logging code in gdevcups.c in the CUPS output driver.","status":"published","published":"2009-12-21T16:00:00Z","modified":"2024-08-07T06:54:10.321Z","updated_at":"2026-11-02T14:33:24.782697Z"}],"euvd":[{"id":"EUVD-2009-4238","description":"Stack-based buffer overflow in the errprintf function in base/gsmisc.c in ghostscript 8.64 through 8.70 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PDF file, as originally reported for debug logging code in gdevcups.c in the CUPS output driver.","status":"published","published":"2009-12-21T16:00:00Z","modified":"2024-08-07T06:54:10Z","updated_at":"2026-11-03T01:39:10.681785Z"}],"ghsa":[{"id":"GHSA-m27g-4vw6-6c82","title":"Stack-based buffer overflow in the errprintf function in base/gsmisc.c in ghostscript 8.64...","description":"Stack-based buffer overflow in the errprintf function in base/gsmisc.c in ghostscript 8.64 through 8.70 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PDF file, as originally reported for debug logging code in gdevcups.c in the CUPS output driver.","status":"published","published":"2022-05-02T03:53:13Z","modified":"2023-01-31T05:09:02Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:49:29.017576Z"}],"nvd":[{"id":"CVE-2009-4270","description":"Stack-based buffer overflow in the errprintf function in base/gsmisc.c in ghostscript 8.64 through 8.70 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PDF file, as originally reported for debug logging code in gdevcups.c in the CUPS output driver.","status":"published","published":"2009-12-21T16:30:00.42Z","modified":"2026-06-16T23:13:21.88Z","cvss":[{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:38.33745Z"}],"osv":[{"id":"CVE-2009-4270","description":"Stack-based buffer overflow in the errprintf function in base/gsmisc.c in ghostscript 8.64 through 8.70 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PDF file, as originally reported for debug logging code in gdevcups.c in the CUPS output driver.","status":"published","published":"2009-12-21T16:30:00Z","modified":"2026-04-10T03:41:00.481186Z","updated_at":"2026-11-02T15:43:57.714116Z"},{"id":"DEBIAN-CVE-2009-4270","description":"Stack-based buffer overflow in the errprintf function in base/gsmisc.c in ghostscript 8.64 through 8.70 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PDF file, as originally reported for debug logging code in gdevcups.c in the CUPS output driver.","status":"published","published":"2009-12-21T16:30:00.42Z","modified":"2026-10-23T17:47:40.08468062Z","updated_at":"2026-11-02T15:45:24.013654Z"},{"id":"DSA-2080-1","title":"ghostscript - several vulnerabilities","status":"published","published":"2010-08-01T00:00:00Z","modified":"2026-03-09T01:17:48.449511Z","updated_at":"2026-11-02T15:46:15.108335Z"}]}}
