CVE-2025-62171
published medium CVSS 3.1 · 5.9ImageMagick vulnerable to denial of service via integer overflow in BMP decoder on 32-bit systems
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ImageMagick | — | ImageMagick< 6.9.13-32 · >= 7.0.0-0, < 7.1.2-7 | 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 |
| Oracle Linux | 7 | ImageMagickx86_64 | Advisory build | 0:6.9.10.68-7.0.5.el7_9 | ELSA-2026-3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagicki686 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickaarch64 | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| Alpine Linux | edge | imagemagick | Fixed | 7.1.2.8-r0 | Package fix record |
| Debian | bullseye | imagemagick | Advisory build | 8:6.9.11.60+dfsg-1.3+deb11u7 | DLA-4339-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | ImageMagickppc | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagickppc64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagickppc64le | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagicks390 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagicks390x | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagicksrc | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagickx86_64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickppc64le | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagicks390x | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickx86_64 | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickaarch64 | Advisory build | 7.1.1.43-150700.3.19.1 | SUSE-SU-2025:3867-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickppc64le | Advisory build | 7.1.1.43-150700.3.19.1 | SUSE-SU-2025:3867-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagicks390x | Advisory build | 7.1.1.43-150700.3.19.1 | SUSE-SU-2025:3867-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickx86_64 | Advisory build | 7.1.1.43-150700.3.19.1 | SUSE-SU-2025:3867-1 |
| SUSE / openSUSE | SLE-16 | ImageMagickaarch64 | Advisory build | 7.1.2.0-160000.4.1 | SUSE-SU-2025:21211-1 |
| SUSE / openSUSE | SLE-16 | ImageMagickppc64le | Advisory build | 7.1.2.0-160000.4.1 | SUSE-SU-2025:21211-1 |
| SUSE / openSUSE | SLE-16 | ImageMagicks390x | Advisory build | 7.1.2.0-160000.4.1 | SUSE-SU-2025:21211-1 |
| SUSE / openSUSE | SLE-16 | ImageMagickx86_64 | Advisory build | 7.1.2.0-160000.4.1 | SUSE-SU-2025:21211-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickaarch64 | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickppc64le | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagicks390x | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickx86_64 | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickaarch64 | Advisory build | 7.1.2.0-160000.4.1 | OPENSUSE-SU-2025:20162-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickppc64le | Advisory build | 7.1.2.0-160000.4.1 | OPENSUSE-SU-2025:20162-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagicks390x | Advisory build | 7.1.2.0-160000.4.1 | OPENSUSE-SU-2025:20162-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickx86_64 | Advisory build | 7.1.2.0-160000.4.1 | OPENSUSE-SU-2025:20162-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickaarch64 | Advisory build | 7.1.2.7-1.1 | OPENSUSE-SU-2025:15650-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickppc64le | Advisory build | 7.1.2.7-1.1 | OPENSUSE-SU-2025:15650-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagicks390x | Advisory build | 7.1.2.7-1.1 | OPENSUSE-SU-2025:15650-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickx86_64 | Advisory build | 7.1.2.7-1.1 | OPENSUSE-SU-2025:15650-1 |
| Alpine Linux | v3.22 | imagemagick | Fixed | 7.1.2.8-r0 | Package fix record |
| Alpine Linux | v3.23 | imagemagick | Fixed | 7.1.2.8-r0 | Package fix record |
| Alpine Linux | v3.24 | imagemagick | Fixed | 7.1.2.8-r0 | Package fix record |
| Oracle Linux | 7 | ImageMagick-c++x86_64 | Advisory build | 0:6.9.10.68-7.0.5.el7_9 | ELSA-2026-3058 |
| Oracle Linux | 7 | ImageMagick-c++-develx86_64 | Advisory build | 0:6.9.10.68-7.0.5.el7_9 | ELSA-2026-3058 |
| Oracle Linux | 7 | ImageMagick-develx86_64 | Advisory build | 0:6.9.10.68-7.0.5.el7_9 | ELSA-2026-3058 |
| Oracle Linux | 7 | ImageMagick-docx86_64 | Advisory build | 0:6.9.10.68-7.0.5.el7_9 | ELSA-2026-3058 |
| Oracle Linux | 7 | ImageMagick-perlx86_64 | Advisory build | 0:6.9.10.68-7.0.5.el7_9 | ELSA-2026-3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++i686 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++ppc | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++ppc64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++ppc64le | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++s390 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++s390x | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++x86_64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develi686 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develppc | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develppc64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develppc64le | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-devels390 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-devels390x | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develx86_64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-debuginfoi686 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-debuginfoppc | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-debuginfoppc64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-debuginfoppc64le | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-debuginfos390 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-debuginfos390x | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-debuginfox86_64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develi686 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develppc | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develppc64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develppc64le | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-devels390 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-devels390x | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develx86_64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-docppc64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-docppc64le | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-docs390x | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-docx86_64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-perlppc64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-perlppc64le | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-perls390x | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-perlx86_64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-SUSEx86_64 | Advisory build | 6.8.8.1-71.215.1 | SUSE-SU-2025:3918-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-upstreamx86_64 | Advisory build | 6.8.8.1-71.215.1 | SUSE-SU-2025:3918-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-develx86_64 | Advisory build | 6.8.8.1-71.215.1 | SUSE-SU-2025:3918-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagick++-develx86_64 | Advisory build | 6.8.8.1-71.215.1 | SUSE-SU-2025:3918-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickCore-6_Q16-1x86_64 | Advisory build | 6.8.8.1-71.215.1 | SUSE-SU-2025:3918-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickWand-6_Q16-1x86_64 | Advisory build | 6.8.8.1-71.215.1 | SUSE-SU-2025:3918-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-SUSEaarch64 | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-SUSEppc64le | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-SUSEs390x | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-SUSEx86_64 | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-upstreamaarch64 | Advisory build | 7.1.0.9-150400.6.46.1 | SUSE-SU-2025:3796-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-upstreamppc64le | Advisory build | 7.1.0.9-150400.6.46.1 | SUSE-SU-2025:3796-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-upstreams390x | Advisory build | 7.1.0.9-150400.6.46.1 | SUSE-SU-2025:3796-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-upstreamx86_64 | Advisory build | 7.1.0.9-150400.6.46.1 | SUSE-SU-2025:3796-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-upstream-limitedaarch64 | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-upstream-limitedppc64le | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-upstream-limiteds390x | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-upstream-limitedx86_64 | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-upstream-openaarch64 | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-upstream-openppc64le | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagick-config-7-upstream-opens390x | Advisory build | 7.1.1.21-150600.3.26.1 | SUSE-SU-2025:3844-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
ImageMagick is an open source software suite for displaying, converting, and editing raster image files. In ImageMagick versions prior to 7.1.2-7 and 6.9.13-32, an integer overflow vulnerability exists in the BMP decoder on 32-bit systems. The vulnerability occurs in coders/bmp.c when calculating the extent value by multiplying image columns by bits per pixel. On 32-bit systems with size_t of 4 bytes, a malicious BMP file with specific dimensions can cause this multiplication to overflow and wrap to zero. The overflow check added to address CVE-2025-57803 is placed after the overflow occurs, making it ineffective. A specially crafted 58-byte BMP file with width set to 536,870,912 and 32 bits per pixel can trigger this overflow, causing the bytes_per_line calculation to become zero. This vulnerability only affects 32-bit builds of ImageMagick where default resource limits for width, height, and area have been manually increased beyond their defaults. 64-bit systems with size_t of 8 bytes are not vulnerable, and systems using default ImageMagick resource limits are not vulnerable. The vulnerability is fixed in versions 7.1.2-7 and 6.9.13-32.
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
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ImageMagick | ImageMagick | < 6.9.13-32 (affected)>= 7.0.0-0, < 7.1.2-7 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-190 CWE-190: Integer Overflow or Wraparound
References
3Provider assertions
3GitHub_M · cna
ImageMagick vulnerable to denial of service via integer overflow in BMP decoder on 32-bit systems
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 529f154634eee4612d88b78c7a774ed5d6471b1b4745c1675da47252b484141b
- Ingested
- 23 Sep 2026, 08:55:27 UTC
- Source record
- Official CVE record