SB2026041434 - Multiple vulnerabilities in ImageMagick
Published: April 14, 2026 Updated: May 16, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 17 vulnerabilities.
1) Out-of-bounds write (CVE-ID: N/A)
CWE-ID: CWE-787 - Out-of-bounds write
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
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)
CWE-ID: CWE-121 - Stack-based buffer overflow
CVSSv4: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
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).
CWE-ID: CWE-401 - Missing release of memory after effective lifetime
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
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)
CWE-ID: CWE-122 - Heap-based Buffer Overflow
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
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) Use-after-free (CVE-ID: CVE-2026-40311)
CWE-ID: CWE-416 - Use After Free
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
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.
6) Heap-based buffer overflow (CVE-ID: CVE-2026-40183)
CWE-ID: CWE-122 - Heap-based Buffer Overflow
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
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.
7) Off-by-one (CVE-ID: CVE-2026-40312)
CWE-ID: CWE-193 - Off-by-one Error
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
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.
8) Integer overflow (CVE-ID: CVE-2026-34238)
CWE-ID: CWE-190 - Integer overflow
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
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.
9) Heap-based buffer overflow (CVE-ID: CVE-2026-33899)
CWE-ID: CWE-122 - Heap-based Buffer Overflow
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
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.
10) Heap-based buffer overflow (CVE-ID: N/A)
CWE-ID: CWE-122 - Heap-based Buffer Overflow
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
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.
11) Out-of-bounds read (CVE-ID: N/A)
CWE-ID: CWE-125 - Out-of-bounds read
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
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.
12) Out-of-bounds read (CVE-ID: N/A)
CWE-ID: CWE-125 - Out-of-bounds read
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
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.
13) Integer overflow (CVE-ID: CVE-2026-33900)
CWE-ID: CWE-190 - Integer overflow
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
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.
14) Heap-based buffer overflow (CVE-ID: CVE-2026-33901)
CWE-ID: CWE-122 - Heap-based Buffer Overflow
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
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.
15) Uncontrolled Recursion (CVE-ID: CVE-2026-33902)
CWE-ID: CWE-674 - Uncontrolled Recursion
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
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.
16) Out-of-bounds read (CVE-ID: CVE-2026-33905)
CWE-ID: CWE-125 - Out-of-bounds read
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
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.
17) Uncontrolled Recursion (CVE-ID: CVE-2026-33908)
CWE-ID: CWE-674 - Uncontrolled Recursion
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
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-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