Bug 1625851 (CVE-2018-16543) - CVE-2018-16543 ghostscript: gssetresolution and gsgetresolution memory corruption (699670)
Summary: CVE-2018-16543 ghostscript: gssetresolution and gsgetresolution memory corrup...
Alias: CVE-2018-16543
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1625852 1625853 1653614
Blocks: 1619570
TreeView+ depends on / blocked
Reported: 2018-09-06 05:31 UTC by Sam Fowler
Modified: 2021-02-16 23:05 UTC (History)
4 users (show)

Fixed In Version: ghostscript 9.24
Doc Type: If docs needed, set a value
Doc Text:
It was discovered that the ghostscript gssetresolution and gsgetresolution procedures were available, although they have dangerous side effects. An attacker could possibly exploit this to bypass the -dSAFER protection and crash ghostscript or, possibly, execute arbitrary code in the ghostscript context via a specially crafted PostScript document.
Clone Of:
Last Closed: 2019-06-10 10:37:30 UTC

Attachments (Terms of Use)

Comment 1 Sam Fowler 2018-09-06 05:31:32 UTC
Created ghostscript tracking bugs for this issue:

Affects: fedora-all [bug 1625852]

Comment 10 Cedric Buissart 2019-02-12 09:22:49 UTC

CVE-2018-16543 requires the "device subclassing" feature to be present in ghostscript in order to exploit it and corrupt the interpreter's memory. This feature appeared in Ghostscript-9.18. Thus ghostscript 9.07, as shipped in Red Hat Enterprise Linux 7, and older are not affected : although the attacker has access to the gssetresolution and gsgetresolution operators, they can not use these to corrupt memory.

Note You need to log in before you can comment on or make changes to this bug.