Skip to content
OpenAdvisories
Medium ALAS2023-2025-1206 2 CVEs

Moderate: ImageMagick security update (Amazon Linux 2023)

Published Sep 22, 2025 · Updated Sep 29, 2025

Summary

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 264 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.

Fixed packages 12

ReleasePackageFixed in
Amazon Linux · 2023 ImageMagick 1:6.9.13.29-1.amzn2023.0.1
Amazon Linux · 2023 ImageMagick-c++ 1:6.9.13.29-1.amzn2023.0.1
Amazon Linux · 2023 ImageMagick-c++-debuginfo 1:6.9.13.29-1.amzn2023.0.1
Amazon Linux · 2023 ImageMagick-c++-devel 1:6.9.13.29-1.amzn2023.0.1
Amazon Linux · 2023 ImageMagick-debuginfo 1:6.9.13.29-1.amzn2023.0.1
Amazon Linux · 2023 ImageMagick-debugsource 1:6.9.13.29-1.amzn2023.0.1
Amazon Linux · 2023 ImageMagick-devel 1:6.9.13.29-1.amzn2023.0.1
Amazon Linux · 2023 ImageMagick-doc 1:6.9.13.29-1.amzn2023.0.1
Amazon Linux · 2023 ImageMagick-libs 1:6.9.13.29-1.amzn2023.0.1
Amazon Linux · 2023 ImageMagick-libs-debuginfo 1:6.9.13.29-1.amzn2023.0.1
Amazon Linux · 2023 ImageMagick-perl 1:6.9.13.29-1.amzn2023.0.1
Amazon Linux · 2023 ImageMagick-perl-debuginfo 1:6.9.13.29-1.amzn2023.0.1

Vulnerabilities 2

  • Low 3.8

    ImageMagick BlobStream Forward-Seek Under-Allocation

    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 c…

  • Low 3.7

    ImageMagick affected by divide-by-zero in ThumbnailImage via montage -geometry ":" leads to crash

    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. …

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-55212.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-57807.html