ImageMagick Heap Out-of-Bounds Write Vulnerability in JP2 Encoder

Vulnerability

A heap out-of-bounds write vulnerability has been identified in the JP2 encoder of ImageMagick. This issue affects versions prior to 7.1.2-19 and prior to 6.9.13-44. The vulnerability arises when a user specifies an invalid sampling index, leading to potential memory corruption.

Impact

Exploitation of this vulnerability causes a heap out-of-bounds write, which can commonly lead to memory corruption and the possibility of arbitrary code execution.

Remediation

Users can upgrade to ImageMagick versions 7.1.2-19 or 6.9.13-44 to address this vulnerability.

Added: Apr 13, 2026, 10:33 PM
Updated: Apr 13, 2026, 10:33 PM

Vulnerability Rating

Custom Algorithm
spread
7.8
impact
1.3
exploitability
4.9
remediation
7.7
relevance
5.8
threat
3.2
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.