CVEfocus › CVE database › CVE-2024-46954

CVE-2024-46954

CVSS 8.4 HighEPSS 0.6% (higher than 42% of CVEs)Published 2024-11-10Updated 2024-11-12Assigner: mitre

An issue was discovered in decode_utf8 in base/gp_utf8.c in Artifex Ghostscript before 10.04.0. Overlong UTF-8 encoding leads to possible ../ directory traversal.

CWE-22

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

50Fixed
7Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04ghostscriptFixed10.02.1~dfsg1-0ubuntu7.4UBUNTU-CVE-2024-46954
Ubuntu 22.04ghostscriptNot affected
vulnerable_code_not_present
Debian 14ghostscriptFixed10.04.0~dfsg-1DEBIAN-CVE-2024-46954
Debian 13ghostscriptFixed10.04.0~dfsg-1DEBIAN-CVE-2024-46954
Red Hat Enterprise Linux 10ghostscriptFixed0:10.02.1-15.el10_0RHSA-2025:7499
Red Hat Enterprise Linux 10ghostscript-docFixed0:10.02.1-15.el10_0RHSA-2025:7499
Red Hat Enterprise Linux 10ghostscript-tools-dvipdfFixed0:10.02.1-15.el10_0RHSA-2025:7499
Red Hat Enterprise Linux 10ghostscript-tools-fontsFixed0:10.02.1-15.el10_0RHSA-2025:7499
Red Hat Enterprise Linux 10ghostscript-tools-printingFixed0:10.02.1-15.el10_0RHSA-2025:7499
Red Hat Enterprise Linux 10libgsFixed0:10.02.1-15.el10_0RHSA-2025:7499
Red Hat Enterprise Linux 10libgs-develFixed0:10.02.1-15.el10_0RHSA-2025:7499
Red Hat Enterprise Linux 9ghostscriptFixed0:9.54.0-18.el9_6RHSA-2025:7422
Red Hat Enterprise Linux 9ghostscript-docFixed0:9.54.0-18.el9_6RHSA-2025:7422
Red Hat Enterprise Linux 9ghostscript-tools-dvipdfFixed0:9.54.0-18.el9_6RHSA-2025:7422
Red Hat Enterprise Linux 9ghostscript-tools-fontsFixed0:9.54.0-18.el9_6RHSA-2025:7422
Red Hat Enterprise Linux 9ghostscript-tools-printingFixed0:9.54.0-18.el9_6RHSA-2025:7422
Red Hat Enterprise Linux 9ghostscript-x11Fixed0:9.54.0-18.el9_6RHSA-2025:7422
Red Hat Enterprise Linux 9libgsFixed0:9.54.0-18.el9_6RHSA-2025:7422
Red Hat Enterprise Linux 9libgs-develFixed0:9.54.0-18.el9_6RHSA-2025:7422
Red Hat Enterprise Linux 8ghostscriptFixed
Will not fix
0:9.27-16.el8_10RHSA-2025:4362
Red Hat Enterprise Linux 8ghostscript-docFixed
Will not fix
0:9.27-16.el8_10RHSA-2025:4362
Red Hat Enterprise Linux 8ghostscript-tools-dvipdfFixed
Will not fix
0:9.27-16.el8_10RHSA-2025:4362
Red Hat Enterprise Linux 8ghostscript-tools-fontsFixed
Will not fix
0:9.27-16.el8_10RHSA-2025:4362
Red Hat Enterprise Linux 8ghostscript-tools-printingFixed
Will not fix
0:9.27-16.el8_10RHSA-2025:4362
Red Hat Enterprise Linux 8ghostscript-x11Fixed
Will not fix
0:9.27-16.el8_10RHSA-2025:4362
Red Hat Enterprise Linux 8libgsFixed
Will not fix
0:9.27-16.el8_10RHSA-2025:4362
Red Hat Enterprise Linux 8libgs-develFixed
Will not fix
0:9.27-16.el8_10RHSA-2025:4362
Red Hat Enterprise Linux 7ghostscriptWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-cupsWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-docWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-gtkWill not fix
Out of support scope
Red Hat Enterprise Linux 7libgsWill not fix
Out of support scope
Red Hat Enterprise Linux 7libgs-develWill not fix
Out of support scope
AlmaLinux 9ghostscriptFixed9.54.0-18.el9_6ALSA-2025:7422
AlmaLinux 9ghostscript-docFixed9.54.0-18.el9_6ALSA-2025:7422
AlmaLinux 9ghostscript-tools-dvipdfFixed9.54.0-18.el9_6ALSA-2025:7422
AlmaLinux 9ghostscript-tools-fontsFixed9.54.0-18.el9_6ALSA-2025:7422
AlmaLinux 9ghostscript-tools-printingFixed9.54.0-18.el9_6ALSA-2025:7422
AlmaLinux 9ghostscript-x11Fixed9.54.0-18.el9_6ALSA-2025:7422
AlmaLinux 9libgsFixed9.54.0-18.el9_6ALSA-2025:7422
AlmaLinux 9libgs-develFixed9.54.0-18.el9_6ALSA-2025:7422
AlmaLinux 8ghostscriptFixed9.27-16.el8_10ALSA-2025:4362
AlmaLinux 8ghostscript-docFixed9.27-16.el8_10ALSA-2025:4362
AlmaLinux 8ghostscript-tools-dvipdfFixed9.27-16.el8_10ALSA-2025:4362
AlmaLinux 8ghostscript-tools-fontsFixed9.27-16.el8_10ALSA-2025:4362
AlmaLinux 8ghostscript-tools-printingFixed9.27-16.el8_10ALSA-2025:4362
AlmaLinux 8ghostscript-x11Fixed9.27-16.el8_10ALSA-2025:4362
AlmaLinux 8libgsFixed9.27-16.el8_10ALSA-2025:4362
AlmaLinux 8libgs-develFixed9.27-16.el8_10ALSA-2025:4362
Rocky Linux 8ghostscriptFixed0:9.27-16.el8_10RLSA-2025:4362
Alpine Linux 3.24ghostscriptFixed10.04.0-r0ALPINE-CVE-2024-46954
Alpine Linux 3.23ghostscriptFixed10.04.0-r0ALPINE-CVE-2024-46954
Alpine Linux 3.22ghostscriptFixed10.04.0-r0ALPINE-CVE-2024-46954
Alpine Linux 3.21ghostscriptFixed10.04.0-r0ALPINE-CVE-2024-46954
Alpine Linux 3.20ghostscriptFixed10.04.0-r0ALPINE-CVE-2024-46954
Alpine Linux 3.19ghostscriptFixed10.04.0-r0ALPINE-CVE-2024-46954
Alpine Linux 3.18ghostscriptFixed10.04.0-r0ALPINE-CVE-2024-46954

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.