#VU125869 Heap-based buffer overflow in ImageMagick - CVE-2026-40310

 

#VU125869 Heap-based buffer overflow in ImageMagick - CVE-2026-40310

Published: April 14, 2026


Vulnerability identifier: #VU125869
Vulnerability risk: Medium
CVSSv4.0: 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
CVE-ID: CVE-2026-40310
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
ImageMagick
Software vendor:
ImageMagick.org

Description

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.


Remediation

Install security update from vendor's website.

External links