CVE-2015-3228
Status: ModifiedMedium (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.
CVSS
- Version: 2.0
- Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P
- Base score: 6.8
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 3.88%
- Percentile among all scored CVEs: 90
- Score date: 10/5/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (1)
CWEs
- CWE-189
References
- http://bugs.ghostscript.com/show_bug.cgi?id=696041
- http://bugs.ghostscript.com/show_bug.cgi?id=696070
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=0c0b0859
- http://openwall.com/lists/oss-security/2015/07/23/14
- http://www.debian.org/security/2015/dsa-3326
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- http://www.securityfocus.com/bid/76017
- http://www.securitytracker.com/id/1033149
- http://www.ubuntu.com/usn/USN-2697-1
- https://bugzilla.redhat.com/show_bug.cgi?id=1232805
- https://security.gentoo.org/glsa/201612-33
- http://bugs.ghostscript.com/show_bug.cgi?id=696041
- http://bugs.ghostscript.com/show_bug.cgi?id=696070
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=0c0b0859
- http://openwall.com/lists/oss-security/2015/07/23/14
- http://www.debian.org/security/2015/dsa-3326
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- http://www.securityfocus.com/bid/76017
- http://www.securitytracker.com/id/1033149
- http://www.ubuntu.com/usn/USN-2697-1
- https://bugzilla.redhat.com/show_bug.cgi?id=1232805
- https://security.gentoo.org/glsa/201612-33
Raw JSON (NVD)
Show
{
"id": "CVE-2015-3228",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 6.8,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "MEDIUM",
"availabilityImpact": "PARTIAL",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 6.4,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8.6,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": true
}
]
},
"affected": [
{
"source": "secalert@redhat.com",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2015-08-11T14:59:02.867",
"references": [
{
"url": "http://bugs.ghostscript.com/show_bug.cgi?id=696041",
"source": "secalert@redhat.com"
},
{
"url": "http://bugs.ghostscript.com/show_bug.cgi?id=696070",
"source": "secalert@redhat.com"
},
{
"url": "http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=0c0b0859",
"source": "secalert@redhat.com"
},
{
"url": "http://openwall.com/lists/oss-security/2015/07/23/14",
"source": "secalert@redhat.com"
},
{
"url": "http://www.debian.org/security/2015/dsa-3326",
"source": "secalert@redhat.com"
},
{
"url": "http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html",
"source": "secalert@redhat.com"
},
{
"url": "http://www.securityfocus.com/bid/76017",
"source": "secalert@redhat.com"
},
{
"url": "http://www.securitytracker.com/id/1033149",
"source": "secalert@redhat.com"
},
{
"url": "http://www.ubuntu.com/usn/USN-2697-1",
"source": "secalert@redhat.com"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1232805",
"source": "secalert@redhat.com"
},
{
"url": "https://security.gentoo.org/glsa/201612-33",
"source": "secalert@redhat.com"
},
{
"url": "http://bugs.ghostscript.com/show_bug.cgi?id=696041",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://bugs.ghostscript.com/show_bug.cgi?id=696070",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=0c0b0859",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://openwall.com/lists/oss-security/2015/07/23/14",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.debian.org/security/2015/dsa-3326",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/76017",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securitytracker.com/id/1033149",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.ubuntu.com/usn/USN-2697-1",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1232805",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://security.gentoo.org/glsa/201612-33",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-189"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Desbordamiento de entero en la función gs_heap_alloc_bytes en base/gsmalloc.c en Ghostscript 9.15 y versiones anteriores, permite a atacantes remotos provocar una denegación de servicio (caída) mediante un archivo Postscript (ps) manipulado, según lo demostrado mediante el uso del comando ps2pdf, lo que desencadena una lectura o escritura fuera de rango."
}
],
"lastModified": "2026-06-17T00:25:34.817",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:artifex:afpl_ghostscript:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C3B5578B-FF44-4948-8B6B-72BB398B6D15",
"versionEndIncluding": "9.15"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "secalert@redhat.com"
}