Amazon Linux Security Advisory
ALAS2023-2025-1206
Amazon Linux 2023 - ALAS2023-2025-1206: Medium priority package update for ImageMagick
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-57807: ImageMagick is free and open-source software used for editing and manipulating digital images. ImageMagick versions lower than 14.8.2 include insecure functions: SeekBlob(), which permits advancing the stream offset beyond the current end without increasing capacity, and WriteBlob(), which then expands by quantum + length (amortized) instead of offset + length, and copies to data + offset. When offset ≫ extent, the copy targets memory beyond the allocation, producing a deterministic heap write on 64-bit builds. No 2⁶⁴ arithmetic wrap, external delegates, or policy settings are required. This is fixed in version 14.8.2.
CVE-2025-55212: ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-28 and 7.1.2-2, passing a geometry string containing only a colon (":") to montage -geometry leads GetGeometry() to set width/height to 0. Later, ThumbnailImage() divides by these zero dimensions, triggering a crash (SIGFPE/abort), resulting in a denial of service. This issue has been patched in versions 6.9.13-28 and 7.1.2-2.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | ImageMagick | All versions before 1:6.9.13.29-1.amzn2023.0.1 (fixed in 1:6.9.13.29-1.amzn2023.0.1) |
| Amazon Linux:2023 | ImageMagick-c++ | All versions before 1:6.9.13.29-1.amzn2023.0.1 (fixed in 1:6.9.13.29-1.amzn2023.0.1) |
| Amazon Linux:2023 | ImageMagick-c++-debuginfo | All versions before 1:6.9.13.29-1.amzn2023.0.1 (fixed in 1:6.9.13.29-1.amzn2023.0.1) |
| Amazon Linux:2023 | ImageMagick-c++-devel | All versions before 1:6.9.13.29-1.amzn2023.0.1 (fixed in 1:6.9.13.29-1.amzn2023.0.1) |
| Amazon Linux:2023 | ImageMagick-debuginfo | All versions before 1:6.9.13.29-1.amzn2023.0.1 (fixed in 1:6.9.13.29-1.amzn2023.0.1) |
| Amazon Linux:2023 | ImageMagick-debugsource | All versions before 1:6.9.13.29-1.amzn2023.0.1 (fixed in 1:6.9.13.29-1.amzn2023.0.1) |
| Amazon Linux:2023 | ImageMagick-devel | All versions before 1:6.9.13.29-1.amzn2023.0.1 (fixed in 1:6.9.13.29-1.amzn2023.0.1) |
| Amazon Linux:2023 | ImageMagick-doc | All versions before 1:6.9.13.29-1.amzn2023.0.1 (fixed in 1:6.9.13.29-1.amzn2023.0.1) |
| Amazon Linux:2023 | ImageMagick-libs | All versions before 1:6.9.13.29-1.amzn2023.0.1 (fixed in 1:6.9.13.29-1.amzn2023.0.1) |
| Amazon Linux:2023 | ImageMagick-libs-debuginfo | All versions before 1:6.9.13.29-1.amzn2023.0.1 (fixed in 1:6.9.13.29-1.amzn2023.0.1) |
| Amazon Linux:2023 | ImageMagick-perl | All versions before 1:6.9.13.29-1.amzn2023.0.1 (fixed in 1:6.9.13.29-1.amzn2023.0.1) |
| Amazon Linux:2023 | ImageMagick-perl-debuginfo | All versions before 1:6.9.13.29-1.amzn2023.0.1 (fixed in 1:6.9.13.29-1.amzn2023.0.1) |