Heap-based buffer overflow in ImageMagick - CVE-2025-68469

 

Heap-based buffer overflow in ImageMagick - CVE-2025-68469

Published: January 5, 2026


Vulnerability identifier: #VU120969
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-68469
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error. A remote attacker can pass specially crafted TIFF image to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

ImageMagick
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 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 Server 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
Desktop Applications Module
openSUSE Leap
ImageMagick-debugsource
ImageMagick-devel
ImageMagick-config-6-upstream
libMagickCore-6_Q16-1-debuginfo
ImageMagick-debuginfo
libMagickWand-6_Q16-1-debuginfo
libMagickCore-6_Q16-1
libMagickWand-6_Q16-1
ImageMagick-config-6-SUSE
libMagick++-devel
libMagickCore-7_Q16HDRI10-32bit-debuginfo
libMagick++-7_Q16HDRI5-32bit-debuginfo
libMagickWand-7_Q16HDRI10-32bit
ImageMagick-doc
libMagickWand-7_Q16HDRI10-64bit-debuginfo
libMagickCore-7_Q16HDRI10-64bit-debuginfo
libMagickWand-7_Q16HDRI10-64bit
libMagick++-devel-64bit
libMagickCore-7_Q16HDRI10-64bit
libMagick++-7_Q16HDRI5-64bit
ImageMagick-devel-64bit
libMagick++-7_Q16HDRI5-64bit-debuginfo
perl-PerlMagick-debuginfo
libMagickWand-7_Q16HDRI10
ImageMagick-extra-debuginfo
libMagickCore-7_Q16HDRI10-debuginfo
ImageMagick-config-7-SUSE
libMagick++-7_Q16HDRI5-debuginfo
libMagickCore-7_Q16HDRI10
perl-PerlMagick
ImageMagick-config-7-upstream
libMagick++-7_Q16HDRI5
libMagickWand-7_Q16HDRI10-debuginfo
ImageMagick-extra
ImageMagick
libMagick++-devel-32bit
ImageMagick-devel-32bit
libMagickWand-7_Q16HDRI10-32bit-debuginfo
libMagick++-7_Q16HDRI5-32bit
libMagickCore-7_Q16HDRI10-32bit

How to mitigate CVE-2025-68469

Install updates from vendor's website.

ImageMagick - update to 7.1.1-14
ImageMagick-debugsource - addressed in versions 6.8.8.1-71.221.1, 7.1.0.9-150400.6.58.1
ImageMagick-devel - addressed in versions 6.8.8.1-71.221.1, 7.1.0.9-150400.6.58.1
ImageMagick-config-6-upstream - update to 6.8.8.1-71.221.1
libMagickCore-6_Q16-1-debuginfo - update to 6.8.8.1-71.221.1
ImageMagick-debuginfo - addressed in versions 6.8.8.1-71.221.1, 7.1.0.9-150400.6.58.1
libMagickWand-6_Q16-1-debuginfo - update to 6.8.8.1-71.221.1
libMagickCore-6_Q16-1 - update to 6.8.8.1-71.221.1
libMagickWand-6_Q16-1 - update to 6.8.8.1-71.221.1
ImageMagick-config-6-SUSE - update to 6.8.8.1-71.221.1
libMagick++-devel - addressed in versions 6.8.8.1-71.221.1, 7.1.0.9-150400.6.58.1
libMagickCore-7_Q16HDRI10-32bit-debuginfo - update to 7.1.0.9-150400.6.58.1
libMagick++-7_Q16HDRI5-32bit-debuginfo - update to 7.1.0.9-150400.6.58.1
libMagickWand-7_Q16HDRI10-32bit - update to 7.1.0.9-150400.6.58.1
ImageMagick-doc - update to 7.1.0.9-150400.6.58.1
libMagickWand-7_Q16HDRI10-64bit-debuginfo - update to 7.1.0.9-150400.6.58.1
libMagickCore-7_Q16HDRI10-64bit-debuginfo - update to 7.1.0.9-150400.6.58.1
libMagickWand-7_Q16HDRI10-64bit - update to 7.1.0.9-150400.6.58.1
libMagick++-devel-64bit - update to 7.1.0.9-150400.6.58.1
libMagickCore-7_Q16HDRI10-64bit - update to 7.1.0.9-150400.6.58.1
libMagick++-7_Q16HDRI5-64bit - update to 7.1.0.9-150400.6.58.1
ImageMagick-devel-64bit - update to 7.1.0.9-150400.6.58.1
libMagick++-7_Q16HDRI5-64bit-debuginfo - update to 7.1.0.9-150400.6.58.1
perl-PerlMagick-debuginfo - update to 7.1.0.9-150400.6.58.1
libMagickWand-7_Q16HDRI10 - update to 7.1.0.9-150400.6.58.1
ImageMagick-extra-debuginfo - update to 7.1.0.9-150400.6.58.1
libMagickCore-7_Q16HDRI10-debuginfo - update to 7.1.0.9-150400.6.58.1
ImageMagick-config-7-SUSE - update to 7.1.0.9-150400.6.58.1
libMagick++-7_Q16HDRI5-debuginfo - update to 7.1.0.9-150400.6.58.1
libMagickCore-7_Q16HDRI10 - update to 7.1.0.9-150400.6.58.1
perl-PerlMagick - update to 7.1.0.9-150400.6.58.1
ImageMagick-config-7-upstream - update to 7.1.0.9-150400.6.58.1
libMagick++-7_Q16HDRI5 - update to 7.1.0.9-150400.6.58.1
libMagickWand-7_Q16HDRI10-debuginfo - update to 7.1.0.9-150400.6.58.1
ImageMagick-extra - update to 7.1.0.9-150400.6.58.1
ImageMagick - update to 7.1.0.9-150400.6.58.1
libMagick++-devel-32bit - update to 7.1.0.9-150400.6.58.1
ImageMagick-devel-32bit - update to 7.1.0.9-150400.6.58.1
libMagickWand-7_Q16HDRI10-32bit-debuginfo - update to 7.1.0.9-150400.6.58.1
libMagick++-7_Q16HDRI5-32bit - update to 7.1.0.9-150400.6.58.1
libMagickCore-7_Q16HDRI10-32bit - update to 7.1.0.9-150400.6.58.1

External References

Related Security Bulletins