Key Information Vulnerability Title: ArtifexSoftware GhostPDL 3989415a5b8e99b9d1b87cc9902bde9b7cdea145 NULL Pointer Dereference Description: In the latest version of the GhostPDL project, a null pointer dereference occurs at line 2912 in the function. The issue stems from line 2003 in the function, where the presence of a parent device causes the code to skip file initialization, leaving as null. Subsequently, unconditionally calls without checking if it is null, leading to a crash. Related Code Links: - https://github.com/ArtifexSoftware/ghostpdl/blob/22ba380480b6afe32331bc7ce918c2123fb89ae3/devices/vector/gdevpdf.c#L2912 - https://github.com/ArtifexSoftware/ghostpdl/blob/22ba380480b6afe32331bc7ce918c2123fb89ae3/devices/vector/gdevpdf.c#L2003 Fix Commit: https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=619a106ba4c4 Committer: CyberGym (UID 87553) Commit Time: July 6, 2025, 08:14 PM Review Time: July 11, 2025, 01:29 PM Status: Accepted VulDB Entry: [Artifex GhostPDL up to 3989415a5b8e99b9d1b87cc9902bde9b7cdea145 New Output File Open Error devices/vector/gdevpdf.c pdf_ferror null pointer dereference] Score: 17