Skip to content
OpenAdvisories
High ALAS2-2026-3211 42 CVEs

Important: ImageMagick security update (Amazon Linux 2)

Published Mar 30, 2026 · Updated Apr 1, 2026

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-31853: ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-16 and 6.9.13-41, an overflow on 32-bit systems can cause a crash in the SFW decoder when processing extremely large images. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41. CVE-2026-30937: A flaw was found in ImageMagick, a software suite for editing and manipulating digital images. An integer overflow vulnerability exists in the XWD (X Windows) encoder when processing extremely large images. This flaw can lead to an undersized memory allocation, resulting in an out-of-bounds write to the heap. A local attacker could exploit this to cause a denial of service (DoS) or potentially impact data integrity. CVE-2026-30936: A flaw was found in ImageMagick, a free and open-source software for editing and manipulating digital images. A remote attacker could exploit this vulnerability by providing a specially crafted image to a user, which, when processed with the -wavelet-denoise operation, could lead to an out-of-bounds heap write. This issue can result in a denial of service (DoS), causing the application to become unstable or crash. CVE-2026-30929: ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, MagnifyImage uses a fixed-size stack buffer. When using a specific image it is possible to overflow this buffer and corrupt the stack. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41. CVE-2026-30883: A flaw was found in ImageMagick, a free and open-source software used for editing and manipulating digital images. A local attacker could exploit this vulnerability by providing an extremely large image profile when encoding a PNG image. This could result in a heap overflow, leading to a Denial of Service (DoS), which makes the affected system or application unavailable to legitimate users. CVE-2026-28693: A flaw was found in ImageMagick, a free and open-source software used for editing and manipulating digital images. An integer overflow vulnerability in the DIB (Device Independent Bitmap) coder component can be exploited by a remote attacker. By processing a specially crafted image file, this flaw may lead to an out-of-bounds read or write, potentially resulting in arbitrary code execution, privilege escalation, information disclosure, or a Denial of Service (DoS). CVE-2026-28692: A flaw was found in ImageMagick, a free and open-source software used for editing and manipulating digital images. A remote attacker could exploit a heap over-read vulnerability in the MAT decoder due to incorrect parenthesization when using 32-bit arithmetic. This could lead to the disclosure of sensitive information and a denial of service (DoS) condition. CVE-2026-28691: ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, an uninitialized pointer dereference vulnerability exists in the JBIG decoder due to a missing check. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41. CVE-2026-28690: ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a stack buffer overflow vulnerability exists in the MNG encoder. There is a bounds checks missing that could corrupting the stack with attacker-controlled data. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41. CVE-2026-28689: A flaw was found in ImageMagick, a free and open-source software used for editing and manipulating digital images. A time-of-check to time-of-use (TOCTOU) vulnerability exists where authorization for a file path is checked before the file is finally opened or used. A local attacker can exploit this by performing a symlink swap between the check-time and use-time, bypassing policy-denied read/write operations. This can lead to information disclosure and unauthorized modification of files. CVE-2026-28688: ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a heap-use-after-free vulnerability exists in the MSL encoder, where a cloned image is destroyed twice. The MSL coder does not support writing MSL so the write capability has been removed. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41. CVE-2026-28687: A flaw was found in ImageMagick, free and open-source software used for editing and manipulating digital images. A heap use-after-free vulnerability in ImageMagick's MSL (Magick Scripting Language) decoder allows an attacker to trigger access to freed memory by crafting a malicious MSL file. This can lead to a denial of service. CVE-2026-28686: A flaw was found in ImageMagick, free and open-source software used for editing and manipulating digital images. A local attacker could exploit a heap-buffer-overflow vulnerability in the PCL encode due to an undersized output buffer allocation. This could lead to a denial of service (DoS), making the software unavailable, and potentially impact data integrity. CVE-2026-28494: A flaw was found in ImageMagick. This vulnerability, a stack buffer overflow, allows an attacker to cause stack corruption by providing maliciously crafted kernel strings. This can lead to arbitrary code execution or a denial of service (DoS), impacting the availability and integrity of the system. CVE-2026-27799: ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap buffer over-read vulnerability exists in the DJVU image format handler. The vulnerability occurs due to integer truncation when calculating the stride (row size) for pixel buffer allocation. The stride calculation overflows a 32-bit signed integer, resulting in an out-of-bounds memory reads. Versions 7.1.2-15 and 6.9.13-40 contai

Fixed packages 7

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

Vulnerabilities 42

  • High 8.6

    ImageMagick's policy bypass through path traversal allows reading restricted content despite secured policy

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, ImageMagick’s path security policy is enforced on the raw filename string before the filesystem resolves it. As a result, …

  • High 8.1

    ImageMagick has an integer overflow in DIB coder can result in out of bounds read or write

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, an integer overflow in DIB coder can result in out of bounds read or write. This vulnerability is fixed in 7.1.2-16 and 6.…

  • High 7.7

    ImageMagick has a stack buffer overflow in MagnifyImage

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, MagnifyImage uses a fixed-size stack buffer. When using a specific image it is possible to overflow this buffer and corrup…

  • High 7.5

    ImageMagick has Possible Heap Information Disclosure in PSD ZIP Decompression

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap information disclosure vulnerability exists in ImageMagick's PSD (Adobe Photoshop) format handler. When processing …

  • High 7.5

    ImageMagick: Infinite loop vulnerability when parsing a PCD file

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, when a PCD file does not contain a valid Sync marker, the DecodeImage() function becomes trapped in an infinite loop while…

  • High 7.5

    Memory allocation with excessive without limits in the internal SVG decoder

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a crafted SVG file containing an malicious element causes ImageMagick to attempt to allocate ~674 GB of memory, leading to…

  • High 7.5

    ImageMagick has an uninitialized pointer dereference in JBIG decoder

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, an uninitialized pointer dereference vulnerability exists in the JBIG decoder due to a missing check. This vulnerability i…

  • High 7.4

    ImageMagick has MSL attribute stack buffer overflow that leads to out of bounds write.

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a stack buffer overflow occurs when processing the an attribute in msl.c. A long value overflows a fixed-size stack buffer…

  • High 7.1

    ImageMagick affected by stack corruption through long morphology kernel names or arrays

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a stack buffer overflow exists in ImageMagick's morphology kernel parsing functions. User-controlled kernel strings exceed…

  • Medium 6.9

    ImageMagick has a stack write buffer overflow in MNG encoder

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a stack buffer overflow vulnerability exists in the MNG encoder. There is a bounds checks missing that could corrupting th…

  • Medium 6.8

    ImageMagick has a write heap-buffer-overflow in PCL encoder via undersized output buffer

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, A heap-buffer-overflow vulnerability exists in the PCL encode due to an undersized output buffer allocation. This vulnerab…

  • Medium 6.8

    ImageMagick has a heap buffer overflow in WriteXWDImage due to CARD32 arithmetic overflow in bytes_per_line calculation

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a 32-bit unsigned integer overflow in the XWD (X Windows) encoder can cause an undersized heap buffer allocation. When wri…

  • Medium 6.5

    Imagemagick Has Global Buffer Overflow (OOB Read) via Negative Pixel Index in UIL and XPM Writer

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, the UIL and XPM image encoder do not validate the pixel index value returned by `GetPixelIndex()` before using it as an ar…

  • Medium 6.5

    ImageMagick Has Heap Out-of-Bounds Read in DCM Decoder (ReadDCMImage)

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap out-of-bounds read vulnerability exists in the `coders/dcm.c` module. When processing DICOM files with a specific c…

  • Medium 6.5

    ImageMagick has heap overflow in pcd decoder that leads to out of bounds read.

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, ImageMagick lacks proper boundary checking when processing Huffman-coded data from PCD (Photo CD) files. The decoder conta…

  • Medium 6.3

    ImageMagick has a Path Policy TOCTOU symlink race bypass

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, domain="path" authorization is checked before final file open/use. A symlink swap between check-time and use-time bypasses…

  • Medium 6.2

    ImageMagick's MSL: Stack overflow in ProcessMSLScript

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, Magick fails to check for circular references between two MSLs, leading to a stack overflow. Versions 7.1.2-15 and 6.9.13-…

  • Medium 6.2

    ImageMagick has infinite loop when writing IPTCTEXT leads to denial of service via crafted profile

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a crafted profile contain invalid IPTC data may cause an infinite loop when writing it with `IPTCTEXT`. Versions 7.1.2-15 …

  • Medium 6.2

    ImageMagick has possible infinite loop in JPEG encoder when using `jpeg:extent`

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a `continue` statement in the JPEG extent binary search loop in the jpeg encoder causes an infinite loop when writing pers…

  • Medium 5.9

    ImageMagick's Security Policy Bypass through config/policy-secure.xml via "fd handler" leads to stdin/stdout access

    ImageMagick is free and open-source software used for editing and manipulating digital images. The shipped "secure" security policy includes a rule intended to prevent reading/writing from standard streams. However, ImageMagick also supports fd:<n> pseudo-fil…

  • Medium 5.7

    ImageMagick vulnerable to Code injection via PostScript header in ps coders

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, the ps coders, responsible for writing PostScript files, fails to sanitize the input before writing it into the PostScript…

  • Medium 5.7

    ImageMagick has a Heap Overflow when writing extremely large image profile in the PNG encoder

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, an extremely large image profile could result in a heap overflow when encoding a PNG image. This vulnerability is fixed in…

  • Medium 5.7

    ImageMagick has a heap buffer over-write on 32-bit systems in SFW decoder

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-16 and 6.9.13-41, an overflow on 32-bit systems can cause a crash in the SFW decoder when processing extremely large images. This vulnerability is fi…

  • Medium 5.5

    ImageMagick has a heap Buffer Overflow in WaveletDenoiseImage

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a crafted image could cause an out of bounds heap write inside the WaveletDenoiseImage method. When processing a crafted i…

  • Medium 5.3

    ImageMagick: Converting multi-layer nested MVG to SVG can cause DoS

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, Magick fails to check for multi-layer nested mvg conversions to svg, leading to DoS. Versions 7.1.2-15 and 6.9.13-40 conta…

  • Medium 5.3

    ImageMagick has memory leak in msl encoder

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, memory leak exists in `coders/msl.c`. In the `WriteMSLImage` function of the `msl.c` file, resources are allocated. But th…

  • Medium 5.3

    ImageMagick has NULL pointer dereference in ReadSFWImage after DestroyImageInfo (sfw.c)

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, in `ReadSFWImage()` (`coders/sfw.c`), when temporary file creation fails, `read_info` is destroyed before its `filename` m…

  • Medium 5.3

    ImageMagick has memory leak of watermark Image object in ReadSTEGANOImage on multiple error/early-return paths

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, in `ReadSTEGANOImage()` (`coders/stegano.c`), the `watermark` Image object is not freed on three early-return paths, resul…

  • Medium 5.3

    ImageMagick has NULL Pointer Dereference in ClonePixelCacheRepository via crafted image

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a NULL pointer dereference in ClonePixelCacheRepository allows a remote attacker to crash any application linked against I…

  • Medium 5.3

    ImageMagick has Division-by-Zero in YUV sampling factor validation, which leads to crash

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a logic error in YUV sampling factor validation allows an invalid sampling factor to bypass checks and trigger a division-…

  • Medium 5.3

    ImageMagick SIXEL Decoder Has Signed Integer Overflow, Leading to Memory Corruption

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a signed integer overflow vulnerability in ImageMagick's SIXEL decoder allows an attacker to trigger memory corruption and…

  • Medium 5.3

    ImageMagick has Use After Free in MSLStartElement in "coders/msl.c"

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a crafted MSL script triggers a heap-use-after-free. The operation element handler replaces and frees the image while the …

  • Medium 5.3

    ImageMagick has a heap buffer overflow in YUV 4:2:2 decoder

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap buffer overflow write vulnerability exists in ReadYUVImage() (coders/yuv.c) when processing malicious YUV 4:2:2 (No…

  • Medium 5.3

    ImageMagick has heap buffer over-read in MAP image decoder

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap buffer over-read vulnerability exists in the MAP image decoder when processing crafted MAP files, potentially leadi…

  • Medium 5.3

    ImageMagick's MSL image stack index not refreshed, leading to leaked images.

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, sometimes msl.c fails to update the stack index, so an image is stored in the wrong slot and never freed on error, causing…

  • Medium 5.3

    ImageMagick: Invalid MSL <map> can result in a use after free

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, the MSL interpreter crashes when processing a invalid `<map>` element that causes it to use an image after it has been fre…

  • Medium 5.3

    ImageMagick has a Heap Use-After-Free in ImageMagick MSL decoder

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a heap use-after-free vulnerability in ImageMagick's MSL decoder allows an attacker to trigger access to freed memory by c…

  • Medium 5.1

    ImageMagick: Out of bounds read in multiple coders read raw pixel data

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap buffer over-read vulnerability exists in multiple raw image format handles. The vulnerability occurs when processin…

  • Medium 4.8

    ImageMagick has a heap buffer over-read via 32-bit integer overflow in MAT decoder

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, MAT decoder uses 32-bit arithmetic due to incorrect parenthesization resulting in a heap over-read. This vulnerability is …

  • Medium 4.0

    ImageMagick: Heap Buffer Over-read in WaveletDenoise when processing small images

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap buffer over-read vulnerability occurs when processing an image with small dimension using the `-wavelet-denoise` op…

  • Medium 4.0

    ImageMagick has a heap Buffer Over-read in its DJVU image format handler

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap buffer over-read vulnerability exists in the DJVU image format handler. The vulnerability occurs due to integer tru…

  • Medium 4.0

    ImageMagick has a heap use-after-free in the MSL encoder

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a heap-use-after-free vulnerability exists in the MSL encoder, where a cloned image is destroyed twice. The MSL coder does…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-24481.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-24484.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-24485.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25576.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25638.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25795.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25796.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25797.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25798.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25799.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25898.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25965.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25966.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25968.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25970.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25971.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25982.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25983.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25985.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25986.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25987.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25988.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-26066.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-26283.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-26284.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-26983.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-27798.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-27799.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-28494.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-28686.html