Integer Overflow Vulnerability in ImageMagick Software Suite
CVE-2025-66628
Key Information:
- Vendor
Imagemagick
- Status
- 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
More Imagemagick Vulnerabilities
Stack Overflow in ImageMagick
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction