Amazon Linux Security Advisory
ALAS2-2025-3009
Amazon Linux 2 2017.12 - ALAS2-2025-3009: medium priority package update for ImageMagick
Details
Package updates are available for Amazon Linux 2 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 264 arithmetic wrap, external delegates, or policy settings are required. This is fixed in version 14.8.2.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | ImageMagick | All versions before 6.9.10.97-1.amzn2.0.17 (fixed in 6.9.10.97-1.amzn2.0.17) |
| Amazon Linux:2 | ImageMagick-c++ | All versions before 6.9.10.97-1.amzn2.0.17 (fixed in 6.9.10.97-1.amzn2.0.17) |
| Amazon Linux:2 | ImageMagick-c++-devel | All versions before 6.9.10.97-1.amzn2.0.17 (fixed in 6.9.10.97-1.amzn2.0.17) |
| Amazon Linux:2 | ImageMagick-debuginfo | All versions before 6.9.10.97-1.amzn2.0.17 (fixed in 6.9.10.97-1.amzn2.0.17) |
| Amazon Linux:2 | ImageMagick-devel | All versions before 6.9.10.97-1.amzn2.0.17 (fixed in 6.9.10.97-1.amzn2.0.17) |
| Amazon Linux:2 | ImageMagick-doc | All versions before 6.9.10.97-1.amzn2.0.17 (fixed in 6.9.10.97-1.amzn2.0.17) |
| Amazon Linux:2 | ImageMagick-perl | All versions before 6.9.10.97-1.amzn2.0.17 (fixed in 6.9.10.97-1.amzn2.0.17) |