CVE-2025-66628 | ImageMagick is vulnerable to an Integer Overflow in TIM decoder leading to out of bounds read (32-bit only)

ImageMagick is a software suite to create, edit, compose, or convert bitmap images. In versions 7.1.2-9 and prior, the TIM (PSX TIM) image parser contains a critical integer overflow vulnerability in its ReadTIMImage function (coders/tim.c). The code reads width and height (16-bit values) from the file header and calculates image_size = 2 * width * height without checking for overflow. On 32-bit systems (or where size_t is 32-bit), this calculation can overflow if width and height are large (e.g., 65535), wrapping around to a small value. This results in a small heap allocation via AcquireQuantumMemory and later operations relying on the dimensions can trigger an out of bounds read. This issue is fixed in version 7.1.2-10.

公開: 2025-12-10 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2025-66628 は中リスク(42.6/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.44%、35 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2025-66628 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.04% 0.44% +0.40%
2 2026-05-08 0.06% 0.04% -0.02%
3 2026-04-11 0.06%

EPSS の全履歴 (全 6 件)

CVE-2025-66628 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
3.9 3.6 [email protected]

CVE-2025-66628 の弱点分類(列挙)

CVE-2025-66628 の GitHub Security Advisory

GHSA-6hjr-v6g4-3fm8 · 深刻度: high · エコシステム: nuget — ImageMagick is vulnerable to an integer Overflow in TIM decoder leading to out of bounds read (32-bit only)

CVE-2025-66628 の OS トラッカー

vendor priority summary link
alpine CVE-2025-66628: 1 source package rows (imagemagick); 108 state rows across 3 repos (3.22-community, 3.23-community, edge-community); fixed 13, open 95. https://security.alpinelinux.org/vuln/CVE-2025-66628
debian not yet assigned CVE-2025-66628 not yet assigned priority: Debian including 1 source packages (imagemagick), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2025-66628
redhat high https://access.redhat.com/security/cve/CVE-2025-66628
suse high CVE-2025-66628 severity important: SUSE including 98 source package names (2.1.3-5.3:rsync-3.2.7-4.1, 2.1.3-6.2:rsync-3.2.7-4.1, …), 397 product×package rows across 69 product lines (Container suse/sl-micro/6.0/baremetal-os-container, Container suse/sl-micro/6.0/base-os-container, … (69 product lines)): Fixed 359, Known Not Affected 24, First Fixed 14. https://www.suse.com/security/cve/CVE-2025-66628/
ubuntu medium CVE-2025-66628 medium priority: Ubuntu including 1 source packages (imagemagick), 9 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): needed 7, ignored 1, released 1. https://ubuntu.com/security/CVE-2025-66628

CVE-2025-66628 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
imagemagick imagemagick < 7.1.2-10 cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

CVE-2025-66628 の参考情報

cvelogic Threat Intelligence