CVE-2024-29509

NameCVE-2024-29509
DescriptionArtifex Ghostscript before 10.03.0 has a heap-based overflow when PDFPassword (e.g., for runpdf) has a \000 byte in the middle.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5760-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ghostscript (PTS)bullseye, bullseye (security)9.53.3~dfsg-7+deb11u7fixed
bookworm10.0.0~dfsg-11+deb12u4vulnerable
bookworm (security)10.0.0~dfsg-11+deb12u5fixed
sid, trixie10.03.1~dfsg-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ghostscriptsourcebullseye(not affected)
ghostscriptsourcebookworm10.0.0~dfsg-11+deb12u5DSA-5760-1
ghostscriptsource(unstable)10.03.0~dfsg-1

Notes

[bullseye] - ghostscript <not-affected> (Vulnerable code introduced later)
https://bugs.ghostscript.com/show_bug.cgi?id=707510
https://www.openwall.com/lists/oss-security/2024/07/03/7
Introduced with: https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=316c3a08269212f1005709da64efcb383f8f5ce0 (ghostpdl-9.55.0rc1)
Fixed by: https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=917b3a71fb20748965254631199ad98210d6c2fb (ghostpdl-10.03.0)

Search for package or bug name: Reporting problems