Skip to content
OpenAdvisories
Low · 3.9 CVE-2021-45949 EUVD-2021-32656GHSA-r647-qm87-j9pc

Ghostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish (called from sampled_data_continue and int…

Published Dec 31, 2021 · Updated Oct 8, 2026 · Assigned by mitre

Description

Ghostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish (called from sampled_data_continue and interp).

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ghostscript 9.55.0~dfsg-1 —
Debian 13 ghostscript 9.55.0~dfsg-1 —
Debian 12 ghostscript 9.55.0~dfsg-1 —
Debian 11 ghostscript 9.53.3~dfsg-7+deb11u2 DSA-5038-1
Debian 10 ghostscript 9.27~dfsg-2+deb10u5 DSA-5038-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 9 ghostscript 9.26a~dfsg-0+deb9u8 DLA-2879-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ghostscript 9.50~dfsg-5ubuntu4.5 USN-5224-1
Ubuntu 18.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.18.04.15 USN-5224-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm1 USN-5224-2
ReleasePackageFixed inAdvisory
SLES 15 SP3 ghostscript 9.52-161.1 SUSE-SU-2022:0088-1
SLES 15 SP2 ghostscript 9.52-161.1 SUSE-SU-2022:0088-3
SLES 15 SP1 ghostscript 9.52-161.1 SUSE-SU-2022:0088-3
SLES 12 SP5 ghostscript 9.52-23.48.1 SUSE-SU-2022:0081-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP2 ghostscript 9.52-161.1 SUSE-SU-2022:0088-3
SLES for SAP 15 SP1 ghostscript 9.52-161.1 SUSE-SU-2022:0088-3
SLES for SAP 12 SP5 ghostscript 9.52-23.48.1 SUSE-SU-2022:0081-1
SLE Real Time 15 SP2 ghostscript 9.52-161.1 SUSE-SU-2022:0088-2
SLE HPC 15 SP2 ghostscript 9.52-161.1 SUSE-SU-2022:0088-3
SLE HPC 15 SP1 ghostscript 9.52-161.1 SUSE-SU-2022:0088-3
SUSE Package Hub 12 SP1 htmldoc 1.8.28-9.1 openSUSE-SU-2022:0088-1
SUSE Enterprise Storage 7 ghostscript 9.52-161.1 SUSE-SU-2022:0088-3
SUSE Enterprise Storage 6 ghostscript 9.52-161.1 SUSE-SU-2022:0088-3
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ghostscript 9.54.0-3.1 openSUSE-SU-2024:11744-1
openSUSE Leap 15.3 ghostscript 9.52-161.1 openSUSE-SU-2022:0088-1

Advisories 11

References