Integer Overflow Vulnerability in ImageMagick Software Suite

Check todaySensitive data exposure over the network, no login needed.
7.5HIGH

CVE-2025-66628

Key Information:

CVE ID
CVE ID:
CVE-2025-66628
Vendor
CVE Published:
10 December 2025

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Imagemagick. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is high (7.5).

What is CVE-2025-66628?

An integer overflow vulnerability exists in the TIM image parser of ImageMagick, affecting versions 7.1.2-9 and earlier. The flaw is located in the ReadTIMImage function, where the calculations for image size derived from the width and height can lead to incorrect memory allocation. When large values for width and height are processed, this can cause the size calculation to wrap around, resulting in insufficient memory being allocated. Consequently, subsequent operations that depend on these dimensions may access out-of-bounds areas of memory, potentially leading to unauthorized data access or exploitation.

Affected Version(s)

ImageMagick < 7.1.2-10

References

Stack Overflow in ImageMagick

CVE-2025-53101
ImagemagickImagemagick7.4HIGH
View more Imagemagick vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.