Skip to content
Fencer Intel
medium 6.8

CVE-2015-3228 json

Integer overflow in the gs_heap_alloc_bytes function in base/gsmalloc.c in Ghostscript 9.15 and earlier allows remote attackers to cause a…

published 2015-08-11 11 y ago modified 2026-06-17 4 mo ago also EUVD-2015-3284

cvss
6.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.9%
EPSS 3.9% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

Integer overflow in the gs_heap_alloc_bytes function in base/gsmalloc.c in Ghostscript 9.15 and earlier allows remote attackers to cause a denial of service (crash) via a crafted Postscript (ps) file, as demonstrated by using the ps2pdf command, which triggers an out-of-bounds read or write.

Patch / fix

  • ghostscript Debian 14, Debian 13, Debian 12 9.15~dfsg-1

debian advisories DEBIAN-CVE-2015-3228

  • ghostscript Ubuntu 14.04 LTS 9.10~dfsg-0ubuntu10.4

ubuntu advisories UBUNTU-CVE-2015-3228

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ghostscript-library SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +7 more 8.62-32.38.1
  • ghostscript SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +5 more 9.15-6.5

suse advisories SUSE-SU-2016:2493-1SUSE-SU-2016:0884-1

  • ghostscript openSUSE Tumbleweed 9.20-2.1

opensuse advisories openSUSE-SU-2024:10003-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-3228 updated cvss 4.0

ghostscript-core: out-of-bounbds read and write in gs_ttf.ps

  • Red Hat Enterprise Linux 5 ghostscript Red Hat Enterprise Linux 6 ghostscript, ghostscript-gtk Red Hat Enterprise Linux 7 libgs, ghostscript, ghostscript-gtk, ghostscript-cups
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Enterprise 2 ghostscript
    affected: no fix available

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.88% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.