CVE-2026-25794
published high CVSS 3.1 · 8.2ImageMagick has heap-buffer-overflow via signed integer overflow in `WriteUHDRImage` when writing UHDR images with large dimensions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ImageMagick | — | ImageMagick< 7.1.2-15 | Affected | Not stated | GitHub_M |
| Red Hat Enterprise Linux | 6 | ImageMagick | Unknown | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 7 | ImageMagick | Unaffected | Not required | redhat-SADP |
| 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 | openSUSE-Leap-16.0 | ImageMagickaarch64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| Alpine Linux | edge | imagemagick | Fixed | 7.1.2.15-r0 | Package fix record |
| Debian | trixie | imagemagick | Advisory build | 8:7.1.1.43+dfsg1-1+deb13u6 | DSA-6158-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickppc64le | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagicks390x | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickx86_64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickaarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagicks390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickx86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| Alpine Linux | v3.22 | imagemagick | Fixed | 7.1.2.15-r0 | Package fix record |
| Alpine Linux | v3.23 | imagemagick | Fixed | 7.1.2.15-r0 | Package fix record |
| Alpine Linux | v3.24 | imagemagick | Fixed | 7.1.2.15-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagick-config-7-SUSEnoarch | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagick-config-7-upstream-limitednoarch | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagick-config-7-upstream-opennoarch | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagick-config-7-upstream-securenoarch | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagick-config-7-upstream-websafenoarch | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagick-develaarch64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagick-develppc64le | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagick-devels390x | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagick-develx86_64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagick-docnoarch | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagick-extraaarch64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagick-extrappc64le | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagick-extras390x | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagick-extrax86_64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagick++-7_Q16HDRI5aarch64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagick++-7_Q16HDRI5ppc64le | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagick++-7_Q16HDRI5s390x | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagick++-7_Q16HDRI5x86_64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagick++-develaarch64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagick++-develppc64le | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagick++-devels390x | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagick++-develx86_64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagickCore-7_Q16HDRI10aarch64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagickCore-7_Q16HDRI10ppc64le | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagickCore-7_Q16HDRI10s390x | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagickCore-7_Q16HDRI10x86_64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagickWand-7_Q16HDRI10aarch64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagickWand-7_Q16HDRI10ppc64le | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagickWand-7_Q16HDRI10s390x | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libMagickWand-7_Q16HDRI10x86_64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-PerlMagickaarch64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-PerlMagickppc64le | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-PerlMagicks390x | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-PerlMagickx86_64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-config-7-SUSEaarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-config-7-SUSEppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-config-7-SUSEs390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-config-7-SUSEx86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-develaarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-develppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-devels390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-develx86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-devel-32bitaarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-devel-32bitppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-devel-32bits390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-devel-32bitx86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-docaarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-docppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-docs390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-docx86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-extraaarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-extrappc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-extras390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagick-extrax86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-7_Q16HDRI5aarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-7_Q16HDRI5ppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-7_Q16HDRI5s390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-7_Q16HDRI5x86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-7_Q16HDRI5-32bitaarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-7_Q16HDRI5-32bitppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-7_Q16HDRI5-32bits390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-7_Q16HDRI5-32bitx86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-develaarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-develppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-devels390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-develx86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-devel-32bitaarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-devel-32bitppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-devel-32bits390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagick++-devel-32bitx86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickCore-7_Q16HDRI10aarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickCore-7_Q16HDRI10ppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickCore-7_Q16HDRI10s390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickCore-7_Q16HDRI10x86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickCore-7_Q16HDRI10-32bitaarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickCore-7_Q16HDRI10-32bitppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickCore-7_Q16HDRI10-32bits390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickCore-7_Q16HDRI10-32bitx86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickWand-7_Q16HDRI10aarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickWand-7_Q16HDRI10ppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickWand-7_Q16HDRI10s390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickWand-7_Q16HDRI10x86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickWand-7_Q16HDRI10-32bitaarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickWand-7_Q16HDRI10-32bitppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickWand-7_Q16HDRI10-32bits390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libMagickWand-7_Q16HDRI10-32bitx86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-PerlMagickaarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. `WriteUHDRImage` in `coders/uhdr.c` uses `int` arithmetic to compute the pixel buffer size. Prior to version 7.1.2-15, when image dimensions are large, the multiplication overflows 32-bit `int`, causing an undersized heap allocation followed by an out-of-bounds write. This can crash the process or potentially lead to an out of bounds heap write. Version 7.1.2-15 contains a patch.
A flaw was found in ImageMagick. When processing images with large dimensions, the `WriteUHDRImage` function in `coders/uhdr.c` uses integer arithmetic that can overflow. This overflow leads to an undersized memory allocation, followed by an out-of-bounds write. A remote attacker could exploit this vulnerability by providing a specially crafted image, potentially causing a denial of service or, in some cases, arbitrary code execution.
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
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.2 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ImageMagick | ImageMagick | < 7.1.2-15 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat-SADP · adp |
Weaknesses
3- CWE-122 CWE-122: Heap-based Buffer Overflow
- CWE-190 CWE-190: Integer Overflow or Wraparound
- CWE-190 Integer Overflow or Wraparound
References
4Provider assertions
3GitHub_M · cna
ImageMagick has heap-buffer-overflow via signed integer overflow in `WriteUHDRImage` when writing UHDR images with large dimensions
redhat-SADP · adp
ImageMagick: ImageMagick: Denial of service and potential arbitrary code execution via integer overflow in image processing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5db937ed86c527d836c899894b3075303bba2a27c28b8765a733c9edbb6c7d3b
- Ingested
- 23 Sep 2026, 09:07:08 UTC
- Source record
- Official CVE record