SB2026041434 - Multiple vulnerabilities in ImageMagick
Published: April 14, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 18 secuirty vulnerabilities.
1) Out-of-bounds write (CVE-ID: N/A)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to out-of-bounds write in ConnectedComponentsImage() when processing an invalid index in CLI-controlled connected-components:* artifacts. A remote attacker can supply a specially crafted define value to cause a denial of service.
User interaction is required to process the crafted input.
2) Stack-based buffer overflow (CVE-ID: N/A)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when handling images. A remote attacker can pass a specially crafted image to the application, trigger a stack-based buffer overflow and execute arbitrary code on the target system.
Note, the vulnerability exists due to an incomplete fix for #VU123893 (CVE-2026-28690).
3) Memory leak (CVE-ID: N/A)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to missing release of memory after effective lifetime in the PNG encoder when writing an MNG image. A remote attacker can trigger a failure while writing an MNG image to cause a denial of service.
4) Heap-based buffer overflow (CVE-ID: CVE-2026-40310)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to heap-based buffer overflow in the JP2 encoder when processing input with an invalid sampling index. A remote attacker can trick the victim into processing a crafted file to cause a denial of service.
User interaction is required to process the crafted input.
5) Heap-based buffer overflow (CVE-ID: CVE-2026-40169)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to heap-based buffer overflow in the YAML and JSON encoders when writing yaml or json output. A remote attacker can process a crafted image to cause a denial of service.
6) Use-after-free (CVE-ID: CVE-2026-40311)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to use-after-free in XMP profile processing when parsing an invalid XMP profile. A remote attacker can trick the victim into opening a crafted file to cause a denial of service.
User interaction is required to process the crafted input.
7) Heap-based buffer overflow (CVE-ID: CVE-2026-40183)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to heap-based buffer overflow in the JXL encoder when encoding an image as 16-bit floats. A remote attacker can trick the victim into processing a specially crafted image to cause a denial of service.
User interaction is required to process the crafted image.
8) Off-by-one (CVE-ID: CVE-2026-40312)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to an off-by-one error in the MSL decoder when parsing a malicious MSL file. A remote attacker can supply a specially crafted MSL file to cause a denial of service.
9) Integer overflow (CVE-ID: CVE-2026-34238)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to integer overflow in the despeckle operation when processing crafted input on 32-bit builds. A remote attacker can trigger an out-of-bounds write to cause a denial of service.
Only 32-bit builds are vulnerable.
10) Heap-based buffer overflow (CVE-ID: CVE-2026-33899)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to heap-based buffer overflow in the XML parser when parsing XML files. A remote attacker can send a specially crafted XML file to cause a denial of service.
A single zero byte may be written out of bounds during XML parsing.
11) Heap-based buffer overflow (CVE-ID: N/A)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to heap-based buffer overflow in the magnify operation when processing an unrecognized magnify:method value. A remote attacker can supply a specially crafted input to cause a denial of service.
User interaction is required to process the crafted input.
12) Out-of-bounds read (CVE-ID: N/A)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to an off-by-one error resulting in an out-of-bounds read in morphology processing when processing an incorrect morphology. A remote attacker can supply a crafted morphology input to cause a denial of service.
User interaction is required to process the crafted input.
13) Out-of-bounds read (CVE-ID: N/A)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to out-of-bounds read in the FTXT encoder when parsing the ftxt:format value. A remote attacker can provide a specially crafted input to cause a denial of service.
User interaction is required to process the crafted input.
14) Integer overflow (CVE-ID: CVE-2026-33900)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to integer overflow or wraparound in the viff encoder when processing crafted input on 32-bit builds. A remote attacker can send a specially crafted file to trigger an out-of-bounds heap write and cause a denial of service.
Only 32-bit builds are vulnerable.
15) Heap-based buffer overflow (CVE-ID: CVE-2026-33901)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to a heap-based buffer overflow in the MVG decoder when processing a crafted image. A remote attacker can send a specially crafted image to cause a denial of service.
The issue could result in an out-of-bounds write.
16) Uncontrolled Recursion (CVE-ID: CVE-2026-33902)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled recursion in the FX expression parser when parsing deeply nested expressions. A remote attacker can provide a deeply nested expression to cause a denial of service.
User interaction is required to process the crafted expression.
17) Out-of-bounds read (CVE-ID: CVE-2026-33905)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to out-of-bounds read in the -sample operation when processing a specific offset supplied through the sample:offset define. A remote attacker can supply a crafted offset value to cause a denial of service.
User interaction is required to process the crafted input.
18) Uncontrolled Recursion (CVE-ID: CVE-2026-33908)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled recursion in the DestroyXMLTree function when processing deeply nested XML input. A remote attacker can send a specially crafted XML file to cause a denial of service.
Remediation
Install update from vendor's website.
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pmpg-6pww-fg6q
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-98cp-rj9f-6v5g
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-x928-4434-crqj
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pwg5-6jfc-crvh
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5592-p365-24xh
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-r83h-crwp-3vm7
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-jvgr-9ph5-m8v4
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5xg3-585r-9jh5
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-26qp-ffjh-2x4v
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cr67-pvmx-2pp2
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8vfj-q2cp-5m5j
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-q8h3-jv9v-57qx
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-w54j-7wpm-crhj
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v67w-737x-v2c9
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-x9h5-r9v2-vcww
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-f4qm-vj5j-9xpw
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pcvx-ph33-r5vv
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-fwvm-ggf6-2p4x