An 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.
https://www.suse.com/support/update/announcement/2024/suse-su-20243942-1/
https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html