CVE-2025-59798 Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdf_write_cmap in devices/vector/gdevpdtw.c.
MediumCVSS 5.5
EPSS 0.21%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdf_write_cmap in devices/vector/gdevpdtw.c.
Upgrade path
8 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/ghostscript(Alpine v3.23) | < 10.06.0-r0 | 10.06.0-r0 | Fixed |
| alpine/ghostscript(Alpine v3.24) | < 10.06.0-r0 | 10.06.0-r0 | Fixed |
| artifex ghostscript | <= 10.05.1 | after 10.05.1 | Fixed |
| debian/ghostscript(Debian 12) | < 10.0.0~dfsg-11+deb12u8; = 10.0.0~dfsg-11; = 10.0.0~dfsg-11+deb12u1; = 10.0.0~dfsg-11+deb12u2 +5 more | 10.0.0~dfsg-11+deb12u8 | Fixed |
| debian/ghostscript(Debian 13) | < 10.05.1~dfsg-1+deb13u1; = 10.05.1~dfsg-1 | 10.05.1~dfsg-1+deb13u1 | Fixed |
| debian/ghostscript(Debian 14) | < 10.06.0~dfsg-1; = 10.05.1~dfsg-1; = 10.05.1~dfsg-2; = 10.05.1~dfsg-3 | 10.06.0~dfsg-1 | Fixed |
| ubuntu/ghostscript(Ubuntu 22.04) | < 9.55.0~dfsg1-0ubuntu5.13 | 9.55.0~dfsg1-0ubuntu5.13 | Fixed |
| ubuntu/ghostscript(Ubuntu 24.04) | < 10.02.1~dfsg1-0ubuntu7.8 | 10.02.1~dfsg1-0ubuntu7.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ghostscript(Debian:12) | < 10.0.0~dfsg-11+deb12u8 | 10.0.0~dfsg-11+deb12u8 |
| debian/ghostscript(Debian:12) | = 10.0.0~dfsg-11 | No fix listed |
| debian/ghostscript(Debian:12) | = 10.0.0~dfsg-11+deb12u1 | No fix listed |
| debian/ghostscript(Debian:12) | = 10.0.0~dfsg-11+deb12u2 | No fix listed |
| debian/ghostscript(Debian:12) | = 10.0.0~dfsg-11+deb12u3 | No fix listed |
| debian/ghostscript(Debian:12) | = 10.0.0~dfsg-11+deb12u4 | No fix listed |
| debian/ghostscript(Debian:12) | = 10.0.0~dfsg-11+deb12u5 | No fix listed |
| debian/ghostscript(Debian:12) | = 10.0.0~dfsg-11+deb12u6 | No fix listed |
| debian/ghostscript(Debian:12) | = 10.0.0~dfsg-11+deb12u7 | No fix listed |
| debian/ghostscript(Debian:13) | < 10.05.1~dfsg-1+deb13u1 | 10.05.1~dfsg-1+deb13u1 |
| debian/ghostscript(Debian:13) | = 10.05.1~dfsg-1 | No fix listed |
| debian/ghostscript(Debian:14) | < 10.06.0~dfsg-1 | 10.06.0~dfsg-1 |
| debian/ghostscript(Debian:14) | = 10.05.1~dfsg-1 | No fix listed |
| debian/ghostscript(Debian:14) | = 10.05.1~dfsg-2 | No fix listed |
| debian/ghostscript(Debian:14) | = 10.05.1~dfsg-3 | No fix listed |
| artifex ghostscript | <= 10.05.1 | No fix listed |
| ubuntu/ghostscript(Ubuntu:22.04) | < 9.55.0~dfsg1-0ubuntu5.13 | 9.55.0~dfsg1-0ubuntu5.13 |
| alpine/ghostscript(Alpine:v3.23) | < 10.06.0-r0 | 10.06.0-r0 |
| alpine/ghostscript(Alpine:v3.24) | < 10.06.0-r0 | 10.06.0-r0 |
| ubuntu/ghostscript(Ubuntu:24.04) | < 10.02.1~dfsg1-0ubuntu7.8 | 10.02.1~dfsg1-0ubuntu7.8 |
References
- Debian Security Tracker CVE-2025-59798 vendor-advisory
- bugs.ghostscript.com exploit issue-tracking
- cgit.ghostscript.com patch
- lists.debian.org
- Ubuntu CVE tracker vendor-advisory
- USN-7782-1 vendor-advisory
- USN-7904-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking