Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-66628

7.5 · HIGH
Published Dec 10, 2025 imagemagick CWE-125 EPSS 0.50% (41th pctl)

Overview

CVE-2025-66628 is a high-severity vulnerability affecting imagemagick imagemagick. It was published on December 10, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from imagemagick. Update imagemagick to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
imagemagick imagemagick >= 0, < 7.1.2-10 Affected

Frequently Asked Questions

What is CVE-2025-66628?

CVE-2025-66628 is a high-severity vulnerability affecting imagemagick imagemagick. It was published on December 10, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2025-66628?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-66628?

Check the references section for vendor advisories and patches from imagemagick. Update imagemagick to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-66628?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-66628 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.