| Name | CVE-2025-46646 | 
| 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. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| ghostscript (PTS) | bullseye | 9.53.3~dfsg-7+deb11u7 | fixed | 
 | bullseye (security) | 9.53.3~dfsg-7+deb11u11 | fixed | 
 | bookworm | 10.0.0~dfsg-11+deb12u7 | fixed | 
 | bookworm (security) | 10.0.0~dfsg-11+deb12u8 | fixed | 
 | trixie | 10.05.1~dfsg-1 | fixed | 
 | trixie (security) | 10.05.1~dfsg-1+deb13u1 | fixed | 
 | forky | 10.05.1~dfsg-3 | fixed | 
 | sid | 10.06.0~dfsg-3 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| ghostscript | source | bullseye | (not affected) |  |  |  | 
| ghostscript | source | bookworm | (not affected) |  |  |  | 
| ghostscript | source | (unstable) | 10.05.0~dfsg-1 |  |  |  | 
Notes
[bookworm] - ghostscript <not-affected> (Vulnerable code introduced later)
[bullseye] - ghostscript <not-affected> (Vulnerable code introduced later)
https://bugs.ghostscript.com/show_bug.cgi?id=708311
Fixed by: https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=f14ea81e6c3d2f51593f23cdf13c4679a18f1a3f
Fixed by: https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=85df6937bcd8ae8edea7f24a5848e95833cfb1a7 (ghostpdl-10.05.0)