CVE-2025-46646

NameCVE-2025-46646
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, 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 PackageReleaseVersionStatus
ghostscript (PTS)bullseye9.53.3~dfsg-7+deb11u7fixed
bullseye (security)9.53.3~dfsg-7+deb11u10fixed
bookworm10.0.0~dfsg-11+deb12u6fixed
bookworm (security)10.0.0~dfsg-11+deb12u7fixed
trixie, sid10.05.0~dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ghostscriptsourcebullseye(not affected)
ghostscriptsourcebookworm(not affected)
ghostscriptsource(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)

Search for package or bug name: Reporting problems