| Name | CVE-2016-7979 | 
| Description | Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently execute arbitrary code by leveraging type confusion in .initialize_dsc_parser. | 
| 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-674-1, DSA-3691-1 | 
| Debian Bugs | 839846 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| ghostscript (PTS) | bullseye | 9.53.3~dfsg-7+deb11u7 | fixed | 
 | bullseye (security) | 9.53.3~dfsg-7+deb11u11 | fixed | 
 | bookworm | 10.0.0~dfsg-11+deb12u7 | fixed | 
 | bookworm (security) | 10.0.0~dfsg-11+deb12u8 | fixed | 
 | trixie | 10.05.1~dfsg-1 | fixed | 
 | trixie (security) | 10.05.1~dfsg-1+deb13u1 | fixed | 
 | forky | 10.05.1~dfsg-3 | fixed | 
 | sid | 10.06.0~dfsg-3 | fixed | 
The information below is based on the following data on fixed versions.
Notes
Upstream bug: http://bugs.ghostscript.com/show_bug.cgi?id=697190
Reproducer: http://bugs.ghostscript.com/show_bug.cgi?id=697190#c0
Patch: https://git.ghostscript.com/?p=ghostpdl.git;h=875a0095f37626a721c7ff57d606a0f95af03913
https://www.openwall.com/lists/oss-security/2016/10/05/7
https://www.openwall.com/lists/oss-security/2016/10/05/19