Amazon Linux 2 Security Advisory: ALAS2-2025-3009
Advisory Released Date: 2025-09-29
Advisory Updated Date: 2025-09-29
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. (CVE-2025-57807)
Affected Packages:
ImageMagick
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update ImageMagick or yum update --advisory ALAS2-2025-3009 to update your system.
aarch64:
ImageMagick-6.9.10.97-1.amzn2.0.17.aarch64
ImageMagick-devel-6.9.10.97-1.amzn2.0.17.aarch64
ImageMagick-doc-6.9.10.97-1.amzn2.0.17.aarch64
ImageMagick-perl-6.9.10.97-1.amzn2.0.17.aarch64
ImageMagick-c++-6.9.10.97-1.amzn2.0.17.aarch64
ImageMagick-c++-devel-6.9.10.97-1.amzn2.0.17.aarch64
ImageMagick-debuginfo-6.9.10.97-1.amzn2.0.17.aarch64
i686:
ImageMagick-6.9.10.97-1.amzn2.0.17.i686
ImageMagick-devel-6.9.10.97-1.amzn2.0.17.i686
ImageMagick-doc-6.9.10.97-1.amzn2.0.17.i686
ImageMagick-perl-6.9.10.97-1.amzn2.0.17.i686
ImageMagick-c++-6.9.10.97-1.amzn2.0.17.i686
ImageMagick-c++-devel-6.9.10.97-1.amzn2.0.17.i686
ImageMagick-debuginfo-6.9.10.97-1.amzn2.0.17.i686
src:
ImageMagick-6.9.10.97-1.amzn2.0.17.src
x86_64:
ImageMagick-6.9.10.97-1.amzn2.0.17.x86_64
ImageMagick-devel-6.9.10.97-1.amzn2.0.17.x86_64
ImageMagick-doc-6.9.10.97-1.amzn2.0.17.x86_64
ImageMagick-perl-6.9.10.97-1.amzn2.0.17.x86_64
ImageMagick-c++-6.9.10.97-1.amzn2.0.17.x86_64
ImageMagick-c++-devel-6.9.10.97-1.amzn2.0.17.x86_64
ImageMagick-debuginfo-6.9.10.97-1.amzn2.0.17.x86_64