This issue was fixed in php package updates for Red Hat Enterprise Linux and Red Hat Application Stack:
This issue did not affect the versions of gd as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5.
Red Hat Security Errata
|Red Hat Enterprise Linux 3 (php)||RHSA-2007:0155||2007-04-16|
|Red Hat Application Stack v1 for Enterprise Linux AS (v.4) (php)||RHSA-2007:0162||2007-04-16|
|Red Hat Enterprise Linux 4 (php)||RHSA-2007:0155||2007-04-16|
|Red Hat Enterprise Linux 5 (php)||RHSA-2007:0153||2007-04-20|
CVE description copyright © 2017, The MITRE Corporation