ALAS2023-2025-1319


Amazon Linux 2023 Security Advisory: ALAS2023-2025-1319
Advisory Released Date: 2026-01-07
Advisory Updated Date: 2026-01-07
Severity: Medium

Issue Overview:

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick's Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34. (CVE-2025-65955)


Affected Packages:

ImageMagick


Issue Correction:
Run dnf update ImageMagick --releasever 2023.10.20260105 or dnf update --advisory ALAS2023-2025-1319 --releasever 2023.10.20260105 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation

New Packages:
aarch64:
    ImageMagick-c++-devel-6.9.13.29-1.amzn2023.0.3.aarch64
    ImageMagick-debugsource-6.9.13.29-1.amzn2023.0.3.aarch64
    ImageMagick-perl-6.9.13.29-1.amzn2023.0.3.aarch64
    ImageMagick-c++-6.9.13.29-1.amzn2023.0.3.aarch64
    ImageMagick-6.9.13.29-1.amzn2023.0.3.aarch64
    ImageMagick-perl-debuginfo-6.9.13.29-1.amzn2023.0.3.aarch64
    ImageMagick-devel-6.9.13.29-1.amzn2023.0.3.aarch64
    ImageMagick-c++-debuginfo-6.9.13.29-1.amzn2023.0.3.aarch64
    ImageMagick-debuginfo-6.9.13.29-1.amzn2023.0.3.aarch64
    ImageMagick-doc-6.9.13.29-1.amzn2023.0.3.aarch64
    ImageMagick-libs-debuginfo-6.9.13.29-1.amzn2023.0.3.aarch64
    ImageMagick-libs-6.9.13.29-1.amzn2023.0.3.aarch64

src:
    ImageMagick-6.9.13.29-1.amzn2023.0.3.src

x86_64:
    ImageMagick-6.9.13.29-1.amzn2023.0.3.x86_64
    ImageMagick-perl-6.9.13.29-1.amzn2023.0.3.x86_64
    ImageMagick-c++-devel-6.9.13.29-1.amzn2023.0.3.x86_64
    ImageMagick-c++-6.9.13.29-1.amzn2023.0.3.x86_64
    ImageMagick-debugsource-6.9.13.29-1.amzn2023.0.3.x86_64
    ImageMagick-c++-debuginfo-6.9.13.29-1.amzn2023.0.3.x86_64
    ImageMagick-debuginfo-6.9.13.29-1.amzn2023.0.3.x86_64
    ImageMagick-perl-debuginfo-6.9.13.29-1.amzn2023.0.3.x86_64
    ImageMagick-devel-6.9.13.29-1.amzn2023.0.3.x86_64
    ImageMagick-doc-6.9.13.29-1.amzn2023.0.3.x86_64
    ImageMagick-libs-debuginfo-6.9.13.29-1.amzn2023.0.3.x86_64
    ImageMagick-libs-6.9.13.29-1.amzn2023.0.3.x86_64