CVE-2025-62594 json
ImageMagick CLAHE : Unsigned underflow and division-by-zero lead to OOB pointer arithmetic and process crash (DoS)
published 2025-10-27 12 mo ago modified 2026-10-19 21 d ago also EUVD-2025-36365 , GHSA-wpp4-vqfq-v4hp , JLSEC-2026-928
- cvss
- 4.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 30%
- public exploits
- 0
- none known
Summary
ImageMagick is a software suite to create, edit, compose, or convert bitmap images. ImageMagick versions prior to 7.1.2-8 are vulnerable to denial-of-service due to unsigned integer underflow and division-by-zero in the CLAHEImage function. When tile width or height is zero, unsigned underflow occurs in pointer arithmetic, leading to out-of-bounds memory access, and division-by-zero causes immediate crashes. This issue has been patched in version 7.1.2-8.
Patch / fix
- julia ImageMagick_jll 7.1.2011+0
- imagemagick imagemagick 7.1.2-8
- imagemagick Debian 13 8:7.1.1.43+dfsg1-1+deb13u4
- imagemagick Debian 14 8:7.1.2.8+dfsg1-1
debian advisories DEBIAN-CVE-2025-62594
- imagemagick Ubuntu 26.04 LTS 8:7.1.2.8+dfsg1-1
ubuntu advisories UBUNTU-CVE-2025-62594
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ImageMagick SLES for SAP applications 16.0, SLES 16.0 7.1.2.0-160000.4.1
- ImageMagick SLE Module for Desktop Applications 15 SP7, SLE Module for Desktop Applications 15 SP6 7.1.0.9-150400.6.51.1
- ImageMagick SLE Module for Development Tools 15 SP6, SLE Module for Desktop Applications 15 SP6, openSUSE Leap 15.6 7.1.1.21-150600.3.29.1
- ImageMagick SLE Module for Development Tools 15 SP7, SLE Module for Desktop Applications 15 SP7 7.1.1.43-150700.3.22.1
suse advisories SUSE-SU-2025:21211-1SUSE-SU-2025:3985-1SUSE-SU-2025:3978-1SUSE-SU-2025:3956-1
- ImageMagick openSUSE Leap 16.0 7.1.2.0-160000.4.1
- ImageMagick openSUSE Tumbleweed 7.1.2.8-1.1
opensuse advisories openSUSE-SU-2025:20162-1openSUSE-SU-2025:15685-1
- imagemagick Alpine 3.24, Alpine 3.23, Alpine 3.22 7.1.2.8-r0
alpine advisories ALPINE-CVE-2025-62594
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-62594 updated cvss 4.7
ImageMagick: ImageMagick CLAHE : Unsigned underflow and division-by-zero lead to OOB pointer arithmetic and process crash (DoS)
-
Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perlaffected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 12 mo ago
Exploit prediction
0.37% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-wpp4-vqfq-v4hp referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | Magick.NET-Q16-x64 | <=14.9.0 |
no fix listed |
| nuget | Magick.NET-Q8-x64 | <=14.9.0 |
no fix listed |
| nuget | Magick.NET-Q16-HDRI-x64 | <=14.9.0 |
no fix listed |
| nuget | Magick.NET-Q8-OpenMP-x64 | <=14.9.0 |
no fix listed |
| nuget | Magick.NET-Q16-HDRI-OpenMP-x64 | <=14.9.0 |
no fix listed |
| nuget | Magick.NET-Q16-OpenMP-x64 | <=14.9.0 |
no fix listed |
| nuget | Magick.NET-Q8-arm64 | <=14.9.0 |
no fix listed |
| nuget | Magick.NET-Q16-arm64 | <=14.9.0 |
no fix listed |
| nuget | Magick.NET-Q16-OpenMP-arm64 | <=14.9.0 |
no fix listed |
| nuget | Magick.NET-Q8-OpenMP-arm64 | <=14.9.0 |
no fix listed |
| nuget | Magick.NET-Q16-HDRI-OpenMP-arm64 | <=14.9.0 |
no fix listed |
| nuget | Magick.NET-Q16-HDRI-arm64 | <=14.9.0 |
no fix listed |
| julia | ImageMagick_jll | <7.1.2011+0 |
7.1.2011+0 |
Affected products
- ImageMagick ImageMagick
Classification
References
-
github.com
/ImageMagick/ImageMagick/commit/7b47fe369eda90483402fcd3d78fa4167d3bb129
web, patch
-
github.com
/ImageMagick/ImageMagick/security/advisories/GHSA-wpp4-vqfq-v4hp
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-62594
advisory, web
-
github.com
/ImageMagick/ImageMagick
package
-
github.com
/advisories/GHSA-wpp4-vqfq-v4hp
web
Sources
- CVE List CVE-2025-62594
- GitHub Advisory GHSA-wpp4-vqfq-v4hp
- NVD CVE-2025-62594
- OSV JLSEC-2026-928
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.