# CVE-2025-46646: ghostscript: In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.cmishandles overlong UTF-8 encoding

CVE-2025-46646 is fixed in 4 products on 1 platform, first by ghostscript 10.02.1~dfsg1-0ubuntu7.6, released April 26, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-46646
- Priority: Routine
- CVSS: 4.5 (Medium)
- EPSS: 0.0018
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 26, 2025

## Description

In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.cmishandles overlong UTF-8 encoding. NOTE: this issue exists because of anincomplete fix for CVE-2024-46954.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ghostscript Debian 13.5 (trixie) | 10.05.0~dfsg-1 | [DEBIAN-CVE-2025-46646](https://patchblox.com/security/data/fix/linux/debian-cve-2025-46646.md) | Apr 26, 2025 |
| Linux | ghostscript Debian 14 | 10.05.0~dfsg-1 | [DEBIAN-CVE-2025-46646](https://patchblox.com/security/data/fix/linux/debian-cve-2025-46646.md) | Apr 26, 2025 |
| Linux | ghostscript Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu7.6 | [ghostscript 10.02.1~dfsg1-0ubuntu7.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ghostscript-10.02.1-dfsg1-0ubuntu7.6.md) | Apr 26, 2025 |
| Linux | ghostscript Ubuntu 24.10 (oracular) | 10.03.1~dfsg1-0ubuntu2.3 | [ghostscript 10.03.1~dfsg1-0ubuntu2.3](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-ghostscript-10.03.1-dfsg1-0ubuntu2.3.md) | Jan 16, 2026 |
| Linux | ghostscript opensuse-leap 16.0 | 10.06.0-160000.1.1 | [OPENSUSE-SU-2026:20592-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20592-1.md) | Apr 21, 2026 |
| Linux | libgs-common Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu7.6 | [libgs-common 10.02.1~dfsg1-0ubuntu7.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgs-common-10.02.1-dfsg1-0ubuntu7.6.md) | Apr 26, 2025 |
| Linux | libgs-common Ubuntu 24.10 (oracular) | 10.03.1~dfsg1-0ubuntu2.3 | [libgs-common 10.03.1~dfsg1-0ubuntu2.3](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libgs-common-10.03.1-dfsg1-0ubuntu2.3.md) | Jan 16, 2026 |
| Linux | libgs10 Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu7.6 | [libgs10 10.02.1~dfsg1-0ubuntu7.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgs10-10.02.1-dfsg1-0ubuntu7.6.md) | Apr 26, 2025 |
| Linux | libgs10 Ubuntu 24.10 (oracular) | 10.03.1~dfsg1-0ubuntu2.3 | [libgs10 10.03.1~dfsg1-0ubuntu2.3](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libgs10-10.03.1-dfsg1-0ubuntu2.3.md) | Jan 16, 2026 |
| Linux | libgs10-common Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu7.6 | [libgs10-common 10.02.1~dfsg1-0ubuntu7.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgs10-common-10.02.1-dfsg1-0ubuntu7.6.md) | Apr 26, 2025 |
| Linux | libgs10-common Ubuntu 24.10 (oracular) | 10.03.1~dfsg1-0ubuntu2.3 | [libgs10-common 10.03.1~dfsg1-0ubuntu2.3](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libgs10-common-10.03.1-dfsg1-0ubuntu2.3.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
