CVE-2023-52722
An issue was discovered in Artifex Ghostscript through 10.01.0. psi/zmisc1.c, when SAFER mode is...
An issue was discovered in Artifex Ghostscript before 10.03.1. psi/zmisc1.c, when SAFER mode is used, allows eexec seeds other than the Type 1 standard.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.5
An issue was discovered in Artifex Ghostscript before 10.03.1. psi/zmisc1.c, when SAFER mode is used, allows eexec seeds other than the Type 1 standard.
- Record
CVE-2023-52722- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
EUVDEUVD-2023-57346
5.5
An issue was discovered in Artifex Ghostscript before 10.03.1. psi/zmisc1.c, when SAFER mode is used, allows eexec seeds other than the Type 1 standard.
- Record
EUVD-2023-57346- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5473-w6gq-5r5g
5.5
An issue was discovered in Artifex Ghostscript through 10.01.0. psi/zmisc1.c, when SAFER mode is...
An issue was discovered in Artifex Ghostscript through 10.01.0. psi/zmisc1.c, when SAFER mode is used, allows eexec seeds other than the Type 1 standard.
- Record
GHSA-5473-w6gq-5r5g- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
NVD
5.5
An issue was discovered in Artifex Ghostscript before 10.03.1. psi/zmisc1.c, when SAFER mode is used, allows eexec seeds other than the Type 1 standard.
- Record
CVE-2023-52722- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVALPINE-CVE-2023-52722
5.5
An issue was discovered in Artifex Ghostscript before 10.03.1. psi/zmisc1.c, when SAFER mode is used, allows eexec seeds other than the Type 1 standard.
- Record
ALPINE-CVE-2023-52722- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-03
OSVBELL-CVE-2023-52722
5.5
- Record
BELL-CVE-2023-52722- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Show 13 moreShow less
OSV
5.5
An issue was discovered in Artifex Ghostscript before 10.03.1. psi/zmisc1.c, when SAFER mode is used, allows eexec seeds other than the Type 1 standard.
- Record
CVE-2023-52722- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-52722
5.5
An issue was discovered in Artifex Ghostscript before 10.03.1. psi/zmisc1.c, when SAFER mode is used, allows eexec seeds other than the Type 1 standard.
- Record
DEBIAN-CVE-2023-52722- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVOESA-2024-2176
5.5
ghostscript security update
Ghostscript is an interpreter for PostScript™ and Portable Document Format (PDF) files. Ghostscript consists of a PostScript interpreter layer, and a graphics library.
Security Fix(es):
An issue was discovered in Artifex Ghostscript before 10.03.1. psi/zmisc1.c, when SAFER mode is used, allows eexec seeds other than the Type 1 standard.(CVE-2023-52722)
An issue was discovered in Artifex Ghostscript before 10.03.1. Path traversal and command execution can occur (via a crafted PostScript document) because of path reduction in base/gpmisc.c. For example, restrictions on use of %pipe% can be bypassed via the aa/../%pipe%command# output filename.(CVE-2024-33869)
An issue was discovered in Artifex Ghostscript before 10.03.1. There is path traversal (via a crafted PostScript document) to arbitrary files if the current directory is in the permitted paths. For example, there can be a transformation of ../../foo to ./../../foo and this will grant access if ./ is permitted.(CVE-2024-33870)
- Record
OESA-2024-2176- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVOESA-2024-2178
5.5
ghostscript security update
Ghostscript is an interpreter for PostScript™ and Portable Document Format (PDF) files. Ghostscript consists of a PostScript interpreter layer, and a graphics library.
Security Fix(es):
An issue was discovered in Artifex Ghostscript before 10.03.1. psi/zmisc1.c, when SAFER mode is used, allows eexec seeds other than the Type 1 standard.(CVE-2023-52722)
An issue was discovered in Artifex Ghostscript before 10.03.1. Path traversal and command execution can occur (via a crafted PostScript document) because of path reduction in base/gpmisc.c. For example, restrictions on use of %pipe% can be bypassed via the aa/../%pipe%command# output filename.(CVE-2024-33869)
An issue was discovered in Artifex Ghostscript before 10.03.1. There is path traversal (via a crafted PostScript document) to arbitrary files if the current directory is in the permitted paths. For example, there can be a transformation of ../../foo to ./../../foo and this will grant access if ./ is permitted.(CVE-2024-33870)
- Record
OESA-2024-2178- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-52722
5.5
An issue was discovered in Artifex Ghostscript before 10.03.1. psi/zmisc1.c, when SAFER mode is used, allows eexec seeds other than the Type 1 standard.
- Record
UBUNTU-CVE-2023-52722- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVCLSA-2026-1786720807 No score
ghostscript: Fix of CVE-2023-52722
- CVE-2023-52722: reject non-standard eexec seeds in SAFER mode (psi/zmisc1.c)
- Record
CLSA-2026-1786720807- Updated
- 2026-11-02
OSVCLSA-2026-1788335582 No score
ghostscript: Fix of CVE-2023-52722
- CVE-2023-52722: reject non-standard eexec seeds in SAFER mode (psi/zmisc1.c)
- Record
CLSA-2026-1788335582- Updated
- 2026-11-02
OSVMGASA-2024-0180 No score
Updated ghostscript packages fix security vulnerability
An issue was discovered in Artifex Ghostscript through 10.01.0. psi/zmisc1.c, when SAFER mode is used, allows eexec seeds other than the Type 1 standard. (CVE-2023-52722)
- Record
MGASA-2024-0180- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14090-1 No score
ghostscript-10.03.1-1.1 on GA media
These are all security issues fixed in the ghostscript-10.03.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14090-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:1568-1 No score
Security update for ghostscript
This update for ghostscript fixes the following issues:
- CVE-2023-52722: Do not allow eexec seeds other than the Type 1 standard while using SAFER mode (bsc#1223852).
- Record
SUSE-SU-2024:1568-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:1590-1 No score
Security update for ghostscript
This update for ghostscript fixes the following issues:
- CVE-2023-52722: Do not allow eexec seeds other than the Type 1 standard while using SAFER mode (bsc#1223852).
- Record
SUSE-SU-2024:1590-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:1590-2 No score
Security update for ghostscript
This update for ghostscript fixes the following issues:
- CVE-2023-52722: Do not allow eexec seeds other than the Type 1 standard while using SAFER mode (bsc#1223852).
- Record
SUSE-SU-2024:1590-2- Updated
- 2026-11-02
OSVUSN-6835-1 No score
ghostscript vulnerabilities
It was discovered that Ghostscript did not properly restrict eexec seeds to those specified by the Type 1 Font Format standard when SAFER mode is used. An attacker could use this issue to bypass SAFER restrictions and cause unspecified impact. (CVE-2023-52722) This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 23.10.
Thomas Rinsma discovered that Ghostscript did not prevent changes to uniprint device argument strings after SAFER is activated, resulting in a format-string vulnerability. An attacker could possibly use this to execute arbitrary code. (CVE-2024-29510)
Zdenek Hutyra discovered that Ghostscript did not properly perform path reduction when validating paths. An attacker could use this to access file locations outside of those allowed by SAFER policy and possibly execute arbitrary code. (CVE-2024-33869)
Zdenek Hutyra discovered that Ghostscript did not properly check arguments when reducing paths. An attacker could use this to access file locations outside of those allowed by SAFER policy. (CVE-2024-33870)
Zdenek Hutyra discovered that the "Driver" parameter for Ghostscript's "opvp"/"oprp" device allowed specifying the name of an arbitrary dynamic library to load. An attacker could use this to execute arbitrary code. (CVE-2024-33871)
- Record
USN-6835-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ghostscriptAlpine:v3.18 |
before 10.04.0-r0 | 10.04.0-r0 |
ghostscriptAlpine:v3.19 |
before 10.03.1-r0 | 10.03.1-r0 |
ghostscriptAlpine:v3.20 |
before 10.03.1-r0 | 10.03.1-r0 |
ghostscriptAlpine:v3.21 |
before 10.03.1-r0 | 10.03.1-r0 |
ghostscriptAlpine:v3.22 |
before 10.03.1-r0 | 10.03.1-r0 |
ghostscriptAlpine:v3.23 |
before 10.03.1-r0 | 10.03.1-r0 |
ghostscriptAlpine:v3.24 |
before 10.03.1-r0 | 10.03.1-r0 |
ghostscriptAlpaquita:23 |
10.0.0-r0 up to 10.01.2-r2 | 10.01.2-r2 |
ghostscriptAlpaquita:stream |
10.0.0-r0 up to 10.03.1-r0 | 10.03.1-r0 |
ghostscriptTuxCare:AlmaLinux:9.6 |
before 9.54.0-19.el9_6.tuxcare.els5 | 9.54.0-19.el9_6.tuxcare.els5 |
Show 38 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ghostscript-docTuxCare:AlmaLinux:9.6 |
before 9.54.0-19.el9_6.tuxcare.els5 | 9.54.0-19.el9_6.tuxcare.els5 |
ghostscript-gtkTuxCare:AlmaLinux:9.6 |
before 9.54.0-19.el9_6.tuxcare.els5 | 9.54.0-19.el9_6.tuxcare.els5 |
ghostscript-tools-dvipdfTuxCare:AlmaLinux:9.6 |
before 9.54.0-19.el9_6.tuxcare.els5 | 9.54.0-19.el9_6.tuxcare.els5 |
ghostscript-tools-fontsTuxCare:AlmaLinux:9.6 |
before 9.54.0-19.el9_6.tuxcare.els5 | 9.54.0-19.el9_6.tuxcare.els5 |
ghostscript-tools-printingTuxCare:AlmaLinux:9.6 |
before 9.54.0-19.el9_6.tuxcare.els5 | 9.54.0-19.el9_6.tuxcare.els5 |
ghostscript-x11TuxCare:AlmaLinux:9.6 |
before 9.54.0-19.el9_6.tuxcare.els5 | 9.54.0-19.el9_6.tuxcare.els5 |
libgsTuxCare:AlmaLinux:9.6 |
before 9.54.0-19.el9_6.tuxcare.els5 | 9.54.0-19.el9_6.tuxcare.els5 |
libgs-develTuxCare:AlmaLinux:9.6 |
before 9.54.0-19.el9_6.tuxcare.els5 | 9.54.0-19.el9_6.tuxcare.els5 |
ghostscriptTuxCare:AlmaLinux:9.2 |
before 9.54.0-11.el9_2.tuxcare.els14 | 9.54.0-11.el9_2.tuxcare.els14 |
ghostscript-docTuxCare:AlmaLinux:9.2 |
before 9.54.0-11.el9_2.tuxcare.els14 | 9.54.0-11.el9_2.tuxcare.els14 |
ghostscript-gtkTuxCare:AlmaLinux:9.2 |
before 9.54.0-11.el9_2.tuxcare.els14 | 9.54.0-11.el9_2.tuxcare.els14 |
ghostscript-tools-dvipdfTuxCare:AlmaLinux:9.2 |
before 9.54.0-11.el9_2.tuxcare.els14 | 9.54.0-11.el9_2.tuxcare.els14 |
ghostscript-tools-fontsTuxCare:AlmaLinux:9.2 |
before 9.54.0-11.el9_2.tuxcare.els14 | 9.54.0-11.el9_2.tuxcare.els14 |
ghostscript-tools-printingTuxCare:AlmaLinux:9.2 |
before 9.54.0-11.el9_2.tuxcare.els14 | 9.54.0-11.el9_2.tuxcare.els14 |
ghostscript-x11TuxCare:AlmaLinux:9.2 |
before 9.54.0-11.el9_2.tuxcare.els14 | 9.54.0-11.el9_2.tuxcare.els14 |
libgsTuxCare:AlmaLinux:9.2 |
before 9.54.0-11.el9_2.tuxcare.els14 | 9.54.0-11.el9_2.tuxcare.els14 |
libgs-develTuxCare:AlmaLinux:9.2 |
before 9.54.0-11.el9_2.tuxcare.els14 | 9.54.0-11.el9_2.tuxcare.els14 |
ghostscriptDebian:12 |
before 10.0.0~dfsg-11+deb12u4, plus listed versions 10.0.0~dfsg-1110.0.0~dfsg-11+deb12u110.0.0~dfsg-11+deb12u210.0.0~dfsg-11+deb12u3 |
10.0.0~dfsg-11+deb12u4 |
ghostscriptDebian:13 |
before 10.02.0~dfsg-1 | 10.02.0~dfsg-1 |
ghostscriptDebian:14 |
before 10.02.0~dfsg-1 | 10.02.0~dfsg-1 |
ghostscriptDebian:11 From an advisory covering 5 CVEs |
before 9.53.3~dfsg-7+deb11u7, plus listed versions 9.53.3~dfsg-79.53.3~dfsg-7+deb11u19.53.3~dfsg-7+deb11u29.53.3~dfsg-7+deb11u39.53.3~dfsg-7+deb11u49.53.3~dfsg-7+deb11u59.53.3~dfsg-7+deb11u6 |
9.53.3~dfsg-7+deb11u7 |
ghostscriptDebian:12 From an advisory covering 5 CVEs |
before 10.0.0~dfsg-11+deb12u4, plus listed versions 10.0.0~dfsg-1110.0.0~dfsg-11+deb12u110.0.0~dfsg-11+deb12u210.0.0~dfsg-11+deb12u3 |
10.0.0~dfsg-11+deb12u4 |
ghostscriptMageia:9 |
before 10.00.0-6.5.mga9 | 10.00.0-6.5.mga9 |
ghostscriptopenEuler:22.03-LTS-SP3 From an advisory covering 3 CVEs |
before 9.55.0-11.oe2203sp3 | 9.55.0-11.oe2203sp3 |
ghostscriptopenEuler:22.03-LTS-SP1 From an advisory covering 3 CVEs |
before 9.55.0-10.oe2203sp1 | 9.55.0-10.oe2203sp1 |
ghostscriptSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 9.52-23.74.1 | 9.52-23.74.1 |
ghostscriptSUSE:Linux Enterprise Server 12 SP5 |
before 9.52-23.74.1 | 9.52-23.74.1 |
ghostscriptSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 9.52-23.74.1 | 9.52-23.74.1 |
ghostscriptSUSE:Linux Enterprise Module for Basesystem 15 SP5 |
before 9.52-150000.188.1 | 9.52-150000.188.1 |
ghostscriptopenSUSE:Leap 15.5 |
before 9.52-150000.188.1 | 9.52-150000.188.1 |
ghostscriptSUSE:Linux Enterprise Module for Basesystem 15 SP6 |
before 9.52-150000.188.1 | 9.52-150000.188.1 |
ghostscriptopenSUSE:Leap 15.6 |
before 9.52-150000.188.1 | 9.52-150000.188.1 |
ghostscriptUbuntu:20.04:LTS |
before 9.50~dfsg-5ubuntu4.12, plus listed versions 9.27~dfsg+0-0ubuntu39.27~dfsg+0-0ubuntu49.50~dfsg-5ubuntu19.50~dfsg-5ubuntu29.50~dfsg-5ubuntu3 Show 12 moreShow less9.50~dfsg-5ubuntu49.50~dfsg-5ubuntu4.19.50~dfsg-5ubuntu4.29.50~dfsg-5ubuntu4.39.50~dfsg-5ubuntu4.49.50~dfsg-5ubuntu4.59.50~dfsg-5ubuntu4.69.50~dfsg-5ubuntu4.79.50~dfsg-5ubuntu4.89.50~dfsg-5ubuntu4.99.50~dfsg-5ubuntu4.109.50~dfsg-5ubuntu4.11 |
9.50~dfsg-5ubuntu4.12 |
ghostscriptUbuntu:22.04:LTS |
before 9.55.0~dfsg1-0ubuntu5.7, plus listed versions 9.54.0~dfsg1-0ubuntu29.55.0~dfsg1-0ubuntu49.55.0~dfsg1-0ubuntu59.55.0~dfsg1-0ubuntu5.19.55.0~dfsg1-0ubuntu5.2 Show 4 moreShow less9.55.0~dfsg1-0ubuntu5.39.55.0~dfsg1-0ubuntu5.49.55.0~dfsg1-0ubuntu5.59.55.0~dfsg1-0ubuntu5.6 |
9.55.0~dfsg1-0ubuntu5.7 |
ghostscriptUbuntu:20.04:LTS From an advisory covering 5 CVEs |
before 9.50~dfsg-5ubuntu4.12, plus listed versions 9.27~dfsg+0-0ubuntu39.27~dfsg+0-0ubuntu49.50~dfsg-5ubuntu19.50~dfsg-5ubuntu29.50~dfsg-5ubuntu3 Show 12 moreShow less9.50~dfsg-5ubuntu49.50~dfsg-5ubuntu4.19.50~dfsg-5ubuntu4.29.50~dfsg-5ubuntu4.39.50~dfsg-5ubuntu4.49.50~dfsg-5ubuntu4.59.50~dfsg-5ubuntu4.69.50~dfsg-5ubuntu4.79.50~dfsg-5ubuntu4.89.50~dfsg-5ubuntu4.99.50~dfsg-5ubuntu4.109.50~dfsg-5ubuntu4.11 |
9.50~dfsg-5ubuntu4.12 |
ghostscriptUbuntu:22.04:LTS From an advisory covering 5 CVEs |
before 9.55.0~dfsg1-0ubuntu5.7, plus listed versions 9.54.0~dfsg1-0ubuntu29.55.0~dfsg1-0ubuntu49.55.0~dfsg1-0ubuntu59.55.0~dfsg1-0ubuntu5.19.55.0~dfsg1-0ubuntu5.2 Show 4 moreShow less9.55.0~dfsg1-0ubuntu5.39.55.0~dfsg1-0ubuntu5.49.55.0~dfsg1-0ubuntu5.59.55.0~dfsg1-0ubuntu5.6 |
9.55.0~dfsg1-0ubuntu5.7 |
ghostscriptUbuntu:24.04:LTS From an advisory covering 5 CVEs |
before 10.02.1~dfsg1-0ubuntu7.1, plus listed versions 10.01.2~dfsg1-0ubuntu210.01.2~dfsg1-0ubuntu2.110.02.1~dfsg1-0ubuntu110.02.1~dfsg1-0ubuntu210.02.1~dfsg1-0ubuntu510.02.1~dfsg1-0ubuntu610.02.1~dfsg1-0ubuntu7 |
10.02.1~dfsg1-0ubuntu7.1 |
ghostscriptopenSUSE:Tumbleweed From an advisory covering 5 CVEs |
before 10.03.1-1.1 | 10.03.1-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-52722 is a medium vulnerability (CVSS 5.5) in Artifex Ghostscript, published April 27, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.33%, the 26th percentile. Fixed in ghostscript 10.04.0-r0.
References
cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit?id=afd7188f74918cb51b5fb89f52b54eb16e8acfd1
openwall.com/lists/oss-security/2024/06/28/2
nvd.nist.gov/vuln/detail/CVE-2023-52722
github.com/advisories/GHSA-5473-w6gq-5r5g
security.alpinelinux.org/vuln/CVE-2023-52722
docs.bell-sw.com/security/cves/CVE-2023-52722
Show 28 moreShow less
errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1786720807.html
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1788335582.html
github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52722.json
security-tracker.debian.org/tracker/CVE-2023-52722
advisories.mageia.org/MGASA-2024-0180.html
bugs.mageia.org/show_bug.cgi?id=33196
lwn.net/Articles/973065
lists.suse.com/pipermail/sle-security-updates/2024-May/018501.html
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2024-2176
nvd.nist.gov/vuln/detail/CVE-2024-33869
nvd.nist.gov/vuln/detail/CVE-2024-33870
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2024-2178
suse.com/support/update/announcement/2024/suse-su-20241568-1
bugzilla.suse.com/1223852
suse.com/security/cve/CVE-2023-52722
suse.com/support/update/announcement/2024/suse-su-20241590-1
suse.com/support/update/announcement/2024/suse-su-20241590-2
ubuntu.com/security/CVE-2023-52722
cve.org/CVERecord?id=CVE-2023-52722
ubuntu.com/security/notices/USN-6835-1
ubuntu.com/security/CVE-2024-29510
ubuntu.com/security/CVE-2024-33869
ubuntu.com/security/CVE-2024-33870
ubuntu.com/security/CVE-2024-33871
suse.com/security/cve/CVE-2024-29510
suse.com/security/cve/CVE-2024-33869
suse.com/security/cve/CVE-2024-33870
suse.com/security/cve/CVE-2024-33871