A buffer overflow vulnerability in lprn_is_black() in contrib/lips4/gdevlprn.c of Artifex Software GhostScript v9.50 allows a remote attacker to cause a denial of service via a crafted PDF file. This is fixed in v9.51.
Created ghostscript tracking bugs for this issue:
Affects: fedora-all [bug 1870243]
In the routine lprn_is_black() of /contrib/lips4/gdevlprn.c, there is a potential incorrect calculation of offset in a for loop which can lead to an out-of-bounds read if a crafted PDF file is supplied to ghostscript by an attacker. See upstream patch: https://git.ghostscript.com/?p=ghostpdl.git;a=blobdiff;f=contrib/lips4/gdevlprn.c;h=7461e46e4618457153f6742ce7e0fca75ebfa22f;hp=df8f862e21202d4607e82e94b8751e7631cfac85;hb=450da26a76286a8342ec0864b3d113856709f8f6;hpb=93cb0c0adbd9bcfefd021d59c472388f67d3300d
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.
This issue has been addressed in the following products:
Red Hat Enterprise Linux 8
Via RHSA-2021:1852 https://access.redhat.com/errata/RHSA-2021:1852
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):