Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.5
ImageMagick can let attackers run code or cause crashes
published 6 months ago
Summary
ImageMagick, a tool that creates and modifies picture files, contains several flaws that could let a specially crafted image make the program write data where it shouldn't. This can lead to the program crashing or an attacker taking control of the system. Install the latest ImageMagick update or replace it with a patched version, and only process images from trusted sources.
What to do
- Update openeuler imagemagick to version 7.1.2.19-1.oe2403sp2.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| openEuler:24.03-LTS-SP2 | openeuler | imagemagick |
< 7.1.2.19-1.oe2403sp2 Fix: upgrade to 7.1.2.19-1.oe2403sp2
|
Original advisory text
ImageMagick security update
Use ImageMagick to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
Security Fix(es):
ImageMagick contains a heap buffer overflow vulnerability when parsing XML. An attacker can exploit this vulnerability to write a single zero byte to a heap buffer, potentially leading to memory corruption or remote code execution.(CVE-2026-33899)
The VIFF encoder in ImageMagick contains an integer truncation/wraparound issue on 32-bit builds that could trigger an out of bounds heap write that can result in a crash.(CVE-2026-33900)
ImageMagick is an open-source image processing software. A heap buffer overflow vulnerability exists in the MVG (Magick Vector Graphics) decoder of ImageMagick. Attackers can trigger this vulnerability through specially crafted MVG image files, which may lead to arbitrary code execution.(CVE-2026-33901)
ImageMagick is vulnerable to stack overflow when processing recursive FX expressions. An attacker can cause stack overflow through specially crafted FX expressions, potentially leading to denial of service or arbitrary code execution.(CVE-2026-33902)
ImageMagick has an out-of-bounds read vulnerability in the sample operation. Attackers can exploit this vulnerability to read memory data beyond allocated boundaries, which may lead to information disclosure or application crashes.(CVE-2026-33905)
The DestroyXMLTree function in ImageMagick contains an uncontrolled recursion vulnerability (CWE-674). An attacker can trigger a stack overflow via specially crafted XML files, potentially leading to denial of service or arbitrary code execution. This vulnerability affects all versions prior to ImageMagick 7.1.2-19 and all versions prior to 6.9.13-44.(CVE-2026-33908)
ImageMagick has a heap buffer overflow vulnerability in the YAML and JSON encoders, which could allow attackers to execute arbitrary code or cause application crashes.(CVE-2026-40169)
ImageMagick has a heap buffer overflow vulnerability when encoding JXL images with 16-bit floating-point data. An attacker can exploit this vulnerability by crafting a malicious JXL image file, triggering buffer overflow that may lead to arbitrary code execution or application crash.(CVE-2026-40183)
A heap out-of-bounds write vulnerability exists in the JP2 encoder of ImageMagick. Attackers could exploit this vulnerability by crafting malicious JP2 image files, leading to heap memory corruption that could potentially execute arbitrary code or cause application crashes.(CVE-2026-40310)
A heap-use-after-free vulnerability exists in ImageMagick when processing XMP profile data. This vulnerability could be exploited by an attacker to cause a crash or potentially execute arbitrary code when printing values from the XMP profile.(CVE-2026-40311)
ImageMagick is an open-source image processing software. A vulnerability exists in the MSL (Magick Scripting Language) decoder where an off-by-one error occurs. An attacker can craft a malicious MSL file that leads to out-of-bounds write, potentially causing application crash or arbitrary code execution.(CVE-2026-40312)
Security Fix(es):
ImageMagick contains a heap buffer overflow vulnerability when parsing XML. An attacker can exploit this vulnerability to write a single zero byte to a heap buffer, potentially leading to memory corruption or remote code execution.(CVE-2026-33899)
The VIFF encoder in ImageMagick contains an integer truncation/wraparound issue on 32-bit builds that could trigger an out of bounds heap write that can result in a crash.(CVE-2026-33900)
ImageMagick is an open-source image processing software. A heap buffer overflow vulnerability exists in the MVG (Magick Vector Graphics) decoder of ImageMagick. Attackers can trigger this vulnerability through specially crafted MVG image files, which may lead to arbitrary code execution.(CVE-2026-33901)
ImageMagick is vulnerable to stack overflow when processing recursive FX expressions. An attacker can cause stack overflow through specially crafted FX expressions, potentially leading to denial of service or arbitrary code execution.(CVE-2026-33902)
ImageMagick has an out-of-bounds read vulnerability in the sample operation. Attackers can exploit this vulnerability to read memory data beyond allocated boundaries, which may lead to information disclosure or application crashes.(CVE-2026-33905)
The DestroyXMLTree function in ImageMagick contains an uncontrolled recursion vulnerability (CWE-674). An attacker can trigger a stack overflow via specially crafted XML files, potentially leading to denial of service or arbitrary code execution. This vulnerability affects all versions prior to ImageMagick 7.1.2-19 and all versions prior to 6.9.13-44.(CVE-2026-33908)
ImageMagick has a heap buffer overflow vulnerability in the YAML and JSON encoders, which could allow attackers to execute arbitrary code or cause application crashes.(CVE-2026-40169)
ImageMagick has a heap buffer overflow vulnerability when encoding JXL images with 16-bit floating-point data. An attacker can exploit this vulnerability by crafting a malicious JXL image file, triggering buffer overflow that may lead to arbitrary code execution or application crash.(CVE-2026-40183)
A heap out-of-bounds write vulnerability exists in the JP2 encoder of ImageMagick. Attackers could exploit this vulnerability by crafting malicious JP2 image files, leading to heap memory corruption that could potentially execute arbitrary code or cause application crashes.(CVE-2026-40310)
A heap-use-after-free vulnerability exists in ImageMagick when processing XMP profile data. This vulnerability could be exploited by an attacker to cause a crash or potentially execute arbitrary code when printing values from the XMP profile.(CVE-2026-40311)
ImageMagick is an open-source image processing software. A vulnerability exists in the MSL (Magick Scripting Language) decoder where an off-by-one error occurs. An attacker can craft a malicious MSL file that leads to out-of-bounds write, potentially causing application crash or arbitrary code execution.(CVE-2026-40312)
References
- https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-33899 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-33900 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-33901 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-33902 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-33905 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-33908 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-40169 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-40183 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-40310 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-40311 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-40312 Vendor Advisory
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker partial control (estimated)
Timeline
Published17 Apr 2026
Updated21 Aug 2026
First seen21 Aug 2026
Sources
OESA-2026-1918 · OSV
Track software like this
Free during beta