CVE-2025-46646 In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding. NOTE: this issue exists because of an incomplete fix for CVE-2024-46954.
MediumCVSS 4.5
EPSS 0.18%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding. NOTE: this issue exists because of an incomplete fix for CVE-2024-46954.
Upgrade path
11 packages: 11 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/ghostscript(Alpine v3.18) | < 10.05.1 | 10.05.1 | Fixed |
| alpine/ghostscript(Alpine v3.19) | < 10.05.1-r0 | 10.05.1-r0 | Fixed |
| alpine/ghostscript(Alpine v3.20) | < 10.05.1-r0 | 10.05.1-r0 | Fixed |
| alpine/ghostscript(Alpine v3.21) | < 10.05.1-r0 | 10.05.1-r0 | Fixed |
| alpine/ghostscript(Alpine v3.22) | < 10.05.1-r0 | 10.05.1-r0 | Fixed |
| alpine/ghostscript(Alpine v3.23) | < 10.05.1-r0 | 10.05.1-r0 | Fixed |
| alpine/ghostscript(Alpine v3.24) | < 10.05.1-r0 | 10.05.1-r0 | Fixed |
| artifex ghostscript | < 10.05.0 | 10.05.0 | Fixed |
| debian/ghostscript(Debian 13) | < 10.05.0~dfsg-1 | 10.05.0~dfsg-1 | Fixed |
| debian/ghostscript(Debian 14) | < 10.05.0~dfsg-1 | 10.05.0~dfsg-1 | Fixed |
| ubuntu/ghostscript(Ubuntu 24.04) | < 10.02.1~dfsg1-0ubuntu7.6 | 10.02.1~dfsg1-0ubuntu7.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ghostscript(Debian:13) | < 10.05.0~dfsg-1 | 10.05.0~dfsg-1 |
| debian/ghostscript(Debian:14) | < 10.05.0~dfsg-1 | 10.05.0~dfsg-1 |
| artifex ghostscript | < 10.05.0 | 10.05.0 |
| alpine/ghostscript(Alpine:v3.18) | < 10.05.1 | 10.05.1 |
| alpine/ghostscript(Alpine:v3.19) | < 10.05.1-r0 | 10.05.1-r0 |
| alpine/ghostscript(Alpine:v3.20) | < 10.05.1-r0 | 10.05.1-r0 |
| alpine/ghostscript(Alpine:v3.21) | < 10.05.1-r0 | 10.05.1-r0 |
| alpine/ghostscript(Alpine:v3.22) | < 10.05.1-r0 | 10.05.1-r0 |
| alpine/ghostscript(Alpine:v3.23) | < 10.05.1-r0 | 10.05.1-r0 |
| alpine/ghostscript(Alpine:v3.24) | < 10.05.1-r0 | 10.05.1-r0 |
| ubuntu/ghostscript(Ubuntu:24.04) | < 10.02.1~dfsg1-0ubuntu7.6 | 10.02.1~dfsg1-0ubuntu7.6 |
References
- Debian Security Tracker CVE-2025-46646 vendor-advisory
- bugs.ghostscript.com issue-tracking
- cgit.ghostscript.com patch
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7473-1 vendor-advisory
- www.cve.org