Out-of-bounds read in ImageMagick - CVE-2026-45359

 

Out-of-bounds read in ImageMagick - CVE-2026-45359

Published: May 16, 2026


Vulnerability identifier: #VU131588
CSH Severity: Low
CVSS v4: 5.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-45359
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information and cause a denial of service.

The vulnerability exists due to out-of-bounds read in the connected components operation when processing an invalid connected-components:keep-top define value. A remote attacker can supply a crafted connected-components:keep-top value to disclose sensitive information and cause a denial of service.


Affected software

ImageMagick
SUSE Linux Enterprise Server 15 SP6
Debian Linux
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
Desktop Applications Module
openSUSE Leap
openEuler
Anolis OS
imagemagick (Debian package)
libMagickCore-7_Q16HDRI10
ImageMagick-devel-32bit
libMagick++-7_Q16HDRI5-32bit-debuginfo
ImageMagick-extra
ImageMagick-extra-debuginfo
libMagickCore-7_Q16HDRI10-debuginfo
ImageMagick-config-7-SUSE
libMagick++-7_Q16HDRI5
libMagick++-7_Q16HDRI5-debuginfo
ImageMagick-debugsource
libMagickWand-7_Q16HDRI10-32bit-debuginfo
ImageMagick-config-7-upstream
libMagickWand-7_Q16HDRI10-debuginfo
ImageMagick
ImageMagick-debuginfo
libMagickWand-7_Q16HDRI10
perl-PerlMagick
ImageMagick-devel
perl-PerlMagick-debuginfo
libMagick++-devel
libMagickCore-7_Q16HDRI10-32bit
ImageMagick-doc
ImageMagick-devel-64bit
libMagick++-devel-64bit
libMagickWand-7_Q16HDRI10-64bit-debuginfo
libMagickCore-7_Q16HDRI10-64bit-debuginfo
libMagickWand-7_Q16HDRI10-64bit
libMagick++-7_Q16HDRI5-64bit
libMagickCore-7_Q16HDRI10-64bit
libMagick++-7_Q16HDRI5-64bit-debuginfo
libMagick++-7_Q16HDRI5-32bit
libMagickWand-7_Q16HDRI10-32bit
libMagickCore-7_Q16HDRI10-32bit-debuginfo
libMagick++-devel-32bit
ImageMagick-libs
ImageMagick-djvu
ImageMagick-c++-devel
ImageMagick-c++
ImageMagick-perl
ImageMagick-help

How to mitigate CVE-2026-45359

Install security update from vendor's website.

ImageMagick - update to 7.1.2-22
imagemagick (Debian package) - addressed in versions 8:6.9.11.60+dfsg-1.6+deb12u10, 8:7.1.1.43+dfsg1-1+deb13u9
libMagickCore-7_Q16HDRI10 - update to 7.1.0.9-150400.6.87.1
ImageMagick-devel-32bit - update to 7.1.0.9-150400.6.87.1
libMagick++-7_Q16HDRI5-32bit-debuginfo - update to 7.1.0.9-150400.6.87.1
ImageMagick-extra - update to 7.1.0.9-150400.6.87.1
ImageMagick-extra-debuginfo - update to 7.1.0.9-150400.6.87.1
libMagickCore-7_Q16HDRI10-debuginfo - update to 7.1.0.9-150400.6.87.1
ImageMagick-config-7-SUSE - update to 7.1.0.9-150400.6.87.1
libMagick++-7_Q16HDRI5 - update to 7.1.0.9-150400.6.87.1
libMagick++-7_Q16HDRI5-debuginfo - update to 7.1.0.9-150400.6.87.1
ImageMagick-debugsource - update to 7.1.0.9-150400.6.87.1
libMagickWand-7_Q16HDRI10-32bit-debuginfo - update to 7.1.0.9-150400.6.87.1
ImageMagick-config-7-upstream - update to 7.1.0.9-150400.6.87.1
libMagickWand-7_Q16HDRI10-debuginfo - update to 7.1.0.9-150400.6.87.1
ImageMagick - update to 7.1.0.9-150400.6.87.1
ImageMagick-debuginfo - update to 7.1.0.9-150400.6.87.1
libMagickWand-7_Q16HDRI10 - update to 7.1.0.9-150400.6.87.1
perl-PerlMagick - update to 7.1.0.9-150400.6.87.1
ImageMagick-devel - update to 7.1.0.9-150400.6.87.1
perl-PerlMagick-debuginfo - update to 7.1.0.9-150400.6.87.1
libMagick++-devel - update to 7.1.0.9-150400.6.87.1
libMagickCore-7_Q16HDRI10-32bit - update to 7.1.0.9-150400.6.87.1
ImageMagick-doc - update to 7.1.0.9-150400.6.87.1
ImageMagick-devel-64bit - update to 7.1.0.9-150400.6.87.1
libMagick++-devel-64bit - update to 7.1.0.9-150400.6.87.1
libMagickWand-7_Q16HDRI10-64bit-debuginfo - update to 7.1.0.9-150400.6.87.1
libMagickCore-7_Q16HDRI10-64bit-debuginfo - update to 7.1.0.9-150400.6.87.1
libMagickWand-7_Q16HDRI10-64bit - update to 7.1.0.9-150400.6.87.1
libMagick++-7_Q16HDRI5-64bit - update to 7.1.0.9-150400.6.87.1
libMagickCore-7_Q16HDRI10-64bit - update to 7.1.0.9-150400.6.87.1
libMagick++-7_Q16HDRI5-64bit-debuginfo - update to 7.1.0.9-150400.6.87.1
libMagick++-7_Q16HDRI5-32bit - update to 7.1.0.9-150400.6.87.1
libMagickWand-7_Q16HDRI10-32bit - update to 7.1.0.9-150400.6.87.1
libMagickCore-7_Q16HDRI10-32bit-debuginfo - update to 7.1.0.9-150400.6.87.1
libMagick++-devel-32bit - update to 7.1.0.9-150400.6.87.1
ImageMagick-libs - update to 7.1.2.15-12
ImageMagick-doc - update to 7.1.2.15-12
ImageMagick-djvu - update to 7.1.2.15-12
ImageMagick-devel - update to 7.1.2.15-12
ImageMagick-c++-devel - update to 7.1.2.15-12
ImageMagick-c++ - update to 7.1.2.15-12
ImageMagick - update to 7.1.2.15-12
ImageMagick-perl - update to 7.1.2.15-12
ImageMagick-help - update to 7.1.2.23-1
ImageMagick - update to 7.1.2.23-1
ImageMagick-c++ - update to 7.1.2.23-1
ImageMagick-c++-devel - update to 7.1.2.23-1
ImageMagick-debuginfo - update to 7.1.2.23-1
ImageMagick-debugsource - update to 7.1.2.23-1
ImageMagick-devel - update to 7.1.2.23-1
ImageMagick-perl - update to 7.1.2.23-1

External References

Related Security Bulletins