CVE-2015-3228: Integer Overflow

Published Jun 17, 2015
·
Updated

Integer overflow in the gsheapallocbytes 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.

Other sources

Out-of-bounbds read and write has been reported in GhostScript package while processing a crafted .ps file.

Upstream bug: http://bugs.ghostscript.com/showbug.cgi?id=696041 Upstream commit that fixes this (as per reporter): http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=ecc7a199e9307475c37fea0c44d24b85df814ead

Acknowledgements:

Red Hat would like to thank William Robinet of Conostix S.A. for reporting this issue.

Red Hat

Affected Software

2 affected componentsFixes available
redhat/GhostScript<9.10
9.10
Artifex Afpl Ghostscript<=9.15

Event History

Jun 17, 2015
Data Sourced
via Red Hat·02:06 PM
DescriptionSeverityAffected Software
Aug 11, 2015
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2015-3228?

CVE-2015-3228 has been rated as critical due to its potential to cause denial of service through integer overflow.

2

How do I fix CVE-2015-3228?

To fix CVE-2015-3228, upgrade Ghostscript to version 9.16 or later.

3

What versions of Ghostscript are affected by CVE-2015-3228?

Ghostscript versions 9.15 and earlier are affected by CVE-2015-3228.

4

Can CVE-2015-3228 be exploited remotely?

Yes, CVE-2015-3228 can be exploited remotely via a specially crafted Postscript file.

5

What type of attack is associated with CVE-2015-3228?

CVE-2015-3228 is associated with denial of service attacks due to an integer overflow exploit.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203