A flaw was found in the DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped in cgif.c in sam2p 0.49.4, has a heap-based buffer overflow because a certain "Private->RunningCode - 2" array index is not checked. This will lead to a denial of service or possibly unspecified other impact. References: https://github.com/pts/sam2p/issues/38
Created giflib tracking bugs for this issue: Affects: fedora-all [bug 1583404]
phantomjs used in RHOSP7-optools bundles version 4.0 of giflib, which does not contain the vulnerable DGifDecompressLine function.
Upstream ticket: https://sourceforge.net/p/giflib/bugs/113/
Statement: This issue did not affect the versions of giflib as shipped with Red Hat Enterprise Linux 5, 6, an 7.