ImageMagick Heap Buffer Over-Read Vulnerability in Raw Image Format Handles

Vulnerability

A heap buffer over-read vulnerability has been identified in ImageMagick versions prior to 7.1.2-15 and 6.9.13-40. This vulnerability exists in multiple raw image format handles and arises when processing images with -extract dimensions larger than -size dimensions. The issue leads to out-of-bounds memory reads from a heap-allocated buffer, potentially allowing for memory corruption or information disclosure.

Impact

Exploitation of this vulnerability causes a heap buffer over-read, leading to out-of-bounds memory reads from a heap-allocated buffer. This type of vulnerability can often be exploited to disclose sensitive information or manipulate memory in a way that could be harmful.

Reproduction

The vulnerability can be reproduced by using ImageMagick to process raw images with -extract dimensions that exceed the -size dimensions. This can be done through the command line or by using a script that leverages the ImageMagick library.

Remediation

Users can upgrade to ImageMagick versions 7.1.2-15 or 6.9.13-40, both of which include the necessary patch to address this vulnerability.

Added: Feb 24, 2026, 2:02 AM
Updated: Feb 24, 2026, 2:02 AM

Vulnerability Rating

Custom Algorithm
spread
7.8
impact
0.6
exploitability
4.3
remediation
7.7
relevance
3.1
threat
4.8
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.