ADVISORIES

Vulnerability

CVE-2025-66628

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.

24 advisories report this vulnerability, across 8 ecosystems.

Advisories in SUSE

  • SUSE-SU-2025:4427-1

    Security update for ImageMagick

    CVE-2025-65955CVE-2025-66628 SUSE Updated 23 March 2026
  • SUSE-SU-2025:4428-1

    Security update for ImageMagick

    CVE-2025-65955CVE-2025-66628 SUSE Updated 23 March 2026
  • SUSE-SU-2025:4429-1

    Security update for ImageMagick

    CVE-2025-66628 SUSE Updated 23 March 2026
  • SUSE-SU-2026:0011-1

    Security update for ImageMagick

    CVE-2025-65955CVE-2025-66628 SUSEopenSUSE Updated 23 March 2026
  • SUSE-SU-2026:0013-1

    Security update for ImageMagick

    CVE-2025-65955CVE-2025-66628CVE-2025-68469 SUSE Updated 23 March 2026
  • SUSE-SU-2026:20183-1

    Security update for ImageMagick

    CVE-2025-65955CVE-2025-66628CVE-2025-68618CVE-2025-68950 SUSE Updated 23 March 2026
  • SUSEVEX-CVE-2025-66628

    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…

    Important CVE-2025-66628 SUSE Updated 15 October 2026

References