Name | CVE-2018-16509 |
Description | An issue was discovered in Artifex Ghostscript before 9.24. Incorrect "restoration of privilege" checking during handling of /invalidaccess exceptions could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1504-1, DSA-4294-1 |
Debian Bugs | 907332, 907703 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ghostscript (PTS) | jessie, jessie (lts) | 9.26a~dfsg-0+deb8u12 | fixed |
| stretch (security) | 9.26a~dfsg-0+deb9u9 | fixed |
| stretch (lts), stretch | 9.26a~dfsg-0+deb9u12 | fixed |
| buster (security), buster, buster (lts) | 9.27~dfsg-2+deb10u9 | fixed |
| bullseye | 9.53.3~dfsg-7+deb11u7 | fixed |
| bullseye (security) | 9.53.3~dfsg-7+deb11u8 | fixed |
| bookworm | 10.0.0~dfsg-11+deb12u5 | fixed |
| bookworm (security) | 10.0.0~dfsg-11+deb12u6 | fixed |
| sid, trixie | 10.04.0~dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=78911a01b67d590b4a91afac2e8417360b934156
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=5516c614dc33662a2afdc377159f70218e67bde5
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=79cccf641486a6595c43f1de1cd7ade696020a31
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=520bb0ea7519aa3e79db78aaf0589dae02103764
https://bugs.ghostscript.com/show_bug.cgi?id=699654
Partially fixed in 9.22~dfsg-3, see #907703