Skip to content
High 8.5

FreeImageに画像ファイルの処理で任意のデータを書き込まれる脆弱性

CVE-2026-118752 First seen on SecPulse

Summary

FreeImage(danoli3フォーク)の3.19.22より前のバージョンに、IFF/LBM PBMファイルのRLEデコーダーで境界チェックが不足する脆弱性(CVE-2026-118752)があります。細工されたファイルを読み込ませると、ヒープ上のビットマップの外側に最大127バイトの任意のデータを書き込まれるおそれがあります。修正版として3.19.22が提供されているため、該当するFreeImageを利用している場合は修正版へ更新してください。また、FreeImage本家(3.18.0以前)も影響を受ける版として挙げられています。

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フォーク)の3.19.22より前のバージョンに、IFF/LBM PBMファイルのRLEデコーダーで境界チェックが不足する脆弱性(CVE-2026-118752)があります。細工されたファイルを読み込ませると、ヒープ上のビットマップの外側に最大127バイトの任意のデータを書き込まれるおそれがあります。修正版として3.19.22が提供されているため、該当するFreeImageを利用している場合は修正版へ更新してください。また、FreeImage本家(3.18.0以前)も影響を受ける版として挙げられています。

Affected packages

EcosystemPackageAffectedFixed
danoli3 FreeImage
< 3.19.22
3.19.22
FreeImage FreeImage
≤ 3.18.0
—
Original description The description as published by the source.

FreeImage (danoli3 fork) before 3.19.22 contains a heap buffer overflow vulnerability in the PBM RLE decoder of PluginIFF.cpp that lacks bounds checks on ByteRun1 runs. Attackers can supply a crafted IFF/LBM PBM file with runs straddling scanline ends to write up to 127 controlled bytes past the heap-allocated bitmap.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details