CVE-2009-4270

Summary

CVECVE-2009-4270
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2009-12-21 16:30:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionStack-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.

Risk And Classification

Primary CVSS: v2.0 9.3 from [email protected]

AV:N/AC:M/Au:N/C:C/I:C/A:C

Problem Types: CWE-119 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:M/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Ghostscript Ghostscript 8.64 All All All
Application Ghostscript Ghostscript 8.70 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
[security-announce] SUSE Security Summary Report: SUSE-SR:2010:014 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Ghostscript 'errprintf()' Function PDF Handling Remote Buffer Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Exploit
Bug 540760 – CVE-2009-4270 ghostscript buffer overflow in cups output driver af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
Gentoo Linux Documentation -- GPL Ghostscript: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
oss-security - Re: possible vulnerability in ghostscript >= 8.64 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Vendor Advisory
Support / Security / Advisories / / MDVSA-2010:135 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Ubuntu update for ghostscript - Advisories - Community af854a3a-2127-422b-91ae-364da2661108 secunia.com
oss-security - possible vulnerability in ghostscript >= 8.64 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
USN-961-1: Ghostscript vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Ghostscript "errprintf()" Buffer Overflow Vulnerability - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Bug 690829 – buffer overflow in errprintf af854a3a-2127-422b-91ae-364da2661108 bugs.ghostscript.com
Support / Security / Advisories / / MDVSA-2010:134 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
osvdb.org/61140 af854a3a-2127-422b-91ae-364da2661108 osvdb.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2009-12-22Tomas HogerNot vulnerable. This issue did not affect the versions of ghostscript as shipped with Red Hat Enterprise Linux 3, 4, or 5.
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report