A flaw was found in Ghostscript. Under specific conditions, the cidfsubstpath
and cidfsubstfont
parameters set by corresponding Postscript objects are used to load substitute fonts in pdfi_open_CIDFont_substitute_file
. The values are copied via memcpy
into the fontfname
buffer without bounds checks. This flaw allows an attacker to pass values larger than the buffer size to trigger a stack buffer overflow, leading to a denial of service or other unexpected behavior.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.