7.5

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

Analyzed
AliasesSUSE-SU-2025:4429-1UBUNTU-CVE-2025-66628DEBIAN-CVE-2025-66628
Published 10-12-2025Last modified 11-12-2025

Vulnerability summary

CVE-2025-66628 is a high (CVSS 7.5) Out-of-bounds Read vulnerability in imagemagick. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 47.5% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.55%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 8

Timeline

  1. 10-12-2025
    PublishedVulnerability first disclosed.
  2. 11-12-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.55%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 0.51% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

NuGet6 products
  • Magick.NET-Q16-AnyCPU< 14.10.0
  • Magick.NET-Q16-HDRI-AnyCPU< 14.10.0
  • Magick.NET-Q16-HDRI-x86< 14.10.0
  • Magick.NET-Q16-x86< 14.10.0
  • Magick.NET-Q8-AnyCPU< 14.10.0
Chainguard4 products
  • imagemagick-6All versions (No fix recorded)
  • imagemagick-6-dev< 6.9.13.46-r1
  • imagemagick-6-doc< 6.9.13.46-r1
  • imagemagick-6-static< 6.9.13.46-r1
Suse2 products
  • ImageMagick&distro=SUSE Linux Enterprise Server 12 SP5-LTSS< 6.8.8.1-71.218.1
  • ImageMagick&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 6.8.8.1-71.218.1
Alpine1 product
  • imagemagick< 7.1.2.12-r0
Debian1 product
  • imagemagick< 8:6.9.11.60+dfsg-1.6+deb12u5 | < 8:7.1.1.43+dfsg1-1+deb13u4 | < 8:7.1.2.12+dfsg1-1
Imagemagick1 product
Opensuse1 product
  • ImageMagick&distro=openSUSE Tumbleweed< 7.1.2.10-2.1
Ubuntu1 product
  • imagemagickAll versions (No fix recorded) | < 8:6.7.7.10-6ubuntu3.13+esm29 | < 8:6.8.9.9-7ubuntu5.16+esm28 | < 8:6.9.7.4+dfsg-16ubuntu6.15+esm20 | < 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm18 | < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm18 | < 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm17

8 vendors · 17 products

References

13 links
Show all 13 references