FreeImageに細工されたGIFで、ヒープ領域の書き込みを招く脆弱性
Summary
FreeImage(danoli3フォーク)には、GIFのフレーム位置と幅が論理画面の幅を超えたときに、ヒープ領域の範囲外へ書き込んでしまう脆弱性があります。細工されたGIFをGIF_PLAYBACKで読み込むと、メモリが壊れるおそれがあります。danoli3フォークは3.19.25より前の版が対象で、3.19.25で修正されています。修正版への更新をご検討ください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
FreeImage(danoli3フォーク)には、GIFのフレーム位置と幅が論理画面の幅を超えたときに、ヒープ領域の範囲外へ書き込んでしまう脆弱性があります。細工されたGIFをGIF_PLAYBACKで読み込むと、メモリが壊れるおそれがあります。danoli3フォークは3.19.25より前の版が対象で、3.19.25で修正されています。修正版への更新をご検討ください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| danoli3 | FreeImage |
< 3.19.25 |
3.19.25 |
| FreeImage | FreeImage |
≤ 3.18.0 |
— |
Original description The description as published by the source.
FreeImage (danoli3 fork) before 3.19.25 contains 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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com