CVE-2025-59798

NameCVE-2025-59798
DescriptionArtifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdf_write_cmap in devices/vector/gdevpdtw.c.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6024-1
Debian Bugs1116444

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ghostscript (PTS)bullseye9.53.3~dfsg-7+deb11u7vulnerable
bullseye (security)9.53.3~dfsg-7+deb11u10vulnerable
bookworm10.0.0~dfsg-11+deb12u7vulnerable
bookworm (security)10.0.0~dfsg-11+deb12u8fixed
trixie10.05.1~dfsg-1vulnerable
trixie (security)10.05.1~dfsg-1+deb13u1fixed
forky10.05.1~dfsg-3vulnerable
sid10.06.0~dfsg-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ghostscriptsourcebookworm10.0.0~dfsg-11+deb12u8DSA-6024-1
ghostscriptsourcetrixie10.05.1~dfsg-1+deb13u1DSA-6024-1
ghostscriptsource(unstable)10.06.0~dfsg-11116444

Notes

https://bugs.ghostscript.com/show_bug.cgi?id=708539
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=0cae41b23a9669e801211dd4cf97b6dadd6dbdd7 (ghostpdl-10.06.0rc1)

Search for package or bug name: Reporting problems