Amazon Linux Security Advisory
ALAS2-2026-3132
Amazon Linux 2 2017.12 - ALAS2-2026-3132: important priority package update for ImageMagick
Details
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-23952: NULL pointer dereference in MSL (Magick Scripting Language) parser when processing <comment> tag before any image is loaded.
CVE-2026-23876: 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-23874: 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | ImageMagick | All versions before 6.9.10.97-1.amzn2.0.20 (fixed in 6.9.10.97-1.amzn2.0.20) |
| Amazon Linux:2 | ImageMagick-c++ | All versions before 6.9.10.97-1.amzn2.0.20 (fixed in 6.9.10.97-1.amzn2.0.20) |
| Amazon Linux:2 | ImageMagick-c++-devel | All versions before 6.9.10.97-1.amzn2.0.20 (fixed in 6.9.10.97-1.amzn2.0.20) |
| Amazon Linux:2 | ImageMagick-debuginfo | All versions before 6.9.10.97-1.amzn2.0.20 (fixed in 6.9.10.97-1.amzn2.0.20) |
| Amazon Linux:2 | ImageMagick-devel | All versions before 6.9.10.97-1.amzn2.0.20 (fixed in 6.9.10.97-1.amzn2.0.20) |
| Amazon Linux:2 | ImageMagick-doc | All versions before 6.9.10.97-1.amzn2.0.20 (fixed in 6.9.10.97-1.amzn2.0.20) |
| Amazon Linux:2 | ImageMagick-perl | All versions before 6.9.10.97-1.amzn2.0.20 (fixed in 6.9.10.97-1.amzn2.0.20) |