CVE-2009-4897

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…

published July 22, 2010

CVSS
—
EPSS
7%
Percentile
93.8
In the wild
Unconfirmed
What it is

⚠️ A long name in a crafted PDF could bring Ghostscript to its knees! This buffer overflow vulnerability can lead to unexpected code execution or even a denial of service. 🔥 Think of Ghostscript as a restaurant, and the PDF document as an order going through the kitchen. If the order comes in with an unusually long and complicated name, it might disrupt the workflow and cause chaos in the kitchen — potentially leading to a disastrous meal! An attacker could exploit this by sending a specially crafted PDF, causing Ghostscript to execute arbitrary code or crash entirely. This means your application could be compromised or rendered unusable just from opening the wrong document — an absolute nightmare for any user!

Put simply

Think of Ghostscript as a restaurant, and the PDF document as an order going through the kitchen. If the order comes in with an unusually long and complicated name, it might disrupt the workflow and cause chaos in the kitchen — potentially leading to a disastrous meal! This vulnerability exists in Ghostscript versions 8.64 and earlier, where a buffer overflow in iscan.c allows attackers to trigger memory corruption via long names in PDF files, leading to unintended code execution.

What to do

An attacker could exploit this by sending a specially crafted PDF, causing Ghostscript to execute arbitrary code or crash entirely. This means your application could be compromised or rendered unusable just from opening the wrong document — an absolute nightmare for any user! To tackle this vulnerability, update Ghostscript to a version later than 8.64 immediately. Regularly scan your PDF handling processes for any potential risks and ensure all user inputs are validated before processing. 🛡️ You’ve got this! Stay proactive and your Ghostscript will be safer in no time! 🚀

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.06629 · 93.8th percentile
Published
2010-07-22T01:00Z
EPSS history
Timeline
  • 22 JUL 01:00Z
    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…
    cvelistv5