Heap-based buffer overflow in Ghostscript - CVE-2024-29508
Published: July 5, 2024
Ghostscript
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
Anolis OS
Fedora
ghostscript (Ubuntu package)
libgs9 (Ubuntu package)
ghostscript
ghostscript-debuginfo
ghostscript-debugsource
ghostscript-devel
ghostscript-tools-dvipdf
ghostscript-help
ghostscript-x11
ghostscript-x11-debuginfo
ghostscript (Debian package)
libgs10 (Ubuntu package)
ghostscript-gtk
ghostscript-tools-fonts
ghostscript-tools-printing
libgs
libgs-devel
ghostscript-doc
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the pdf_base_font_alloc() function. A remote attacker can pass specially crafted PDF file to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.