CVE-2009-4270
CVE-2009-4270 is a critical-severity vulnerability in Ghostscript with a CVSS 2.0 base score of 9.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Critical (CVSS 2.0 base score 9.3)
- EPSS exploit prediction: 7% (93rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Ghostscript
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2009-4270?
- 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.
- How severe is CVE-2009-4270?
- CVE-2009-4270 has a CVSS 2.0 base score of 9.3, rated critical severity.
- Is CVE-2009-4270 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 7% (93rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2009-4270?
- CVE-2009-4270 primarily affects Ghostscript. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2009-4270?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2009-4270 published?
- CVE-2009-4270 was published on 2009-12-21 and last updated on 2026-06-16.
References
- http://bugs.ghostscript.com/show_bug.cgi?id=690829
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- http://osvdb.org/61140
- http://secunia.com/advisories/37851
- http://secunia.com/advisories/40580
- http://security.gentoo.org/glsa/glsa-201412-17.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:134
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:135
- http://www.openwall.com/lists/oss-security/2009/12/18/1
- http://www.openwall.com/lists/oss-security/2009/12/18/2
- http://www.securityfocus.com/bid/37410
- http://www.ubuntu.com/usn/USN-961-1
- http://www.vupen.com/english/advisories/2009/3597
- https://bugzilla.redhat.com/show_bug.cgi?id=540760
Affected products (2)
- cpe:2.3:a:ghostscript:ghostscript:8.64:*:*:*:*:*:*:*
- cpe:2.3:a:ghostscript:ghostscript:8.70:*:*:*:*:*:*:*
More vulnerabilities in Ghostscript
- CVE-2009-0196 — Critical (CVSS 9.3): Heap-based buffer overflow in the big2_decode_symbol_dict function (jbig2_symbol_dict.c) in the JBIG2 decoding library…
- CVE-2009-0792 — Critical (CVSS 9.3): Multiple integer overflows in icc.c in the International Color Consortium (ICC) Format library (aka icclib), as used in…
- CVE-2009-0584 — Critical (CVSS 9.3): icc.c in the International Color Consortium (ICC) Format library (aka icclib), as used in Ghostscript 8.64 and earlier…
- CVE-2009-0583 — Critical (CVSS 9.3): Multiple integer overflows in icc.c in the International Color Consortium (ICC) Format library (aka icclib), as used in…
- CVE-2007-6725 — High (CVSS 7.5): The CCITTFax decoding filter in Ghostscript 8.60, 8.61, and possibly other versions, allows remote attackers to cause a…
- CVE-2012-4405 — Medium (CVSS 6.8): Multiple integer underflows in the icmLut_allocate function in International Color Consortium (ICC) Format library…
All CVEs affecting Ghostscript →
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.