CVE-2025-66628

unknown
Published 2025-12-10 ยท Modified 2026-05-09
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
โ€”

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.

Predictions

Exploit likelihood
30%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 8:7.1.1.43+dfsg1-1+deb13u4
sid Fixed 8:7.1.2.12+dfsg1-1
forky Fixed 8:7.1.2.12+dfsg1-1
bullseye Fixed 8:6.9.11.60+dfsg-1.3+deb11u8
bookworm Fixed 8:6.9.11.60+dfsg-1.6+deb12u5

Package impact

EcosystemPackageVulnerableFixed
nuget NuGetMagick.NET-Q16-AnyCPU<14.10.014.10.0
nuget NuGetMagick.NET-Q16-HDRI-AnyCPU<14.10.014.10.0
nuget NuGetMagick.NET-Q16-HDRI-x86<14.10.014.10.0
nuget NuGetMagick.NET-Q16-x86<14.10.014.10.0
nuget NuGetMagick.NET-Q8-AnyCPU<14.10.014.10.0
nuget NuGetMagick.NET-Q8-x86<14.10.014.10.0

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.