CVE-2025-46646
published 2025-04-26CVE-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…
PriorityP417medium4.5CVSS 3.1
AVLACHPRNUINSCCLILAN
EPSS
0.17%
6.1th percentile
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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | < 10.05.0 | 10.05.0 |
| artifex | ghostscript | >= 0 < 10.05.0~dfsg-1 | 10.05.0~dfsg-1 |
| artifex | ghostscript | >= 0 < 10.05.0~dfsg-1 | 10.05.0~dfsg-1 |
| debian | ghostscript | < ghostscript 10.05.0~dfsg-1 (forky) | ghostscript 10.05.0~dfsg-1 (forky) |
CVSS provenance
nvdv3.14.5MEDIUMCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
osv7.8HIGH
vendor_debian7.8LOW
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Ghostscript vulnerability
vendor_ubuntu·2025-05-01
CVE-2025-46646 Ghostscript vulnerability
Title: Ghostscript vulnerability
Summary: Ghostscript could be made to crash, run programs, or read files if it
opened a specially crafted file.
It was discovered that Ghostscript incorrectly handled parsing certain PS
files. An attacker could use this issue to cause Ghostscript to crash,
resulting in a denial of service, or possibly bypass file path validation.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
Ghostscript: Mishandling of Overlong UTF-8 Encoding in Artifex Ghostscript's decode_utf8 Function
vendor_redhat·2025-04-26·CVSS 7.8
CVE-2025-46646 [HIGH] CWE-24 Ghostscript: Mishandling of Overlong UTF-8 Encoding in Artifex Ghostscript's decode_utf8 Function
Ghostscript: Mishandling of Overlong UTF-8 Encoding in Artifex Ghostscript's decode_utf8 Function
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.
A flaw was found in Artifex Ghostscript, specifically in the decode_utf8 function within base/gp_utf8.c. The issue arises from the mishandling of overlong UTF-8 encoding, which can lead to unexpected behavior when processing certain inputs. This flaw could allow an attacker to manipulate text encoding, potentially leading to incorrect processing of UTF-8 characters or unexpected application behavior, and exists because of an incomplete fix for CVE-2024-46954.
Mitigation: Mitigation for this issue is either not avail
Debian
CVE-2025-46646: ghostscript - In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles ...
vendor_debian·2025·CVSS 7.8
CVE-2025-46646 [HIGH] CVE-2025-46646: ghostscript - In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles ...
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.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved (fixed in 10.05.0~dfsg-1)
sid: resolved (fixed in 10.05.0~dfsg-1)
trixie: resolved (fixed in 10.05.0~dfsg-1)
GHSA
GHSA-56g6-5g9j-wjc3: In Artifex Ghostscript before 10
ghsa_unreviewed·2025-04-26·CVSS 7.8
CVE-2025-46646 [HIGH] CWE-24 GHSA-56g6-5g9j-wjc3: In Artifex Ghostscript before 10
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.
OSV
CVE-2025-46646: In Artifex Ghostscript before 10
osv·2025-04-26·CVSS 7.8
CVE-2025-46646 [HIGH] CVE-2025-46646: In Artifex Ghostscript before 10
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-04-26
Published