CVE-2025-62594
MEDIUM 5.5CVSS 3.1ImageMagick CLAHE : Unsigned underflow and division-by-zero lead to OOB pointer arithmetic and process crash (DoS)
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.
- Published
- 27 Oct 2025
- Last modified
- 19 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-119CWE-191CWE-369
- Also known as
- GHSA-wpp4-vqfq-v4hp
- Sources
- NVDJSONOSV GHSA-wpp4-vqfq-v4hpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | imagemagick | imagemagickcpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* |
< 7.1.2-8 | 7.1.2-8 |
| OSV | NuGet | Magick.NET-Q16-x64 | <= 14.9.0 | |
| OSV | NuGet | Magick.NET-Q8-x64 | <= 14.9.0 | |
| OSV | NuGet | Magick.NET-Q16-HDRI-x64 | <= 14.9.0 | |
| OSV | NuGet | Magick.NET-Q8-OpenMP-x64 | <= 14.9.0 | |
| OSV | NuGet | Magick.NET-Q16-HDRI-OpenMP-x64 | <= 14.9.0 | |
| OSV | NuGet | Magick.NET-Q16-OpenMP-x64 | <= 14.9.0 | |
| OSV | NuGet | Magick.NET-Q8-arm64 | <= 14.9.0 | |
| OSV | NuGet | Magick.NET-Q16-arm64 | <= 14.9.0 | |
| OSV | NuGet | Magick.NET-Q16-OpenMP-arm64 | <= 14.9.0 | |
| OSV | NuGet | Magick.NET-Q8-OpenMP-arm64 | <= 14.9.0 | |
| OSV | NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 | <= 14.9.0 | |
| OSV | NuGet | Magick.NET-Q16-HDRI-arm64 | <= 14.9.0 |
References
- https://github.com/ImageMagick/ImageMagick/commit/7b47fe369eda90483402fcd3d78fa4167d3bb129 · Patch, WEB
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-wpp4-vqfq-v4hp · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-62594 · ADVISORY
- https://github.com/ImageMagick/ImageMagick · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 27 Oct 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Oct 2025)