Integer overflow in ImageMagick - CVE-2025-66628

 

Integer overflow in ImageMagick - CVE-2025-66628

Published: December 10, 2025


Vulnerability identifier: #VU119820
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-66628
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ImageMagick.org
Affected software:
ImageMagick

Detailed vulnerability description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to integer overflow in TIM decoder within the ReadTIMImage() function in coders/tim.c. A remote attacker can pass specially crafted image data to the application, trigger an integer overflow and read sensitive information.

The vulnerability affects 32-bit systems only. 


How to mitigate CVE-2025-66628

Install updates from vendor's website.

Sources