Input validation error in Ghostscript - CVE-2015-3228

 

Input validation error in Ghostscript - CVE-2015-3228

Published: August 11, 2015 / Updated: August 4, 2020


Vulnerability identifier: #VU33785
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-3228
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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.


Affected software

Ghostscript
Gentoo Linux
ghostscript (Alpine package)

How to mitigate CVE-2015-3228

Install update from vendor's website.

Ghostscript - update to 9.16
ghostscript (Alpine package) - addressed in versions 9.10-r1, 9.10-r2

External References

Related Security Bulletins