RHBA-2015:0496
The Ghostscript suite contains utilities for rendering PostScript and PDF documents. Ghostscript translates PostScript code to common, bitmap formats so that the code can be displayed or printed. This update fixes the following bugs: * Before this update, incorrect conversion from the double data type to the int data type caused an off-by-one-error when calculating the number of digits needed for the "%g" format specifier. With this update, the conversion from double to int is now correct and avoids the aforementioned error. (BZ#1096158) * Previously, if an error occurred in the ghostscript interpreter in between allocating an array and initializing its contents, garbage collection could cause it to terminate unexpectedly while attempting to deallocate memory. A patch from upstream which immediately sets the array elements to null objects after allocation fixes this bug, and the ghostscript interpreter no longer crashes in the scenario described. (BZ#1105519) Users of ghostscript are advised to upgrade to these updated packages, which fix these bugs.
Evidence and freshness
Last supporting evidence check: 2026-11-27T23:18:25.555Z UTC
Upstream Advisory
Affected Packages
ghostscript 9.07-18.el7
ghostscript-cups 9.07-18.el7
ghostscript-devel 9.07-18.el7
ghostscript-doc 9.07-18.el7
ghostscript-gtk 9.07-18.el7