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

 

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

Published: July 23, 2026


Vulnerability identifier: #VU139205
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-64685
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in BGR decoder. A remote attacker can trigger an out-of-bounds read error and read contents of memory on the system.


Affected software

ImageMagick
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
Desktop Applications Module
Development Tools Module
openSUSE Leap
libMagickCore-7_Q16HDRI10-32bit
libMagickCore-7_Q16HDRI10-64bit
libMagickWand-7_Q16HDRI10-64bit-debuginfo
libMagick++-devel-64bit
libMagick++-7_Q16HDRI5-64bit
libMagick++-7_Q16HDRI5-64bit-debuginfo
ImageMagick-devel-64bit
libMagickWand-7_Q16HDRI10-64bit
libMagick++-devel-32bit
ImageMagick-devel
libMagick++-7_Q16HDRI5-32bit-debuginfo
libMagick++-7_Q16HDRI5-32bit
libMagickWand-7_Q16HDRI10-32bit
ImageMagick-devel-32bit
libMagickCore-7_Q16HDRI10-32bit-debuginfo
libMagickWand-7_Q16HDRI10-32bit-debuginfo
ImageMagick-doc
ImageMagick-debugsource
libMagickCore-7_Q16HDRI10-64bit-debuginfo
libMagickCore-7_Q16HDRI10
ImageMagick-extra-debuginfo
ImageMagick
libMagick++-devel
ImageMagick-extra
perl-PerlMagick-debuginfo
libMagick++-7_Q16HDRI5
libMagickWand-7_Q16HDRI10-debuginfo
libMagick++-7_Q16HDRI5-debuginfo
perl-PerlMagick
libMagickWand-7_Q16HDRI10
ImageMagick-config-7-upstream
libMagickCore-7_Q16HDRI10-debuginfo
ImageMagick-config-7-SUSE
ImageMagick-debuginfo
ImageMagick-config-7-upstream-limited
ImageMagick-config-7-upstream-websafe
ImageMagick-config-7-upstream-secure
ImageMagick-config-7-upstream-open

How to mitigate CVE-2026-64685

Install updates from vendor's website.

ImageMagick - update to 7.1.2-27
libMagickCore-7_Q16HDRI10-32bit - update to 7.1.0.9-150400.6.110.1
libMagickCore-7_Q16HDRI10-64bit - update to 7.1.0.9-150400.6.110.1
libMagickWand-7_Q16HDRI10-64bit-debuginfo - update to 7.1.0.9-150400.6.110.1
libMagick++-devel-64bit - update to 7.1.0.9-150400.6.110.1
libMagick++-7_Q16HDRI5-64bit - update to 7.1.0.9-150400.6.110.1
libMagick++-7_Q16HDRI5-64bit-debuginfo - update to 7.1.0.9-150400.6.110.1
ImageMagick-devel-64bit - update to 7.1.0.9-150400.6.110.1
libMagickWand-7_Q16HDRI10-64bit - update to 7.1.0.9-150400.6.110.1
libMagick++-devel-32bit - update to 7.1.0.9-150400.6.110.1
ImageMagick-devel - addressed in versions 7.1.0.9-150400.6.110.1, 7.1.1.43-150700.3.79.1
libMagick++-7_Q16HDRI5-32bit-debuginfo - update to 7.1.0.9-150400.6.110.1
libMagick++-7_Q16HDRI5-32bit - update to 7.1.0.9-150400.6.110.1
libMagickWand-7_Q16HDRI10-32bit - update to 7.1.0.9-150400.6.110.1
ImageMagick-devel-32bit - update to 7.1.0.9-150400.6.110.1
libMagickCore-7_Q16HDRI10-32bit-debuginfo - update to 7.1.0.9-150400.6.110.1
libMagickWand-7_Q16HDRI10-32bit-debuginfo - update to 7.1.0.9-150400.6.110.1
ImageMagick-doc - update to 7.1.0.9-150400.6.110.1
ImageMagick-debugsource - addressed in versions 7.1.0.9-150400.6.110.1, 7.1.1.43-150700.3.79.1
libMagickCore-7_Q16HDRI10-64bit-debuginfo - update to 7.1.0.9-150400.6.110.1
libMagickCore-7_Q16HDRI10 - addressed in versions 7.1.0.9-150400.6.110.1, 7.1.1.43-150700.3.79.1
ImageMagick-extra-debuginfo - update to 7.1.0.9-150400.6.110.1
ImageMagick - addressed in versions 7.1.0.9-150400.6.110.1, 7.1.1.43-150700.3.79.1
libMagick++-devel - addressed in versions 7.1.0.9-150400.6.110.1, 7.1.1.43-150700.3.79.1
ImageMagick-extra - update to 7.1.0.9-150400.6.110.1
perl-PerlMagick-debuginfo - addressed in versions 7.1.0.9-150400.6.110.1, 7.1.1.43-150700.3.79.1
libMagick++-7_Q16HDRI5 - addressed in versions 7.1.0.9-150400.6.110.1, 7.1.1.43-150700.3.79.1
libMagickWand-7_Q16HDRI10-debuginfo - addressed in versions 7.1.0.9-150400.6.110.1, 7.1.1.43-150700.3.79.1
libMagick++-7_Q16HDRI5-debuginfo - addressed in versions 7.1.0.9-150400.6.110.1, 7.1.1.43-150700.3.79.1
perl-PerlMagick - addressed in versions 7.1.0.9-150400.6.110.1, 7.1.1.43-150700.3.79.1
libMagickWand-7_Q16HDRI10 - addressed in versions 7.1.0.9-150400.6.110.1, 7.1.1.43-150700.3.79.1
ImageMagick-config-7-upstream - update to 7.1.0.9-150400.6.110.1
libMagickCore-7_Q16HDRI10-debuginfo - addressed in versions 7.1.0.9-150400.6.110.1, 7.1.1.43-150700.3.79.1
ImageMagick-config-7-SUSE - addressed in versions 7.1.0.9-150400.6.110.1, 7.1.1.43-150700.3.79.1
ImageMagick-debuginfo - addressed in versions 7.1.0.9-150400.6.110.1, 7.1.1.43-150700.3.79.1
ImageMagick-config-7-upstream-limited - update to 7.1.1.43-150700.3.79.1
ImageMagick-config-7-upstream-websafe - update to 7.1.1.43-150700.3.79.1
ImageMagick-config-7-upstream-secure - update to 7.1.1.43-150700.3.79.1
ImageMagick-config-7-upstream-open - update to 7.1.1.43-150700.3.79.1

External References

Related Security Bulletins