CVE-2024-46956

NameCVE-2024-46956
DescriptionAn issue was discovered in psi/zfile.c in Artifex Ghostscript before 10.04.0. Out-of-bounds data access in filenameforall can lead to arbitrary code execution.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3965-1, DSA-5808-1, ELA-1243-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ghostscript (PTS)jessie, jessie (lts)9.26a~dfsg-0+deb8u13fixed
stretch (security)9.26a~dfsg-0+deb9u9vulnerable
stretch (lts), stretch9.26a~dfsg-0+deb9u13fixed
buster, buster (lts)9.27~dfsg-2+deb10u10fixed
buster (security)9.27~dfsg-2+deb10u9vulnerable
bullseye9.53.3~dfsg-7+deb11u7vulnerable
bullseye (security)9.53.3~dfsg-7+deb11u9fixed
bookworm10.0.0~dfsg-11+deb12u5vulnerable
bookworm (security)10.0.0~dfsg-11+deb12u6fixed
sid, trixie10.04.0~dfsg-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ghostscriptsourcejessie9.26a~dfsg-0+deb8u13ELA-1243-1
ghostscriptsourcestretch9.26a~dfsg-0+deb9u13ELA-1243-1
ghostscriptsourcebuster9.27~dfsg-2+deb10u10ELA-1243-1
ghostscriptsourcebullseye9.53.3~dfsg-7+deb11u9DLA-3965-1
ghostscriptsourcebookworm10.0.0~dfsg-11+deb12u6DSA-5808-1
ghostscriptsource(unstable)10.04.0~dfsg-1

Notes

https://bugs.ghostscript.com/show_bug.cgi?id=707895
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=f4151f12db32cd3ed26c24327de714bf2c3ed6ca
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=ea69a1388245ad959d31c272b5ba66d40cebba2c (ghostpdl-10.04.0)

Search for package or bug name: Reporting problems