ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-25794

ImageMagick: ImageMagick: Denial of service and potential arbitrary code execution via integer overflow in image processing

Important No fix available CVE-2026-25794

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

EcosystemPackageAffected versions
Red Hat:enterprise_linux:6ImageMagick
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ImageMagick-c++
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ImageMagick-c++-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ImageMagick-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ImageMagick-doc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ImageMagick-perl
All versions, no fix (out of support scope)

References