| Name | CVE-2015-3228 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-280-1, DSA-3326-1 |
| Debian Bugs | 793489 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ghostscript (PTS) | bullseye | 9.53.3~dfsg-7+deb11u7 | fixed |
| bullseye (security) | 9.53.3~dfsg-7+deb11u11 | fixed | |
| bookworm | 10.0.0~dfsg-11+deb12u7 | fixed | |
| bookworm (security) | 10.0.0~dfsg-11+deb12u8 | fixed | |
| trixie | 10.05.1~dfsg-1 | fixed | |
| trixie (security) | 10.05.1~dfsg-1+deb13u1 | fixed | |
| forky | 10.05.1~dfsg-3 | fixed | |
| sid | 10.06.0~dfsg-3 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ghostscript | source | squeeze | 8.71~dfsg2-9+squeeze2 | DLA-280-1 | ||
| ghostscript | source | wheezy | 9.05~dfsg-6.3+deb7u2 | DSA-3326-1 | ||
| ghostscript | source | jessie | 9.06~dfsg-2+deb8u1 | DSA-3326-1 | ||
| ghostscript | source | (unstable) | 9.15~dfsg-1 | 793489 |
http://bugs.ghostscript.com/show_bug.cgi?id=696070
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0c0b0859
File to reproduce segfault with ps2pdf: http://bugs.ghostscript.com/attachment.cgi?id=11776