CVE-2025-66628
published high CVSS 3.1 · 7.5ImageMagick is vulnerable to an Integer Overflow in TIM decoder leading to out of bounds read (32-bit only)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ImageMagick | — | ImageMagick< 7.1.2-10 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagickaarch64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| Alpine Linux | edge | imagemagick | Fixed | 7.1.2.12-r0 | Package fix record |
| Debian | bullseye | imagemagick | Advisory build | 8:6.9.11.60+dfsg-1.3+deb11u8 | DLA-4429-1 |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagickppc64le | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagicks390x | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP3 | ImageMagickx86_64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagickaarch64 | Advisory build | 7.1.0.9-150400.6.58.1 | SUSE-SU-2026:0013-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagickppc64le | Advisory build | 7.1.0.9-150400.6.58.1 | SUSE-SU-2026:0013-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagicks390x | Advisory build | 7.1.0.9-150400.6.58.1 | SUSE-SU-2026:0013-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagickx86_64 | Advisory build | 7.1.0.9-150400.6.58.1 | SUSE-SU-2026:0013-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagickaarch64 | Advisory build | 7.1.0.9-150400.6.58.1 | SUSE-SU-2026:0013-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagickppc64le | Advisory build | 7.1.0.9-150400.6.58.1 | SUSE-SU-2026:0013-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagicks390x | Advisory build | 7.1.0.9-150400.6.58.1 | SUSE-SU-2026:0013-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagickx86_64 | Advisory build | 7.1.0.9-150400.6.58.1 | SUSE-SU-2026:0013-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickaarch64 | Advisory build | 7.1.1.21-150600.3.32.1 | SUSE-SU-2026:0011-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickppc64le | Advisory build | 7.1.1.21-150600.3.32.1 | SUSE-SU-2026:0011-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagicks390x | Advisory build | 7.1.1.21-150600.3.32.1 | SUSE-SU-2026:0011-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickx86_64 | Advisory build | 7.1.1.21-150600.3.32.1 | SUSE-SU-2026:0011-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickaarch64 | Advisory build | 7.1.1.43-150700.3.27.1 | SUSE-SU-2025:4427-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickppc64le | Advisory build | 7.1.1.43-150700.3.27.1 | SUSE-SU-2025:4427-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagicks390x | Advisory build | 7.1.1.43-150700.3.27.1 | SUSE-SU-2025:4427-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickx86_64 | Advisory build | 7.1.1.43-150700.3.27.1 | SUSE-SU-2025:4427-1 |
| SUSE / openSUSE | SLE-16 | ImageMagickaarch64 | Advisory build | 7.1.2.0-160000.5.1 | SUSE-SU-2026:20183-1 |
| SUSE / openSUSE | SLE-16 | ImageMagickppc64le | Advisory build | 7.1.2.0-160000.5.1 | SUSE-SU-2026:20183-1 |
| SUSE / openSUSE | SLE-16 | ImageMagicks390x | Advisory build | 7.1.2.0-160000.5.1 | SUSE-SU-2026:20183-1 |
| SUSE / openSUSE | SLE-16 | ImageMagickx86_64 | Advisory build | 7.1.2.0-160000.5.1 | SUSE-SU-2026:20183-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickaarch64 | Advisory build | 7.1.1.21-150600.3.32.1 | SUSE-SU-2026:0011-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickppc64le | Advisory build | 7.1.1.21-150600.3.32.1 | SUSE-SU-2026:0011-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagicks390x | Advisory build | 7.1.1.21-150600.3.32.1 | SUSE-SU-2026:0011-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickx86_64 | Advisory build | 7.1.1.21-150600.3.32.1 | SUSE-SU-2026:0011-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickaarch64 | Advisory build | 7.1.2.0-160000.5.1 | OPENSUSE-SU-2026:20118-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickppc64le | Advisory build | 7.1.2.0-160000.5.1 | OPENSUSE-SU-2026:20118-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagicks390x | Advisory build | 7.1.2.0-160000.5.1 | OPENSUSE-SU-2026:20118-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickx86_64 | Advisory build | 7.1.2.0-160000.5.1 | OPENSUSE-SU-2026:20118-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickaarch64 | Advisory build | 7.1.2.10-2.1 | OPENSUSE-SU-2025:15829-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickppc64le | Advisory build | 7.1.2.10-2.1 | OPENSUSE-SU-2025:15829-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagicks390x | Advisory build | 7.1.2.10-2.1 | OPENSUSE-SU-2025:15829-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickx86_64 | Advisory build | 7.1.2.10-2.1 | OPENSUSE-SU-2025:15829-1 |
| Alpine Linux | v3.22 | imagemagick | Fixed | 7.1.2.12-r0 | Package fix record |
| Alpine Linux | v3.23 | imagemagick | Fixed | 7.1.2.12-r0 | Package fix record |
| Alpine Linux | v3.24 | imagemagick | Fixed | 7.1.2.12-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-SUSEaarch64 | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-SUSEppc64le | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-SUSEs390x | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-SUSEx86_64 | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-upstreamaarch64 | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-upstreamppc64le | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-upstreams390x | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-upstreamx86_64 | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-develaarch64 | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-develppc64le | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-devels390x | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-develx86_64 | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagick++-develaarch64 | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagick++-develppc64le | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagick++-devels390x | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagick++-develx86_64 | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickCore-6_Q16-1aarch64 | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickCore-6_Q16-1ppc64le | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickCore-6_Q16-1s390x | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickCore-6_Q16-1x86_64 | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickWand-6_Q16-1aarch64 | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickWand-6_Q16-1ppc64le | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickWand-6_Q16-1s390x | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickWand-6_Q16-1x86_64 | Advisory build | 6.8.8.1-71.218.1 | SUSE-SU-2025:4429-1 |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagick-config-7-SUSEaarch64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagick-config-7-SUSEppc64le | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagick-config-7-SUSEs390x | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagick-config-7-SUSEx86_64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagick-config-7-upstreamaarch64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagick-config-7-upstreamppc64le | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagick-config-7-upstreams390x | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagick-config-7-upstreamx86_64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagick-develaarch64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagick-develppc64le | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagick-devels390x | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | ImageMagick-develx86_64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagick++-7_Q16HDRI4aarch64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagick++-7_Q16HDRI4ppc64le | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagick++-7_Q16HDRI4s390x | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagick++-7_Q16HDRI4x86_64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagick++-develaarch64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagick++-develppc64le | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagick++-devels390x | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagick++-develx86_64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagickCore-7_Q16HDRI6aarch64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagickCore-7_Q16HDRI6ppc64le | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagickCore-7_Q16HDRI6s390x | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagickCore-7_Q16HDRI6x86_64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagickWand-7_Q16HDRI6aarch64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagickWand-7_Q16HDRI6ppc64le | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagickWand-7_Q16HDRI6s390x | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | libMagickWand-7_Q16HDRI6x86_64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | perl-PerlMagickaarch64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | perl-PerlMagickppc64le | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | perl-PerlMagicks390x | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP3 | perl-PerlMagickx86_64 | Advisory build | 7.0.7.34-150200.10.68.1 | SUSE-SU-2025:4428-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-SUSEaarch64 | Advisory build | 7.1.0.9-150400.6.58.1 | SUSE-SU-2026:0013-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-SUSEppc64le | Advisory build | 7.1.0.9-150400.6.58.1 | SUSE-SU-2026:0013-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-SUSEs390x | Advisory build | 7.1.0.9-150400.6.58.1 | SUSE-SU-2026:0013-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ImageMagick | ImageMagick | < 7.1.2-10 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
2Provider assertions
2GitHub_M · cna
ImageMagick is vulnerable to an Integer Overflow in TIM decoder leading to out of bounds read (32-bit only)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ca2f4061ca4e2285708bbf7c9622551c93abfc6d556dc5816dd84f4728d0f6d4
- Ingested
- 23 Sep 2026, 08:56:35 UTC
- Source record
- Official CVE record