CVE-2009-4897: Buffer Overflow

Published Jul 12, 2010
·
Updated

A memory corruption vulnerability caused by long names was discovered [1] in Ghostscript 8.64 and earlier. A specially crafted PDF file could result in the execution of arbitrary code if opened or printed (i.e. via CUPS).

This was corrected in upstream Ghostscript 8.70 [2], version 8.64 and previous are affected by this flaw (all the way back to Ghostscript 7.05).

References:

[1] http://bugs.ghostscript.com/showbug.cgi?id=690523 [2] http://svn.ghostscript.com/viewvc?view=rev&revision=9797

Other sources

Buffer overflow in gs/psi/iscan.c in Ghostscript 8.64 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted PDF document containing a long name.

MITRE

Affected Software

31 affected components
Artifex Gpl Ghostscript=8.01
Artifex Afpl Ghostscript=7.00
Artifex Afpl Ghostscript=8.54
Artifex Gpl Ghostscript=8.54
Artifex Gpl Ghostscript=8.15
Artifex Afpl Ghostscript=7.04
Artifex Afpl Ghostscript=7.03
Artifex Afpl Ghostscript=8.13
Artifex Afpl Ghostscript=8.50
Artifex Gpl Ghostscript=8.56
Artifex Gpl Ghostscript=8.62
Artifex Afpl Ghostscript=8.52
Artifex Gpl Ghostscript=8.57
Artifex Gpl Ghostscript<=8.64
Artifex Afpl Ghostscript=8.14
Artifex Gpl Ghostscript=8.51
Artifex Afpl Ghostscript=8.00
Artifex Gpl Ghostscript=8.61
Artifex Afpl Ghostscript=8.53
Artifex Afpl Ghostscript=6.0
Artifex Gpl Ghostscript=8.50
Artifex Afpl Ghostscript=6.01
Artifex Gpl Ghostscript=8.71
Artifex Gpl Ghostscript=8.70
Artifex Gpl Ghostscript=8.60
Artifex Afpl Ghostscript=8.12
Artifex Afpl Ghostscript=8.11
Artifex Gpl Ghostscript=8.63
Artifex Afpl Ghostscript=8.51
Artifex Ghostscript Fonts=8.11
Artifex Afpl Ghostscript=6.50

Remediation

Event History

Jul 12, 2010
Data Sourced
08:26 PM
DescriptionSeverityAffected Software
Jul 22, 2010
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2009-4897?

CVE-2009-4897 has been classified as a critical memory corruption vulnerability.

2

How do I fix CVE-2009-4897?

To fix CVE-2009-4897, upgrade Ghostscript to version 8.70 or later.

3

What are the affected versions for CVE-2009-4897?

CVE-2009-4897 affects Ghostscript versions 8.64 and earlier.

4

What type of attack does CVE-2009-4897 enable?

CVE-2009-4897 allows for the execution of arbitrary code when a specially crafted PDF is opened or printed.

5

Which software is vulnerable to CVE-2009-4897?

Ghostscript, including various versions such as 8.01, 7.00, and 8.54, is vulnerable to CVE-2009-4897.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203