ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-25797

ImageMagick: ImageMagick: Arbitrary code execution via crafted PostScript files

Moderate No fix available CVE-2026-25797

Details

A flaw was found in ImageMagick, a software used for editing and manipulating digital images. This vulnerability allows an attacker to inject malicious code into PostScript files due to improper input sanitization in the PostScript coders. When a specially crafted file is processed by a printer or viewer, this injected code can be executed, potentially leading to arbitrary code execution. A similar issue exists in the HTML encoder, where improper escaping of strings could allow for arbitrary HTML injection.

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)
Red Hat:enterprise_linux:7ImageMagick
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ImageMagick-c++
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ImageMagick-c++-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ImageMagick-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ImageMagick-doc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ImageMagick-perl
All versions, no fix (out of support scope)

References