CVE-2009-4270
Stack-based buffer overflow in the errprintf function in base/gsmisc.c in ghostscript 8.64...
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.
Exploit likelihood
What each source reports
NVD Score used
9.3
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.
- Record
CVE-2009-4270- CVSS 2.0
- 9.3 High
AV:N/AC:M/Au:N/C:C/I:C/A:C - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2009-4270- Updated
- 2026-11-02
EUVDEUVD-2009-4238 No score
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.
- Record
EUVD-2009-4238- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-m27g-4vw6-6c82 No score
Stack-based buffer overflow in the errprintf function in base/gsmisc.c in ghostscript 8.64...
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.
- Record
GHSA-m27g-4vw6-6c82- Weakness
- CWE-119
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2009-4270- Updated
- 2026-11-02
OSVDEBIAN-CVE-2009-4270 No score
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.
- Record
DEBIAN-CVE-2009-4270- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ghostscriptDebian:12 |
before 8.70~dfsg-2.1 | 8.70~dfsg-2.1 |
ghostscriptDebian:13 |
before 8.70~dfsg-2.1 | 8.70~dfsg-2.1 |
ghostscriptDebian:14 |
before 8.70~dfsg-2.1 | 8.70~dfsg-2.1 |
ghostscriptDebian:5.0 From an advisory covering 7 CVEs |
before 8.62.dfsg.1-3.2lenny4, plus listed versions 8.62.dfsg.1-3.2lenny08.62.dfsg.1-3.2lenny18.62.dfsg.1-3.2lenny2 |
8.62.dfsg.1-3.2lenny4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2009-4270 is a high vulnerability (CVSS 9.3) in Ghostscript, published December 21, 2009. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.90%, the 94th percentile. Fixed in ghostscript 8.70~dfsg-2.1.
References
security.gentoo.org/glsa/glsa-201412-17.xml
openwall.com/lists/oss-security/2009/12/18/2
mandriva.com/security/advisories?name=MDVSA-2010:134
openwall.com/lists/oss-security/2009/12/18/1
ubuntu.com/usn/USN-961-1
mandriva.com/security/advisories?name=MDVSA-2010:135
Show 11 moreShow less
vupen.com/english/advisories/2009/3597
osvdb.org/61140
secunia.com/advisories/40580
lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
bugzilla.redhat.com/show_bug.cgi?id=540760
secunia.com/advisories/37851
securityfocus.com/bid/37410
bugs.ghostscript.com/show_bug.cgi?id=690829
nvd.nist.gov/vuln/detail/CVE-2009-4270
github.com/advisories/GHSA-m27g-4vw6-6c82
security-tracker.debian.org/tracker/CVE-2009-4270