Heap-based buffer overflow in Ghostscript - CVE-2024-29509

 

Heap-based buffer overflow in Ghostscript - CVE-2024-29509

Published: July 5, 2024


Vulnerability identifier: #VU93812
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-29509
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Artifex Software, Inc.
Affected software:
Ghostscript

Detailed vulnerability description

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to a boundary error when parsing passwords, when PDFPassword (e.g., for runpdf) has a 00 byte in the middle. A remote attacker can trick the victim to pass a specially crafted password to the application, trigger a heap-based buffer overflow and crash it.


How to mitigate CVE-2024-29509

Install updates from vendor's website.

Sources