Heap-based buffer overflow in ImageMagick - CVE-2022-3213
Published: September 26, 2022
Vulnerability identifier: #VU67652
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-3213
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error. A remote attacker can trick a victim to open a specially crafted TIFF file, trigger a heap-based buffer overflow and cause a denial of service condition on the target system.
Affected software
ImageMagick
Gentoo Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Fedora
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server
SUSE Linux Enterprise Module for Development Tools
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Desktop
openSUSE Leap
openEuler
ImageMagick
ImageMagick-c++-devel
ImageMagick-debuginfo
ImageMagick-perl
ImageMagick-c++
ImageMagick-help
ImageMagick-devel
ImageMagick-debugsource
libMagick++-7_Q16HDRI5-32bit-debuginfo
ImageMagick-doc
libMagickWand-7_Q16HDRI10-32bit-debuginfo
libMagickWand-7_Q16HDRI10-32bit
libMagickCore-7_Q16HDRI10-32bit-debuginfo
libMagickCore-7_Q16HDRI10-32bit
libMagick++-devel-32bit
libMagick++-devel
ImageMagick-config-7-SUSE
ImageMagick-config-7-upstream
ImageMagick-extra
ImageMagick-extra-debuginfo
libMagick++-7_Q16HDRI5
libMagick++-7_Q16HDRI5-debuginfo
libMagickCore-7_Q16HDRI10
libMagickCore-7_Q16HDRI10-debuginfo
libMagickWand-7_Q16HDRI10
libMagickWand-7_Q16HDRI10-debuginfo
perl-PerlMagick
perl-PerlMagick-debuginfo
ImageMagick-devel-32bit
libMagick++-7_Q16HDRI5-32bit
Gentoo Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Fedora
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server
SUSE Linux Enterprise Module for Development Tools
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Desktop
openSUSE Leap
openEuler
ImageMagick
ImageMagick-c++-devel
ImageMagick-debuginfo
ImageMagick-perl
ImageMagick-c++
ImageMagick-help
ImageMagick-devel
ImageMagick-debugsource
libMagick++-7_Q16HDRI5-32bit-debuginfo
ImageMagick-doc
libMagickWand-7_Q16HDRI10-32bit-debuginfo
libMagickWand-7_Q16HDRI10-32bit
libMagickCore-7_Q16HDRI10-32bit-debuginfo
libMagickCore-7_Q16HDRI10-32bit
libMagick++-devel-32bit
libMagick++-devel
ImageMagick-config-7-SUSE
ImageMagick-config-7-upstream
ImageMagick-extra
ImageMagick-extra-debuginfo
libMagick++-7_Q16HDRI5
libMagick++-7_Q16HDRI5-debuginfo
libMagickCore-7_Q16HDRI10
libMagickCore-7_Q16HDRI10-debuginfo
libMagickWand-7_Q16HDRI10
libMagickWand-7_Q16HDRI10-debuginfo
perl-PerlMagick
perl-PerlMagick-debuginfo
ImageMagick-devel-32bit
libMagick++-7_Q16HDRI5-32bit
How to mitigate CVE-2022-3213
Install updates from vendor's website.
ImageMagick - addressed in versions 6.9.12-62, 7.1.0-47
ImageMagick - update to 6.9.12.43-3
ImageMagick-c++-devel - update to 6.9.12.43-3
ImageMagick-debuginfo - update to 6.9.12.43-3
ImageMagick-perl - update to 6.9.12.43-3
ImageMagick-c++ - update to 6.9.12.43-3
ImageMagick-help - update to 6.9.12.43-3
ImageMagick-devel - update to 6.9.12.43-3
ImageMagick-debugsource - update to 6.9.12.43-3
ImageMagick - addressed in versions 6.9.12.63-1.el8, 6.9.12.63-1.el9, 6.9.12.63-1.fc35, 6.9.12.63-1.fc36, 6.9.12.63-1.fc37
libMagick++-7_Q16HDRI5-32bit-debuginfo - update to 7.1.0.9-150400.6.9.1
ImageMagick-doc - update to 7.1.0.9-150400.6.9.1
libMagickWand-7_Q16HDRI10-32bit-debuginfo - update to 7.1.0.9-150400.6.9.1
libMagickWand-7_Q16HDRI10-32bit - update to 7.1.0.9-150400.6.9.1
libMagickCore-7_Q16HDRI10-32bit-debuginfo - update to 7.1.0.9-150400.6.9.1
libMagickCore-7_Q16HDRI10-32bit - update to 7.1.0.9-150400.6.9.1
libMagick++-devel-32bit - update to 7.1.0.9-150400.6.9.1
libMagick++-devel - update to 7.1.0.9-150400.6.9.1
ImageMagick-config-7-SUSE - update to 7.1.0.9-150400.6.9.1
ImageMagick-config-7-upstream - update to 7.1.0.9-150400.6.9.1
ImageMagick-debuginfo - update to 7.1.0.9-150400.6.9.1
ImageMagick-debugsource - update to 7.1.0.9-150400.6.9.1
ImageMagick-devel - update to 7.1.0.9-150400.6.9.1
ImageMagick-extra - update to 7.1.0.9-150400.6.9.1
ImageMagick-extra-debuginfo - update to 7.1.0.9-150400.6.9.1
libMagick++-7_Q16HDRI5 - update to 7.1.0.9-150400.6.9.1
libMagick++-7_Q16HDRI5-debuginfo - update to 7.1.0.9-150400.6.9.1
ImageMagick - update to 7.1.0.9-150400.6.9.1
libMagickCore-7_Q16HDRI10 - update to 7.1.0.9-150400.6.9.1
libMagickCore-7_Q16HDRI10-debuginfo - update to 7.1.0.9-150400.6.9.1
libMagickWand-7_Q16HDRI10 - update to 7.1.0.9-150400.6.9.1
libMagickWand-7_Q16HDRI10-debuginfo - update to 7.1.0.9-150400.6.9.1
perl-PerlMagick - update to 7.1.0.9-150400.6.9.1
perl-PerlMagick-debuginfo - update to 7.1.0.9-150400.6.9.1
ImageMagick-devel-32bit - update to 7.1.0.9-150400.6.9.1
libMagick++-7_Q16HDRI5-32bit - update to 7.1.0.9-150400.6.9.1
ImageMagick - update to 6.9.12.43-3
ImageMagick-c++-devel - update to 6.9.12.43-3
ImageMagick-debuginfo - update to 6.9.12.43-3
ImageMagick-perl - update to 6.9.12.43-3
ImageMagick-c++ - update to 6.9.12.43-3
ImageMagick-help - update to 6.9.12.43-3
ImageMagick-devel - update to 6.9.12.43-3
ImageMagick-debugsource - update to 6.9.12.43-3
ImageMagick - addressed in versions 6.9.12.63-1.el8, 6.9.12.63-1.el9, 6.9.12.63-1.fc35, 6.9.12.63-1.fc36, 6.9.12.63-1.fc37
libMagick++-7_Q16HDRI5-32bit-debuginfo - update to 7.1.0.9-150400.6.9.1
ImageMagick-doc - update to 7.1.0.9-150400.6.9.1
libMagickWand-7_Q16HDRI10-32bit-debuginfo - update to 7.1.0.9-150400.6.9.1
libMagickWand-7_Q16HDRI10-32bit - update to 7.1.0.9-150400.6.9.1
libMagickCore-7_Q16HDRI10-32bit-debuginfo - update to 7.1.0.9-150400.6.9.1
libMagickCore-7_Q16HDRI10-32bit - update to 7.1.0.9-150400.6.9.1
libMagick++-devel-32bit - update to 7.1.0.9-150400.6.9.1
libMagick++-devel - update to 7.1.0.9-150400.6.9.1
ImageMagick-config-7-SUSE - update to 7.1.0.9-150400.6.9.1
ImageMagick-config-7-upstream - update to 7.1.0.9-150400.6.9.1
ImageMagick-debuginfo - update to 7.1.0.9-150400.6.9.1
ImageMagick-debugsource - update to 7.1.0.9-150400.6.9.1
ImageMagick-devel - update to 7.1.0.9-150400.6.9.1
ImageMagick-extra - update to 7.1.0.9-150400.6.9.1
ImageMagick-extra-debuginfo - update to 7.1.0.9-150400.6.9.1
libMagick++-7_Q16HDRI5 - update to 7.1.0.9-150400.6.9.1
libMagick++-7_Q16HDRI5-debuginfo - update to 7.1.0.9-150400.6.9.1
ImageMagick - update to 7.1.0.9-150400.6.9.1
libMagickCore-7_Q16HDRI10 - update to 7.1.0.9-150400.6.9.1
libMagickCore-7_Q16HDRI10-debuginfo - update to 7.1.0.9-150400.6.9.1
libMagickWand-7_Q16HDRI10 - update to 7.1.0.9-150400.6.9.1
libMagickWand-7_Q16HDRI10-debuginfo - update to 7.1.0.9-150400.6.9.1
perl-PerlMagick - update to 7.1.0.9-150400.6.9.1
perl-PerlMagick-debuginfo - update to 7.1.0.9-150400.6.9.1
ImageMagick-devel-32bit - update to 7.1.0.9-150400.6.9.1
libMagick++-7_Q16HDRI5-32bit - update to 7.1.0.9-150400.6.9.1