Amazon Linux Security Advisory
ALAS2023-2026-1383
Amazon Linux 2023 - ALAS2023-2026-1383: Important priority package update for ImageMagick
Details
Package updates are available for Amazon Linux 2023 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:2023 | ImageMagick | All versions before 1:6.9.13.29-1.amzn2023.0.5 (fixed in 1:6.9.13.29-1.amzn2023.0.5) |
| Amazon Linux:2023 | ImageMagick-c++ | All versions before 1:6.9.13.29-1.amzn2023.0.5 (fixed in 1:6.9.13.29-1.amzn2023.0.5) |
| Amazon Linux:2023 | ImageMagick-c++-debuginfo | All versions before 1:6.9.13.29-1.amzn2023.0.5 (fixed in 1:6.9.13.29-1.amzn2023.0.5) |
| Amazon Linux:2023 | ImageMagick-c++-devel | All versions before 1:6.9.13.29-1.amzn2023.0.5 (fixed in 1:6.9.13.29-1.amzn2023.0.5) |
| Amazon Linux:2023 | ImageMagick-debuginfo | All versions before 1:6.9.13.29-1.amzn2023.0.5 (fixed in 1:6.9.13.29-1.amzn2023.0.5) |
| Amazon Linux:2023 | ImageMagick-debugsource | All versions before 1:6.9.13.29-1.amzn2023.0.5 (fixed in 1:6.9.13.29-1.amzn2023.0.5) |
| Amazon Linux:2023 | ImageMagick-devel | All versions before 1:6.9.13.29-1.amzn2023.0.5 (fixed in 1:6.9.13.29-1.amzn2023.0.5) |
| Amazon Linux:2023 | ImageMagick-doc | All versions before 1:6.9.13.29-1.amzn2023.0.5 (fixed in 1:6.9.13.29-1.amzn2023.0.5) |
| Amazon Linux:2023 | ImageMagick-libs | All versions before 1:6.9.13.29-1.amzn2023.0.5 (fixed in 1:6.9.13.29-1.amzn2023.0.5) |
| Amazon Linux:2023 | ImageMagick-libs-debuginfo | All versions before 1:6.9.13.29-1.amzn2023.0.5 (fixed in 1:6.9.13.29-1.amzn2023.0.5) |
| Amazon Linux:2023 | ImageMagick-perl | All versions before 1:6.9.13.29-1.amzn2023.0.5 (fixed in 1:6.9.13.29-1.amzn2023.0.5) |
| Amazon Linux:2023 | ImageMagick-perl-debuginfo | All versions before 1:6.9.13.29-1.amzn2023.0.5 (fixed in 1:6.9.13.29-1.amzn2023.0.5) |