Every CVE Search/ Get API key

CVE-2015-3228

Integer overflow in the gs_heap_alloc_bytes function in base/gsmalloc.c in Ghostscript 9.15 and...

6.8 MediumFix available

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.

Exploit likelihood

3.88%Up 1.9 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

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.

Record
CVE-2015-3228
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-189
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2015-3228
Updated
2026-11-02
EUVDEUVD-2015-3284 No score

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.

Record
EUVD-2015-3284
Updated
2026-11-03
GitHub AdvisoriesGHSA-jf9j-9gh2-gp45 No score

Integer overflow in the gs_heap_alloc_bytes function in base/gsmalloc.c in Ghostscript 9.15 and...

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.

Record
GHSA-jf9j-9gh2-gp45
Updated
2026-11-02
OSVBELL-CVE-2015-3228 6.8

CVE-2015-3228 does not affect BellSoft software

Record
BELL-CVE-2015-3228
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Updated
2026-11-02
OSV No score

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.

Record
CVE-2015-3228
Updated
2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2015-3228 No score

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.

Record
DEBIAN-CVE-2015-3228
Updated
2026-11-02
OSVMGASA-2015-0308 No score

Updated ghostscript package fixes security vulnerability

GhostScript is vulnerable to an integer overflow when processing a crafted PostScript file using the ps2pdf command (CVE-2015-3228).

Record
MGASA-2015-0308
Updated
2026-11-02
OSVopenSUSE-SU-2024:10003-1 No score

ghostscript-9.20-2.1 on GA media

These are all security issues fixed in the ghostscript-9.20-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10003-1
Updated
2026-11-02
OSVSUSE-SU-2016:0884-1 No score

Security update for ghostscript

ghostscript was updated to fix one security issue and one bug.

The following vulnerability was fixed:

  • CVE-2015-3228: Specially crafted ps files could have caused an out of bound read/write due to an integer overflow, causing a segfault in the application or having unspecified further impact.

Also a non security bug was fixed:

  • fix a crash in mutex handling (bsc#963017)
Record
SUSE-SU-2016:0884-1
Updated
2026-11-02
OSVSUSE-SU-2016:2493-1 No score

Security update for ghostscript-library

This update for ghostscript-library fixes the following issues:

  • Multiple security vulnerabilities have been discovered where ghostscript's '-dsafer' flag did not provide sufficient protection against unintended access to the file system. Thus, a machine that would process a specially crafted Postscript file would potentially leak sensitive information to an attacker. (CVE-2013-5653, CVE-2016-7977, bsc#1001951)

  • Insufficient validation of the type of input in .initialize_dsc_parser used to allow remote code execution. (CVE-2016-7979, bsc#1001951)

  • An integer overflow in the gs_heap_alloc_bytes function used to allow remote attackers to cause a denial of service (crash) via specially crafted Postscript files. (CVE-2015-3228, boo#939342)

Record
SUSE-SU-2016:2493-1
Updated
2026-11-02
OSVUBUNTU-CVE-2015-3228 No score

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.

Record
UBUNTU-CVE-2015-3228
Updated
2026-11-02
OSVUSN-2697-1 No score

ghostscript vulnerability

William Robinet and Stefan Cornelius discovered that Ghostscript did not correctly handle certain Postscript files. If a user or automated system were tricked into opening a specially crafted file, an attacker could cause a denial of service or possibly execute arbitrary code.

Record
USN-2697-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ghostscript
Debian:12
before 9.15~dfsg-1
9.15~dfsg-1
ghostscript
Debian:13
before 9.15~dfsg-1
9.15~dfsg-1
ghostscript
Debian:14
before 9.15~dfsg-1
9.15~dfsg-1
ghostscript
Debian:6.0
before 8.71~dfsg2-9+squeeze2, plus listed versions
8.71~dfsg2-98.71~dfsg2-9+squeeze1
8.71~dfsg2-9+squeeze2
ghostscript
Debian:7
before 9.05~dfsg-6.3+deb7u2, plus listed versions
9.05~dfsg-6.39.05~dfsg-6.3+deb7u1
9.05~dfsg-6.3+deb7u2
ghostscript
Debian:8
before 9.06~dfsg-2+deb8u1, plus listed versions
9.06~dfsg-2
9.06~dfsg-2+deb8u1
ghostscript
Mageia:4
before 9.10-2.1.mga4
9.10-2.1.mga4
ghostscript
Mageia:5
before 9.14-3.1.mga5
9.14-3.1.mga5
ghostscript
SUSE:Linux Enterprise Desktop 12
before 9.15-6.5
9.15-6.5
ghostscript
SUSE:Linux Enterprise Desktop 12 SP1
before 9.15-6.5
9.15-6.5
Show 18 moreShow less
Affected packages
PackageAffectedFixed
ghostscript
SUSE:Linux Enterprise Software Development Kit 12
before 9.15-6.5
9.15-6.5
ghostscript
SUSE:Linux Enterprise Software Development Kit 12 SP1
before 9.15-6.5
9.15-6.5
ghostscript
SUSE:Linux Enterprise Server 12
before 9.15-6.5
9.15-6.5
ghostscript
SUSE:Linux Enterprise Server for SAP Applications 12
before 9.15-6.5
9.15-6.5
ghostscript
SUSE:Linux Enterprise Server 12 SP1
before 9.15-6.5
9.15-6.5
ghostscript
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 9.15-6.5
9.15-6.5
ghostscript-library
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 4 CVEs
before 8.62-32.38.1
8.62-32.38.1
ghostscript-library
SUSE:OpenStack Cloud 5
From an advisory covering 4 CVEs
before 8.62-32.38.1
8.62-32.38.1
ghostscript-library
SUSE:Manager 2.1
From an advisory covering 4 CVEs
before 8.62-32.38.1
8.62-32.38.1
ghostscript-library
SUSE:Manager Proxy 2.1
From an advisory covering 4 CVEs
before 8.62-32.38.1
8.62-32.38.1
ghostscript-library
SUSE:Linux Enterprise Point of Sale 11 SP3
From an advisory covering 4 CVEs
before 8.62-32.38.1
8.62-32.38.1
ghostscript-library
SUSE:Linux Enterprise Server 11 SP2-LTSS
From an advisory covering 4 CVEs
before 8.62-32.38.1
8.62-32.38.1
ghostscript-library
SUSE:Linux Enterprise Server 11 SP3-LTSS
From an advisory covering 4 CVEs
before 8.62-32.38.1
8.62-32.38.1
ghostscript-library
SUSE:Linux Enterprise Server 11 SP3-TERADATA
From an advisory covering 4 CVEs
before 8.62-32.38.1
8.62-32.38.1
ghostscript-library
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 4 CVEs
before 8.62-32.38.1
8.62-32.38.1
ghostscript-library
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 4 CVEs
before 8.62-32.38.1
8.62-32.38.1
ghostscript
Ubuntu:14.04:LTS
before 9.10~dfsg-0ubuntu10.4, plus listed versions
9.10~dfsg-0ubuntu29.10~dfsg-0ubuntu39.10~dfsg-0ubuntu49.10~dfsg-0ubuntu59.10~dfsg-0ubuntu6
Show 7 moreShow less
9.10~dfsg-0ubuntu79.10~dfsg-0ubuntu89.10~dfsg-0ubuntu99.10~dfsg-0ubuntu109.10~dfsg-0ubuntu10.19.10~dfsg-0ubuntu10.29.10~dfsg-0ubuntu10.3
9.10~dfsg-0ubuntu10.4
ghostscript
openSUSE:Tumbleweed
From an advisory covering 7 CVEs
before 9.20-2.1
9.20-2.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2015-3228 is a medium vulnerability (CVSS 6.8) in Artifex Afpl Ghostscript, published July 24, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.88%, the 90th percentile. Fixed in ghostscript 9.15~dfsg-1.

References

Show 28 moreShow less
MoveEnter Open