
CVE catalog
CVE-2015-3228
ghostscript: CVE-2015-3228
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.88% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ghostscript | sid | 10.08.0~dfsg-2 | fixed |
| Debian | ghostscript | forky | 10.08.0~dfsg-2 | fixed |
| Debian | ghostscript | trixie | 10.05.1~dfsg-1+deb13u1 | fixed |
| Debian | ghostscript | trixie-security | 10.05.1~dfsg-1+deb13u3 | fixed |
| Debian | ghostscript | bookworm | 10.0.0~dfsg-11+deb12u8 | fixed |
| Debian | ghostscript | bookworm-security | 10.0.0~dfsg-11+deb12u8 | fixed |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu2 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu3 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu5 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu6 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu7 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu8 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu9 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.1 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.2 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.3 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.4 | fixed |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu2 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu3 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu5 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu6 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu7 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu8 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu9 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.1 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.2 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.3 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.4 | fixed |
| Suse | ghostscript | linux enterprise desktop 12 | 9.15-6.5 | fixed |
| Suse | ghostscript | linux enterprise desktop 12 sp1 | 9.15-6.5 | fixed |
| Suse | ghostscript | linux enterprise software development kit 12 | 9.15-6.5 | fixed |
| Suse | ghostscript | linux enterprise software development kit 12 sp1 | 9.15-6.5 | fixed |
| Suse | ghostscript | linux enterprise server 12 | 9.15-6.5 | fixed |
| Suse | ghostscript | linux enterprise server for sap applications 12 | 9.15-6.5 | fixed |
| Suse | ghostscript | linux enterprise server 12 sp1 | 9.15-6.5 | fixed |
| Suse | ghostscript | linux enterprise server for sap applications 12 sp1 | 9.15-6.5 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ghostscript | source | sid | 9.15~dfsg-1 | not yet assigned | Not reported | [793489] |
| Debian | ghostscript | source | forky | 9.15~dfsg-1 | not yet assigned | Not reported | [793489] |
| Debian | ghostscript | source | trixie | 9.15~dfsg-1 | not yet assigned | Not reported | [793489] |
| Debian | ghostscript | source | bookworm | 9.15~dfsg-1 | not yet assigned | Not reported | [793489] |
| Ubuntu | ghostscript | deb | 14.04 | 9.10~dfsg-0ubuntu10.4 | Not reported | UBUNTU-CVE-2015-3228 | Not reported |
| Ubuntu | ghostscript | deb | 14.04 | 9.10~dfsg-0ubuntu10.4 | Not reported | USN-2697-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise desktop 12 | 9.15-6.5 | Not reported | SUSE-SU-2016:0884-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise desktop 12 sp1 | 9.15-6.5 | Not reported | SUSE-SU-2016:0884-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise software development kit 12 | 9.15-6.5 | Not reported | SUSE-SU-2016:0884-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise software development kit 12 sp1 | 9.15-6.5 | Not reported | SUSE-SU-2016:0884-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise server 12 | 9.15-6.5 | Not reported | SUSE-SU-2016:0884-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise server for sap applications 12 | 9.15-6.5 | Not reported | SUSE-SU-2016:0884-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise server 12 sp1 | 9.15-6.5 | Not reported | SUSE-SU-2016:0884-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise server for sap applications 12 sp1 | 9.15-6.5 | Not reported | SUSE-SU-2016:0884-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [ghostscript]Unknown
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [ghostscript-doc]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [ghostscript-x]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs10]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs10-common]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs9-common]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs-common]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs-dev]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
[Debian 13 (Trixie)]
- [ghostscript]Unknown
Details (6)
10.05.1~dfsg-1+deb13u1· amd64 · trixieFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixieFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
- [ghostscript-doc]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
- [libgs10]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· amd64 · trixieFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixieFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
- [libgs10-common]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
- [libgs-common]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
- [libgs-dev]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· amd64 · trixieFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixieFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
9.15~dfsg-1dsa · ghostscript · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2016_0884-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2015-3228]
- [https://osv.dev/vulnerability/DLA-280-1]
- [https://osv.dev/vulnerability/DSA-3326-1]
- [https://osv.dev/vulnerability/SUSE-SU-2016:0884-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2015-3228]
- [https://osv.dev/vulnerability/USN-2697-1]
- [https://security-tracker.debian.org/tracker/CVE-2015-3228]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]