CVE-2015-3228
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 3.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.9% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 3.9% · EPSS, next 30 days
- Weakness
- CWE-189
- Record status
- Modified
Affected
- Artifex Afpl Ghostscript ≤ 9.15
Attack profile CVSS 2.0 · 6.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2015-3228.md and follow it. Check whether this project is affected by CVE-2015-3228. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
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