Skip to content
Noroxi
NVD / CVE Program· CNA GitHub_M

CVE-2025-66628: ImageMagick is vulnerable to an Integer Overflow in TIM decoder leading to out of bounds read (32-bit only)

Noroxi assessment

Priority: Monitor (action score 30/100)

  • Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.51% (FIRST EPSS).
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: ImageMagick ImageMagick 7.1.2-10.

Low priority for now. Upgrade to ImageMagick ImageMagick 7.1.2-10 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.5 · v3.1—Proof of concept Fix available
Published
Dec 10, 2025
Updated
Sep 25, 2026
EPSS
0.5% · 43th percentile

Report tools

JSON

Action score

30

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

CISA SSVC decision

Exploitation
none
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · GitHub_M
7.5
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2025-66628

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
imagemagickimagemagick

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • imagemagick imagemagickbefore 7.1.2-10

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • ImageMagick ImageMagick

    • < 7.1.2-10affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:11imagemagickbefore 8:6.9.11.60+dfsg-1.3+deb11u88:6.9.11.60+dfsg-1.3+deb11u8
Debian:12imagemagickbefore 8:6.9.11.60+dfsg-1.6+deb12u58:6.9.11.60+dfsg-1.6+deb12u5
Debian:13imagemagickbefore 8:7.1.1.43+dfsg1-1+deb13u48:7.1.1.43+dfsg1-1+deb13u4
Debian:14imagemagickbefore 8:7.1.2.12+dfsg1-18:7.1.2.12+dfsg1-1
NuGetMagick.NET-Q16-AnyCPUbefore 14.10.014.10.0
NuGetMagick.NET-Q16-HDRI-AnyCPUbefore 14.10.014.10.0
NuGetMagick.NET-Q16-HDRI-x86before 14.10.014.10.0
NuGetMagick.NET-Q16-x86before 14.10.014.10.0
NuGetMagick.NET-Q8-AnyCPUbefore 14.10.014.10.0
NuGetMagick.NET-Q8-x86before 14.10.014.10.0
openSUSE:Leap 15.6ImageMagickbefore 7.1.1.21-150600.3.32.17.1.1.21-150600.3.32.1
openSUSE:Leap 16.0ImageMagickbefore 7.1.2.0-160000.5.17.1.2.0-160000.5.1
openSUSE:TumbleweedImageMagickbefore 7.1.2.10-2.17.1.2.10-2.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSImageMagickbefore 7.0.7.34-150200.10.68.17.0.7.34-150200.10.68.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP7ImageMagickbefore 7.1.1.43-150700.3.27.17.1.1.43-150700.3.27.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP7ImageMagickbefore 7.1.0.9-150400.6.58.17.1.0.9-150400.6.58.1
SUSE:Linux Enterprise Server 12 SP5-LTSSImageMagickbefore 6.8.8.1-71.218.16.8.8.1-71.218.1
SUSE:Linux Enterprise Server 15 SP6-LTSSImageMagickbefore 7.1.1.21-150600.3.32.17.1.1.21-150600.3.32.1
SUSE:Linux Enterprise Server 16.0ImageMagickbefore 7.1.2.0-160000.5.17.1.2.0-160000.5.1

Other highest-scoring records for the same primary product.

  • CVE-2016-3714The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.9.3-10 and 7.x beforKEV
    92Now
  • CVE-2016-3718The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to conduct server-side request KEV
    75This week
  • CVE-2016-3715The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to delete arbitrary files via a crafted imKEV
    75This week

Published before and after this one in the same product

  • ← EarlierCVE-2025-62594Oct 27, 2025 · ImageMagick CLAHE : Unsigned underflow and division-by-zero lead to OOB pointer arithmetic and process crash (DoS)
    22Monitor
  • ← EarlierCVE-2025-65955Dec 2, 2025 · ImageMagick has a use-after-free/double-free risk in Options::fontFamily when clearing family
    24Monitor
  • Later →CVE-2025-68469Dec 18, 2025 · ImageMagick vulnerable to heap-buffer-overflow
    8Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
ImageMagick ImageMagick7.1.2-10 · descriptionVendor (CNA)
debian:imagemagick8:6.9.11.60+dfsg-1.6+deb12u5 · Debian:12Package registry (OSV)
NuGet:Magick.NET-Q16-AnyCPU14.10.0Package registry (OSV)
NuGet:Magick.NET-Q16-HDRI-AnyCPU14.10.0Package registry (OSV)
NuGet:Magick.NET-Q16-HDRI-x8614.10.0Package registry (OSV)
NuGet:Magick.NET-Q16-x8614.10.0Package registry (OSV)
NuGet:Magick.NET-Q8-AnyCPU14.10.0Package registry (OSV)
NuGet:Magick.NET-Q8-x8614.10.0Package registry (OSV)
opensuse:ImageMagick7.1.1.21-150600.3.32.1 · openSUSE:Leap 15.6Package registry (OSV)
suse:ImageMagick7.1.1.21-150600.3.32.1 · SUSE:Linux Enterprise Server 15 SP6-LTSSPackage registry (OSV)
suse:ImageMagick7.1.1.43-150700.3.27.1 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP7Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:12025-12-11

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoCsame day
  3. TodayNov 1, 2026+326 d

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2025-53014149 days apartImageMagick has Heap Buffer Overflow in InterpretImageFilename
    39Monitor
  • CVE-2026-2589875 days apartImagemagick Has Global Buffer Overflow (OOB Read) via Negative Pixel Index in UIL and XPM Writer
    36Monitor
  • CVE-2026-2598775 days apartImageMagick has heap buffer over-read in MAP image decoder
    36Monitor
  • CVE-2026-2869390 days apartImageMagick has an integer overflow in DIB coder can result in out of bounds read or write
    32Monitor
  • CVE-2026-2448175 days apartImageMagick has Possible Heap Information Disclosure in PSD ZIP Decompression
    30Monitor
  • CVE-2025-53019149 days apartImageMagick has Memory Leak in magick stream
    30Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

Weakness class (CWE)

CWE-125 · Out-of-bounds Read

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Show all references (1 more)

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records