| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, 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 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ghostscript (PTS) | bookworm, bookworm (security) | 10.0.0~dfsg-11+deb12u8 | fixed |
| trixie, trixie (security) | 10.05.1~dfsg-1+deb13u1 | fixed | |
| forky | 10.07.1~dfsg-1 | fixed | |
| sid | 10.08.0~dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ghostscript | source | experimental | 9.25~dfsg-1~exp1 | |||
| ghostscript | source | jessie | 9.06~dfsg-2+deb8u8 | DLA-1504-1 | ||
| ghostscript | source | stretch | 9.20~dfsg-3.2+deb9u5 | DSA-4294-1 | ||
| ghostscript | source | (unstable) | 9.25~dfsg-1 | 907332, 907703 |
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