ALAS2-2026-3132


Amazon Linux 2 Security Advisory: ALAS2-2026-3132
Advisory Released Date: 2026-02-05
Advisory Updated Date: 2026-02-05
Severity: Important

Issue Overview:

ImageMagick is free and open-source software used for editing and manipulating digital images. Versions prior to 7.1.2-13 have a stack overflow via infinite recursion in MSL (Magick Scripting Language) `<write>` command when writing to MSL format. Version 7.1.2-13 fixes the issue. (CVE-2026-23874)

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-13 and 6.9.13-38, a heap buffer overflow vulnerability in the XBM image decoder (ReadXBMImage) allows an attacker to write controlled data past the allocated heap buffer when processing a maliciously crafted image file. Any operation that reads or identifies an image can trigger the overflow, making it exploitable via common image upload and processing pipelines. Versions 7.1.2-13 and 6.9.13-38 fix the issue. (CVE-2026-23876)

NULL pointer dereference in MSL (Magick Scripting Language) parser when processing <comment> tag before any image is loaded. (CVE-2026-23952)


Affected Packages:

ImageMagick


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update ImageMagick or yum update --advisory ALAS2-2026-3132 to update your system.

New Packages:
aarch64:
    ImageMagick-6.9.10.97-1.amzn2.0.20.aarch64
    ImageMagick-devel-6.9.10.97-1.amzn2.0.20.aarch64
    ImageMagick-doc-6.9.10.97-1.amzn2.0.20.aarch64
    ImageMagick-perl-6.9.10.97-1.amzn2.0.20.aarch64
    ImageMagick-c++-6.9.10.97-1.amzn2.0.20.aarch64
    ImageMagick-c++-devel-6.9.10.97-1.amzn2.0.20.aarch64
    ImageMagick-debuginfo-6.9.10.97-1.amzn2.0.20.aarch64

i686:
    ImageMagick-6.9.10.97-1.amzn2.0.20.i686
    ImageMagick-devel-6.9.10.97-1.amzn2.0.20.i686
    ImageMagick-doc-6.9.10.97-1.amzn2.0.20.i686
    ImageMagick-perl-6.9.10.97-1.amzn2.0.20.i686
    ImageMagick-c++-6.9.10.97-1.amzn2.0.20.i686
    ImageMagick-c++-devel-6.9.10.97-1.amzn2.0.20.i686
    ImageMagick-debuginfo-6.9.10.97-1.amzn2.0.20.i686

src:
    ImageMagick-6.9.10.97-1.amzn2.0.20.src

x86_64:
    ImageMagick-6.9.10.97-1.amzn2.0.20.x86_64
    ImageMagick-devel-6.9.10.97-1.amzn2.0.20.x86_64
    ImageMagick-doc-6.9.10.97-1.amzn2.0.20.x86_64
    ImageMagick-perl-6.9.10.97-1.amzn2.0.20.x86_64
    ImageMagick-c++-6.9.10.97-1.amzn2.0.20.x86_64
    ImageMagick-c++-devel-6.9.10.97-1.amzn2.0.20.x86_64
    ImageMagick-debuginfo-6.9.10.97-1.amzn2.0.20.x86_64