7.5

CVE-2025-66628: imagemagick Out-of-bounds Read

CVSS: 7.5v3.1HighAnalyzed
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.51% chance of exploitation in the next 30 days, higher than 42.2% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.51%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 7

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

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.51%

Chance of exploitation in the next 30 days

Percentile

42%

Versus all other CVEs

30-day change

0.00 pp

From 0.51% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.51%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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
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)

7 vendors · 16 products

References

11 links
Show all 11 references