Integer overflow in the gs_heap_alloc_bytes function in base/gsmalloc.c in Ghostscript…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-189 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Enterprise 2 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2015-3228
- 2026-10-03 Alias added: GHSA-jf9j-9gh2-gp45
- 2026-10-13 EPSS moved to the 90th–95th percentile
References
Advisory 3
Other 6
- http://bugs.ghostscript.com/show_bug.cgi?id=696070
- https://bugzilla.redhat.com/show_bug.cgi?id=1232805
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=0c0b0859
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- http://bugs.ghostscript.com/show_bug.cgi?id=696041
- [oss-security] 20150723 CVE-2015-3228 - Ghostscript - Integer overflow
More Artifex Afpl Ghostscript vulnerabilities
- TI-2009-04653 Buffer overflow in gs/psi/iscan.c in Ghostscript 8.64 and earlier allows remote attackers… CVSS 2.0HIGH 9.3
- TI-2009-03564 Off-by-one error in the Ins_MINDEX function in the TrueType bytecode interpreter in… CVSS 2.0HIGH 9.3
- TI-2017-04059 Multiple use-after-free vulnerabilities in the gx_image_enum_begin function in… CVSS 3.0HIGH 7.8
- TI-2010-01970 Ghostscript 8.71 and earlier reads initialization files from the current working… CVSS 2.0HIGH 7.2
- TI-2013-04820 The getenv and filenameforall functions in Ghostscript 9.10 ignore the "-dSAFER"… CVSS 3.0MEDIUM 5.5
- TI-2010-03842 The gs_type2_interpret function in Ghostscript allows remote attackers to cause a denial… CVSS 2.0MEDIUM 4.3
Sources
- CVE-2015-3228 · CVE Program
- CVE-2015-3228 · NVD
- FIRST EPSS
- GHSA-jf9j-9gh2-gp45 · GitHub Advisory Database · CC BY 4.0
- CVE-2015-3228 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences