Red Hat VEX
RHVEX-CVE-2026-25794
ImageMagick: ImageMagick: Denial of service and potential arbitrary code execution via integer overflow in image processing
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | ImageMagick | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ImageMagick-c++ | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ImageMagick-c++-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ImageMagick-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ImageMagick-doc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ImageMagick-perl | All versions, no fix (out of support scope) |