CVE-2025-66628

imagemagick: ImageMagick is a software suite to create, edit, compose, or convert bitmap images

CVE-2025-66628 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2025-66628, released December 10, 2025. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0051
43rd percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
ImageMagick · opensuse-leap 15.6 7.1.1.21-150600.3.32.1 SUSE-SU-2026:0011-1 Jan 5, 2026
ImageMagick · opensuse-leap 16.0 7.1.2.0-160000.5.1 OPENSUSE-SU-2026:20118-1 Jan 28, 2026
ImageMagick · sles 15.6 7.1.0.9-150400.6.58.1 SUSE-SU-2026:0013-1 Jan 5, 2026
ImageMagick · sles 15.7 7.1.0.9-150400.6.58.1 SUSE-SU-2026:0013-1 Jan 5, 2026
ImageMagick · sles 16.0 7.1.2.0-160000.5.1 SUSE-SU-2026:20183-1 Jan 28, 2026
imagemagick · Debian 12.15 (bookworm) 8:6.9.11.60+dfsg-1.6+deb12u5 DEBIAN-CVE-2025-66628 Dec 10, 2025
imagemagick · Debian 13.5 (trixie) 8:7.1.1.43+dfsg1-1+deb13u4 DEBIAN-CVE-2025-66628 Dec 10, 2025
imagemagick · Debian 14 8:7.1.2.12+dfsg1-1 DEBIAN-CVE-2025-66628 Dec 10, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.