Skip to content
OpenAdvisories
Medium ALAS2-2026-3939 34 CVEs

Moderate: ImageMagick security update (Amazon Linux 2)

Published Sep 28, 2026 · Updated Sep 28, 2026

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-86425: ImageMagick before 7.1.2-30 and 6.9.x before 6.9.13-55 contains a heap-use-after-free vulnerability in the Layer method of PerlMagick. An attacker who supplies a crafted list of images can trigger memory access after deallocation, resulting in a crash (denial of service). CVE-2026-86423: ImageMagick before 7.1.2-30 and 6.9.x before 6.9.13-55 contains a heap-use-after-free vulnerability in the GetList method of PerlMagick. A crafted call to the GetList method can trigger the use-after-free, resulting in a crash (denial of service). CVE-2026-86421: ImageMagick before 7.1.2-30 and 6.9.13-55 contains a memory leak in the MSL image decoder. A crafted MSL image triggers memory allocation without proper deallocation, allowing an attacker to exhaust memory and cause a denial of service. CVE-2026-86420: ImageMagick before 7.1.2-30 and 6.9.13-55 fails to properly lower the memory budget when an operation inside OpenPixelCache fails. Repeated triggering of such failures can exhaust the process memory budget and result in a denial of service. CVE-2026-64685: ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-27, the BGR decoder does not check for an end-of-file in every location so a crafted image could result in an heap buffer over-read. This issue has been fixed in version 7.1.2-27. CVE-2026-62343: ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 6.9.13-51 and 7.0.1-0 and above prior to 7.1.2-26, an invalid kernel can cause a heap buffer over-write when performing a morphology operation with a user supplied kernel. This issue has been fixed in versions 6.9.13-51 and 7.1.2-26. CVE-2026-61872: ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in the TIFF encoder when an invalid tiff:tile-geometry is specified. Supplying malformed tile geometry parameters causes allocated memory not to be released, which can lead to increased memory consumption. CVE-2026-61870: ImageMagick before 7.1.2-26 contains a memory leak vulnerability in the VIFF encoder when memory allocation fails. Attackers can trigger allocation failures by processing specially crafted VIFF images to exhaust available memory and cause denial of service. CVE-2026-61869: ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in the MIFF encoder that occurs when a memory allocation fails during MIFF image processing, which can lead to denial of service. CVE-2026-61868: ImageMagick before 7.1.2-26 and 6.9.x before 6.9.13-51 contains a memory leak in the YUV decoder that occurs when opening of the blob fails. Repeated triggering can lead to resource exhaustion (denial of service). CVE-2026-61866: ImageMagick before 7.1.2-26 contains a memory leak vulnerability in the JNG encoder when a blob cannot be opened. Attackers can trigger the memory leak by providing malformed JNG files that fail blob operations, causing resource exhaustion. CVE-2026-61865: ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in the hough lines operation: when a specific operation fails, a small memory leak occurs. CVE-2026-61864: ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in color transformation to the log colorspace: when the operation fails, a small amount of memory is not released. CVE-2026-61863: ImageMagick before 7.1.2-26 (and 6.x before 6.9.13-51) contains a memory leak in the TIFF encoder that occurs when a temporary file cannot be created, resulting in a small memory leak. CVE-2026-61862: ImageMagick before 7.1.2-26 and 6.9.13-51 contains an information disclosure vulnerability: when a profile is displayed with the identify command and the profile value is not printable, a single byte at the end of the profile can be printed (read past the profile boundary). This behavior occurs when debug output is enabled. CVE-2026-61858: ImageMagick before 7.1.2-26 contains a policy bypass vulnerability in the APNG encoder and external delegates due to missing validation checks. Attackers can write files to disallowed paths by bypassing configured policy restrictions through the APNG encoding process. CVE-2026-61857: ImageMagick before 7.1.2-26 contains a heap use-after-free vulnerability caused by missing null check when parsing XMP profiles. Attackers can craft malicious image files with specially crafted XMP data to trigger the vulnerability and cause application crashes. CVE-2026-61465: ImageMagick before 7.1.2-26 and 6.9.13-51 is missing a check for the allowed memory allocation limit in matrix-backed operations such as -canny. An attacker can supply a crafted image that causes ImageMagick to allocate more memory than permitted by the configured policy, resulting in a denial of service. CVE-2026-61464: ImageMagick before 7.1.2-26 and 6.9.13-51 contains a heap-based buffer over-write vulnerability that occurs when running an X11 import with a crafted window title, which can result in heap memory corruption and denial of service. CVE-2026-56377: ImageMagick before 7.1.2-24 contains an incorrect policy check that allows attackers to create or truncate files disallowed by security policies. Remote attackers can bypass path policy restrictions in sandboxed conversion services to write arbitrary files outside intended boundaries. CVE-2026-56373: ImageMagick before 7.1.2-15 contains a use-after-free vulnerability in the PDB decoder that uses a stale pointer when memory allocation fails. Attackers can trigger this vulnerability by processing malicious PDB files to cause crashes or write a single zero byte to freed memory. CVE-2026-56369: ImageMagick before 7.1.2-22 contains an information disclosure vulnerability in the PasskeyEncipherImage method due to AES-CTR nonce reuse. Attackers can exploit nonce reuse in the cipher implementation to recover plaintext information from encryp

Fixed packages 7

ReleasePackageFixed in
Amazon Linux · 2 ImageMagick 0:6.9.10.97-1.amzn2.0.32
Amazon Linux · 2 ImageMagick-c++ 0:6.9.10.97-1.amzn2.0.32
Amazon Linux · 2 ImageMagick-c++-devel 0:6.9.10.97-1.amzn2.0.32
Amazon Linux · 2 ImageMagick-debuginfo 0:6.9.10.97-1.amzn2.0.32
Amazon Linux · 2 ImageMagick-devel 0:6.9.10.97-1.amzn2.0.32
Amazon Linux · 2 ImageMagick-doc 0:6.9.10.97-1.amzn2.0.32
Amazon Linux · 2 ImageMagick-perl 0:6.9.10.97-1.amzn2.0.32

Vulnerabilities 34

  • Medium 6.5

    ImageMagick: Heap Buffer Over-Read in XCF decoder due to integer conversion overflow

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-51 and 7.1.2-26, an integer overflow in the XCF decoder can result in an out of bounds read when a crafted image is read, potentially resul…

  • Medium 5.9

    ImageMagick: Heap Buffer Overflow in ImageMagick MVG decoder

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-51 and 7.1.2-26, a heap buffer overflow occurs in the MVG decoder that could result in an out of bounds write when processing a crafted ima…

  • Medium 5.5

    ImageMagick: Heap Buffer Over-Write in JP2 encoder when due to incorrect handling of arguments

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-26, an incorrect handling of arguments can cause a heap buffer over-write in the JP2 encoder. This issue has been fixed in version7.1.2-26.

  • Medium 5.5

    ImageMagick: Policy Bypass in concatenate operation due to missing checks

    ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-26he, the `-concatenate` operation is missing policy checks, potentially resulting in both reading and writing to paths disallowed by the…

  • Medium 5.3

    ImageMagick: Information Disclosure in MNG decoder because allocated memory is left unchanged

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-51 and 7.1.2-26, the MNG decoder contains a possible heap information disclosure vulnerability because part of the pixels are left unchange…

  • Medium 5.3

    ImageMagick: Stack Overflow in MVG decoder due to missing depth check.

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-51 and 7.1.2-26, a missing depth check in the MVG decoder will result in a stack overflow when a crafted image is provided. This issue has …

  • Medium 5.3

    ImageMagick: Heap Buffer Over-Read in BGR decoder due to mising end-of-file check

    ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-27, the BGR decoder does not check for an end-of-file in every location so a crafted image could result in an heap buffer over-read. This…

  • Medium 4.7

    ImageMagick: Infinite Loop in connected-components when providing invalid arguments

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-51 and 7.1.2-26, when providing invalid arguments to the connected-components option an infinite loop will occur. This issue has been fixed…

  • Medium 4.7

    ImageMagick: Heap Buffer Over-Write in morphology operation when an invalid kernel is provided

    ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 6.9.13-51 and 7.0.1-0 and above prior to 7.1.2-26, an invalid kernel can cause a heap buffer over-write when performing a morphology operation …

  • Low 3.7

    ImageMagick - Memory Leak in PNG Encoder via MNG Image Writing

    ImageMagick before 7.1.2-19 contains a memory leak vulnerability in the PNG encoder when writing MNG images. Attackers can trigger the encoder failure condition to exhaust memory resources and cause denial of service.

  • Low 3.7

    ImageMagick - Information Disclosure via AES-CTR Nonce Reuse in PasskeyEncipherImage

    ImageMagick before 7.1.2-22 contains an information disclosure vulnerability in the PasskeyEncipherImage method due to AES-CTR nonce reuse. Attackers can exploit nonce reuse in the cipher implementation to recover plaintext information from encrypted images.

  • Low 3.7

    ImageMagick - Use-After-Free Write in PDB Decoder

    ImageMagick before 7.1.2-15 contains a use-after-free vulnerability in the PDB decoder that uses a stale pointer when memory allocation fails. Attackers can trigger this vulnerability by processing malicious PDB files to cause crashes or write a single zero b…

  • Low 3.7

    ImageMagick before 7.1.2-26 Heap Use-After-Free via XMP

    ImageMagick before 7.1.2-26 contains a heap use-after-free vulnerability caused by missing null check when parsing XMP profiles. Attackers can craft malicious image files with specially crafted XMP data to trigger the vulnerability and cause application crash…

  • Low 3.7

    ImageMagick before 7.1.2-26 Memory Leak in YUV Decoder

    ImageMagick before 7.1.2-26 and 6.9.x before 6.9.13-51 contains a memory leak in the YUV decoder that occurs when opening of the blob fails. Repeated triggering can lead to resource exhaustion (denial of service).

  • Low 3.7

    ImageMagick before 7.1.2-30 Denial of Service Memory Budget

    ImageMagick before 7.1.2-30 and 6.9.13-55 fails to properly lower the memory budget when an operation inside OpenPixelCache fails. Repeated triggering of such failures can exhaust the process memory budget and result in a denial of service.

  • Low 3.7

    ImageMagick before 7.1.2-30 Memory Leak via MSL decoder

    ImageMagick before 7.1.2-30 and 6.9.13-55 contains a memory leak in the MSL image decoder. A crafted MSL image triggers memory allocation without proper deallocation, allowing an attacker to exhaust memory and cause a denial of service.

  • Low 3.3

    ImageMagick - Heap Buffer Overflow via Off-by-One in Morphology Processing

    ImageMagick before 7.1.2-19 contains an off-by-one error in morphology validation allowing out-of-bounds heap buffer reads. Attackers can trigger heap buffer overflow by providing incorrect morphology parameters causing single pixel memory access violations.

  • Low 3.3

    ImageMagick - Heap-buffer-overflow Read in GetPixelIndex via OpenPixelCache Metadata Desynchronization

    ImageMagick before 7.1.2-15 contains a heap-buffer-overflow read vulnerability in GetPixelIndex caused by OpenPixelCache updating image channel metadata before pixel cache memory allocation. Attackers can trigger memory and disk allocation failures to cause a…

  • Low 3.3

    ImageMagick - Division by Zero in Binomial Kernel Processing

    ImageMagick before 7.1.2-22 contains a division by zero vulnerability in binomial kernel processing that allows attackers to cause denial of service. An attacker can supply a large binomial kernel value causing integer overflow, resulting in division by zero …

  • Low 3.3

    ImageMagick - Memory Leak in META Reader APP1JPEG Error Path

    ImageMagick before 7.1.2-18 contains a memory leak vulnerability in the META reader when processing APP1JPEG input paths. Attackers can trigger this memory leak by providing specially crafted APP1JPEG image files, causing denial of service through resource ex…

  • Low 3.3

    ImageMagick - Policy Bypass via Incorrect Path Validation

    ImageMagick before 7.1.2-24 contains an incorrect policy check that allows attackers to create or truncate files disallowed by security policies. Remote attackers can bypass path policy restrictions in sandboxed conversion services to write arbitrary files ou…

  • Low 3.3

    ImageMagick before 7.1.2-26 Memory Allocation Policy Bypass

    ImageMagick before 7.1.2-26 and 6.9.13-51 is missing a check for the allowed memory allocation limit in matrix-backed operations such as -canny. An attacker can supply a crafted image that causes ImageMagick to allocate more memory than permitted by the confi…

  • Low 3.3

    ImageMagick before 7.1.2-26 Policy Bypass via APNG encoder

    ImageMagick before 7.1.2-26 contains a policy bypass vulnerability in the APNG encoder and external delegates due to missing validation checks. Attackers can write files to disallowed paths by bypassing configured policy restrictions through the APNG encoding…

  • Low 3.3

    ImageMagick before 7.1.2-30 Heap-use-after-free via GetList

    ImageMagick before 7.1.2-30 and 6.9.x before 6.9.13-55 contains a heap-use-after-free vulnerability in the GetList method of PerlMagick. A crafted call to the GetList method can trigger the use-after-free, resulting in a crash (denial of service).

  • Low 3.3

    ImageMagick before 7.1.2-30 Heap-use-after-free via Layer

    ImageMagick before 7.1.2-30 and 6.9.x before 6.9.13-55 contains a heap-use-after-free vulnerability in the Layer method of PerlMagick. An attacker who supplies a crafted list of images can trigger memory access after deallocation, resulting in a crash (denial…

  • Low 2.9

    ImageMagick before 7.1.2-26 Information Disclosure via identify

    ImageMagick before 7.1.2-26 and 6.9.13-51 contains an information disclosure vulnerability: when a profile is displayed with the identify command and the profile value is not printable, a single byte at the end of the profile can be printed (read past the pro…

  • Low 2.9

    ImageMagick before 7.1.2-26 Memory Leak in TIFF Encoder

    ImageMagick before 7.1.2-26 (and 6.x before 6.9.13-51) contains a memory leak in the TIFF encoder that occurs when a temporary file cannot be created, resulting in a small memory leak.

  • Low 2.9

    ImageMagick before 7.1.2-26 Memory Leak in Log Colorspace

    ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in color transformation to the log colorspace: when the operation fails, a small amount of memory is not released.

  • Low 2.9

    ImageMagick before 7.1.2-26 Memory Leak in Hough Lines

    ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in the hough lines operation: when a specific operation fails, a small memory leak occurs.

  • Low 2.9

    ImageMagick before 7.1.2-26 Memory Leak in JNG encoder

    ImageMagick before 7.1.2-26 contains a memory leak vulnerability in the JNG encoder when a blob cannot be opened. Attackers can trigger the memory leak by providing malformed JNG files that fail blob operations, causing resource exhaustion.

  • Low 2.9

    ImageMagick before 7.1.2-26 Memory Leak in MIFF Encoder

    ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in the MIFF encoder that occurs when a memory allocation fails during MIFF image processing, which can lead to denial of service.

  • Low 2.9

    ImageMagick before 7.1.2-26 Memory Leak via VIFF Encoder

    ImageMagick before 7.1.2-26 contains a memory leak vulnerability in the VIFF encoder when memory allocation fails. Attackers can trigger allocation failures by processing specially crafted VIFF images to exhaust available memory and cause denial of service.

  • Low 2.5

    ImageMagick before 7.1.2-26 Memory Leak via TIFF Encoder

    ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in the TIFF encoder when an invalid tiff:tile-geometry is specified. Supplying malformed tile geometry parameters causes allocated memory not to be released, which can lead to increased memory c…

  • Low 1.8

    ImageMagick before 7.1.2-26 Heap Buffer Over-Write via X11

    ImageMagick before 7.1.2-26 and 6.9.13-51 contains a heap-based buffer over-write vulnerability that occurs when running an X11 import with a crafted window title, which can result in heap memory corruption and denial of service.

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-53466.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-53467.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-55577.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-55594.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-55595.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-55597.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-55628.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-56361.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-56362.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-56363.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-56365.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-56366.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-56369.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-56373.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-56377.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-61464.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-61465.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-61857.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-61858.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-61862.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-61863.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-61864.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-61865.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-61866.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-61868.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-61869.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-61870.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-61872.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-62343.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-64685.html