跳到正文
CVE-high(cvefeed.io)·· 4 小時前精選AI 評分69

CVE‑2026‑118753:FreeImage (danoli3 fork) 3.19.25 前 GIF_PLAYBACK 合成堆疊溢位漏洞

CVE-2026-118753 - FreeImage (danoli3 fork) before 3.19.25 Heap Buffer Overflow via GIF_PLAYBACK Compositing

AI 導讀

FreeImage (danoli3 fork) 在 3.19.25 之前存在堆疊溢位漏洞,攻擊者可透過未裁剪的 GIF 框架寫入畫布以外的記憶體。

  • 漏洞原理:GifPlaybackCompositeFrame() 與 GifPlaybackFillRect() 會在載入 GIF_PLAYBACK 時未檢查框架座標,導致堆疊記憶體被覆寫。
推薦理由

本漏洞揭示 GIF 檔案處理中的堆疊溢位問題,提示開發者在使用 FreeImage 前務必升級至 3.19.25 以上以避免潛在遠端執行風險;同時也提醒影像處理庫在處理非裁剪框架時須加強邊界檢查以保證系統安全。

正文 · AI 翻譯

譯文尚未完整,完整內容請切換至原文。

FreeImage (danoli3 fork) 在 3.19.25 之前的版本包含一個位於 PluginGIF.cpp 的堆疊緩衝區溢位漏洞,允許攻擊者透過未裁剪的 GIF 框架矩形寫入畫布分配之外的記憶體。攻擊者可以製作一個其框架左邊距加寬度超過邏輯螢幕寬度的 GIF,導致 GifPlaybackCompositeFrame() 與 GifPlaybackFillRect() 在使用 GIF_PLAYBACK 載入時損毀堆疊記憶體。

影響

受影響產品

以下產品受CVE-2026-118753漏洞影響。 即使cvefeed.io瞭解受影響產品的具體版本,該資訊也未在下表中呈現。

編號 供應商 產品 行動
1 Freeimage_project freeimage

通用漏洞評分系統(Common Vulnerability Scoring System)是一個標準化框架,用於評估軟體與系統漏洞的嚴重程度。 我們為每個 CVE 收集並顯示來自不同來源的 CVSS 分數。

分數 版本 嚴重性 向量 可利用性分數 影響分數 來源
CVSS 3.1 高 83251b91-4cc7-4094-a5c7-464a1b83ea10
CVSS 3.1 高 MITRE-CVE
CVSS 3.1 高 [email protected]
CVSS 4.0 高 83251b91-4cc7-4094-a5c7-464a1b83ea10
CVSS 4.0 高 [email protected]

將 FreeImage 更新至 3.19.25 或更高版本,以修復堆疊緩衝區溢位漏洞。

  • 將 FreeImage 更新至 3.19.25 或更高版本。
  • 避免使用 GIF_PLAYBACK 載入不受信任的 GIF 檔案。

此處列出精選的外部連結,提供關於CVE-2026-118753的深入資訊、實用解決方案與有價值的工具。

網址 資源
https://github.com/danoli3/FreeImage
https://github.com/danoli3/FreeImage/blob/3.19.24/Source/FreeImage/PluginGIF.cpp#L719-L772
https://github.com/danoli3/FreeImage/commit/0da5ddb4d311e5222251348cca1aa988478b1034
https://github.com/danoli3/FreeImage/commit/96f4099f8e307484ba69b4aa14d772b7679a1bfb
https://github.com/danoli3/FreeImage/pull/183
https://github.com/danoli3/FreeImage/releases/tag/3.19.25
https://www.vulncheck.com/advisories/freeimage-danoli3-fork-before-3.19.25-heap-buffer-overflow-via-gif-playback-compositing

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-118753 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-118753 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-118753 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-118753 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received By [email protected]

    十月. 28, 2026

    動作 型別 舊值 新值
    新增 描述 FreeImage (danoli3 fork) 在 3.19.25 之前版本中,PluginGIF.cpp 存在堆緩衝區溢位漏洞,攻擊者可透過未裁剪的 GIF 框架矩形寫入畫布分配之外的記憶體。攻擊者可製作一個其框架左邊距加寬度超過邏輯畫面寬度的 GIF,導致 GifPlaybackCompositeFrame() 與 GifPlaybackFillRect() 在使用 GIF_PLAYBACK 時破壞堆記憶體。
    新增 CVSS V4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    新增 CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    新增 CWE CWE-787
    新增 受影響 New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/118xxx/CVE-2026-118753.json">CVE-2026-118753</a>
    新增 參考 https://github.com/danoli3/FreeImage
    新增 參考 https://github.com/danoli3/FreeImage/blob/3.19.24/Source/FreeImage/PluginGIF.cpp#L719-L772
    新增 參考 https://github.com/danoli3/FreeImage/commit/0da5ddb4d311e5222251348cca1aa988478b1034
    新增 參考 https://github.com/danoli3/FreeImage/commit/96f4099f8e307484ba69b4aa14d772b7679a1bfb
    新增 參考 https://github.com/danoli3/FreeImage/pull/183
    新增 參考 https://github.com/danoli3/FreeImage/releases/tag/3.19.25
    新增 參考 https://www.vulncheck.com/advisories/freeimage-danoli3-fork-before-3.19.25-heap-buffer-overflow-via-gif-playback-compositing

EPSS 是每日估算在接下來 30 天內觀測到利用活動的機率。下圖顯示此漏洞的 EPSS 分數歷史。

來源: CVE-high (cvefeed.io)
開啟原文