Description
ImageMagick before 7.1.2-33 and 6.9.13-58 contains a heap buffer underwrite vulnerability in DecodeImage() in coders/pict.c on 32-bit builds due to pointer arithmetic overflow. Attackers can supply a crafted PICT file with maximized row, column and bytes-per-line values to bypass bounds checks and write up to 128 controlled bytes below the heap buffer, causing crashes or code execution.
Affected products
imagemagick: imagemagick
References6
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-mqm… PatchVendor Advisory
- github.com/ImageMagick/ImageMagick/commit/63dde0cf281383ab69432… Patch
- github.com/ImageMagick/ImageMagick6/commit/c18c5d5fb7f1d87ddbe0… Patch
- www.vulncheck.com/advisories/imagemagick-before-7.1.2-33-and-6.… PatchThird Party Advisory
- github.com/ImageMagick/ImageMagick Product
- github.com/ImageMagick/ImageMagick/blob/7.1.2-32/coders/pict.c#… Product
Metrics
- CVSS 3.1
-
5.6
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - CVSS 4.0
-
6.3
MEDIUM
Score source: CNA
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 28 · as of 11 November 2026
- CWE
- CWE-124
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.