VDB

CVE-2025-66628

CVE-2025-66628 PUBLISHED CVSS 7.5 HIGH

Reported by github_m · Published December 10, 2025

magick.net-q8-anycpu is fixed in 14.10.0 (NuGet)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
magick.net-q8-anycpuNuGet14.10.0
Magick.NET-Q16-x86NuGet14.10.0
Magick.NET-Q16-AnyCPUNuGet14.10.0
Magick.NET-Q16-HDRI-AnyCPUNuGet14.10.0
Magick.NET-Q8-x86NuGet14.10.0
Magick.NET-Q16-HDRI-x86NuGet14.10.0
imagemagick-6Chainguard7.1.2.20-r0, 6.9.13.46-r1
imagemagickAlpine7.1.2.12-r0
imagemagickimagemagick7.1.2-10
nextcloudDHI7.1.2-10

Risk scores

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

Affected products

VendorProductVersions
ImageMagickImageMagick< 7.1.2-10
NuGetmagick.net-q8-anycpu0
NuGetMagick.NET-Q16-x860
chainguardimagemagick-60, 0
alpineimagemagick0
ImageMagickImageMagick0
NuGetMagick.NET-Q16-HDRI-x860
NuGetmagick.net-q16-hdri-anycpu0
NuGetMagick.NET-Q16-AnyCPU0
NuGetMagick.NET-Q8-x860
NuGetMagick.NET-Q8-AnyCPU0
NuGetmagick.net-q16-anycpu0
NuGetMagick.NET-Q16-HDRI-AnyCPU0

Timeline

  • Dec 10, 2025 CVE Published
  • Dec 11, 2025 EPSS Score (30 in total, the first dated here)
  • Jan 6, 2026 PoC Published
  • Mar 20, 2026 Security Advisory (2 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-66628
vulnetix vdb fixes CVE-2025-66628

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-66628/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›