SB2026041434 - Multiple vulnerabilities in ImageMagick



SB2026041434 - Multiple vulnerabilities in ImageMagick

Published: April 14, 2026

Security Bulletin ID SB2026041434
Severity
High
Patch available
YES
Number of vulnerabilities 18
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 6% Medium 50% Low 44%
  • 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