| Name | CVE-2024-46953 |
| Description | An issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0. An integer overflow when parsing the filename format string (for the output filename) results in path truncation, and possible path traversal and code execution. |
| 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-3965-1, DSA-5808-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ghostscript (PTS) | bullseye | 9.53.3~dfsg-7+deb11u7 | vulnerable |
| 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.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ghostscript | source | bullseye | 9.53.3~dfsg-7+deb11u9 | DLA-3965-1 | ||
| ghostscript | source | bookworm | 10.0.0~dfsg-11+deb12u6 | DSA-5808-1 | ||
| ghostscript | source | (unstable) | 10.04.0~dfsg-1 |
https://bugs.ghostscript.com/show_bug.cgi?id=707793
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=1f21a45df0fa3abec4cff12951022b192dda3c00
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=294a3755e33f453dd92e2a7c4cfceb087ac09d6a (ghostpdl-10.04.0)