ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2025-1126

Amazon Linux 2023 - ALAS2023-2025-1126: Medium priority package update for ImageMagick

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-53101: ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-0 and 6.9.13-26, in ImageMagick's magick mogrify command, specifying multiple consecutive %d format specifiers in a filename template causes internal pointer arithmetic to generate an address below the beginning of the stack buffer, resulting in a stack overflow through vsnprintf(). Versions 7.1.2-0 and 6.9.13-26 fix the issue.

CVE-2025-53019: ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-0 and 6.9.13-26, in ImageMagick's magick stream command, specifying multiple consecutive %d format specifiers in a filename template causes a memory leak. Versions 7.1.2-0 and 6.9.13-26 fix the issue.

Affects ImageMagick < 7.1.2‑0, < 6.9.13‑26

CVE-2025-53014: ImageMagick is free and open-source software used for editing and manipulating digital images. Versions prior to 7.1.2-0 and 6.9.13-26 have a heap buffer overflow in the InterpretImageFilename function. The issue stems from an off-by-one error that causes out-of-bounds memory access when processing format strings containing consecutive percent signs (%%). Versions 7.1.2-0 and 6.9.13-26 fix the issue.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023ImageMagick
All versions before 1:6.9.12.82-1.amzn2023.0.9 (fixed in 1:6.9.12.82-1.amzn2023.0.9)
Amazon Linux:2023ImageMagick-c++
All versions before 1:6.9.12.82-1.amzn2023.0.9 (fixed in 1:6.9.12.82-1.amzn2023.0.9)
Amazon Linux:2023ImageMagick-c++-debuginfo
All versions before 1:6.9.12.82-1.amzn2023.0.9 (fixed in 1:6.9.12.82-1.amzn2023.0.9)
Amazon Linux:2023ImageMagick-c++-devel
All versions before 1:6.9.12.82-1.amzn2023.0.9 (fixed in 1:6.9.12.82-1.amzn2023.0.9)
Amazon Linux:2023ImageMagick-debuginfo
All versions before 1:6.9.12.82-1.amzn2023.0.9 (fixed in 1:6.9.12.82-1.amzn2023.0.9)
Amazon Linux:2023ImageMagick-debugsource
All versions before 1:6.9.12.82-1.amzn2023.0.9 (fixed in 1:6.9.12.82-1.amzn2023.0.9)
Amazon Linux:2023ImageMagick-devel
All versions before 1:6.9.12.82-1.amzn2023.0.9 (fixed in 1:6.9.12.82-1.amzn2023.0.9)
Amazon Linux:2023ImageMagick-doc
All versions before 1:6.9.12.82-1.amzn2023.0.9 (fixed in 1:6.9.12.82-1.amzn2023.0.9)
Amazon Linux:2023ImageMagick-libs
All versions before 1:6.9.12.82-1.amzn2023.0.9 (fixed in 1:6.9.12.82-1.amzn2023.0.9)
Amazon Linux:2023ImageMagick-libs-debuginfo
All versions before 1:6.9.12.82-1.amzn2023.0.9 (fixed in 1:6.9.12.82-1.amzn2023.0.9)
Amazon Linux:2023ImageMagick-perl
All versions before 1:6.9.12.82-1.amzn2023.0.9 (fixed in 1:6.9.12.82-1.amzn2023.0.9)
Amazon Linux:2023ImageMagick-perl-debuginfo
All versions before 1:6.9.12.82-1.amzn2023.0.9 (fixed in 1:6.9.12.82-1.amzn2023.0.9)

References