FreeImage heap buffer overflow in GIF playback frame handling
danoli3 FreeImage · FreeImage
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| danoli3 FreeImage |
|
|
| FreeImage FreeImage |
| No fix yet |
Original description
FreeImage through 3.18.0 and the danoli3 FreeImage fork before 3.19.25 contain a heap buffer overflow vulnerability in PluginGIF.cpp that allows attackers to write past the canvas allocation via unclipped GIF frame rectangles. Attackers can craft a GIF whose frame left plus width exceeds the logical screen width, causing GifPlaybackCompositeFrame() and GifPlaybackFillRect() to corrupt heap memory when loaded with GIF_PLAYBACK.