{"api_version":"1","generated_at":"2026-04-22T17:45:33+00:00","cve":"CVE-2015-3228","urls":{"html":"https://cve.report/CVE-2015-3228","api":"https://cve.report/api/cve/CVE-2015-3228.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-3228","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-3228"},"summary":{"title":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2015-08-11 14:59:00","updated_at":"2023-11-07 02:25:00"},"problem_types":["CWE-189"],"metrics":[],"references":[{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=0c0b0859","name":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=0c0b0859","refsource":"","tags":[],"title":"git.ghostscript.com Git - ghostpdl.git/commitdiff","mime":"text/xml","httpstatus":"404","archivestatus":"200"},{"url":"http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0c0b0859","name":"http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0c0b0859","refsource":"CONFIRM","tags":[],"title":"git.ghostscript.com Git - ghostpdl.git/commitdiff","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"http://bugs.ghostscript.com/show_bug.cgi?id=696070","name":"http://bugs.ghostscript.com/show_bug.cgi?id=696070","refsource":"CONFIRM","tags":[],"title":"Bug 696070 – Potential security issue (malloc smaller than requested)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/76017","name":"76017","refsource":"BID","tags":[],"title":"Ghostscript 'gs/base/gsmalloc.c' Integer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.securitytracker.com/id/1033149","name":"1033149","refsource":"SECTRACK","tags":[],"title":"Ghostscript gs_heap_alloc_bytes() Integer Overflow Lets Remote Users Cause the Target Service to Crash - SecurityTracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1232805","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1232805","refsource":"CONFIRM","tags":[],"title":"Bug 1232805 – CVE-2015-3228 ghostscript-core: out-of-bounbds read and write in gs_ttf.ps","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://openwall.com/lists/oss-security/2015/07/23/14","name":"[oss-security] 20150723 CVE-2015-3228 - Ghostscript - Integer overflow","refsource":"MLIST","tags":[],"title":"oss-security - CVE-2015-3228 - Ghostscript - Integer overflow","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201612-33","name":"GLSA-201612-33","refsource":"GENTOO","tags":[],"title":"GPL Ghostscript: User-assisted execution of arbitrary code (GLSA 201612-33) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://bugs.ghostscript.com/show_bug.cgi?id=696041","name":"http://bugs.ghostscript.com/show_bug.cgi?id=696041","refsource":"CONFIRM","tags":[],"title":"Bug 696041 – Crash file for the ps2pdf command (gs)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2015/dsa-3326","name":"DSA-3326","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-3326-1 ghostscript","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/USN-2697-1","name":"USN-2697-1","refsource":"UBUNTU","tags":[],"title":"USN-2697-1: Ghostscript vulnerability | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html","name":"http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html","refsource":"CONFIRM","tags":[],"title":"Oracle Solaris Bulletin - July 2016","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-3228","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3228","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2015","cve_id":"3228","vulnerable":"1","versionEndIncluding":"9.15","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"artifex","cpe5":"afpl_ghostscript","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2015-3228","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"DSA-3326","refsource":"DEBIAN","url":"http://www.debian.org/security/2015/dsa-3326"},{"name":"http://bugs.ghostscript.com/show_bug.cgi?id=696070","refsource":"CONFIRM","url":"http://bugs.ghostscript.com/show_bug.cgi?id=696070"},{"name":"1033149","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1033149"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1232805","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1232805"},{"name":"http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0c0b0859","refsource":"CONFIRM","url":"http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0c0b0859"},{"name":"http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html"},{"name":"http://bugs.ghostscript.com/show_bug.cgi?id=696041","refsource":"CONFIRM","url":"http://bugs.ghostscript.com/show_bug.cgi?id=696041"},{"name":"GLSA-201612-33","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201612-33"},{"name":"76017","refsource":"BID","url":"http://www.securityfocus.com/bid/76017"},{"name":"USN-2697-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-2697-1"},{"name":"[oss-security] 20150723 CVE-2015-3228 - Ghostscript - Integer overflow","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2015/07/23/14"}]}},"nvd":{"publishedDate":"2015-08-11 14:59:00","lastModifiedDate":"2023-11-07 02:25:00","problem_types":["CWE-189"],"metrics":{"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:artifex:afpl_ghostscript:*:*:*:*:*:*:*:*","versionEndIncluding":"9.15","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2015","CveId":"3228","Ordinal":"80181","Title":"CVE-2015-3228","CVE":"CVE-2015-3228","Year":"2015"},"notes":[{"CveYear":"2015","CveId":"3228","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2015","CveId":"3228","Ordinal":"2","NoteData":"2015-08-11","Type":"Other","Title":"Published"},{"CveYear":"2015","CveId":"3228","Ordinal":"3","NoteData":"2017-09-20","Type":"Other","Title":"Modified"}]}}}