CVE-2026-109964GHSA-mqmp-r5jh-jx7w
ImageMagick before 7.1.2-33 and 6.9.13-58 Heap Buffer Underwrite in PICT Decoder
ImageMagick ImageMagickLibraries & packages
CVSS
6.3MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.36%Chance of exploitation activity in the next 30 days, higher than 28% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 2
- ImageMagickaffected: 7.0.0-0 before 7.1.2-33CVE List
- ImageMagickaffected: all versions before 6.9.13-58CVE List
References 6
- github.com/ImageMagick/ImageMagick/commit/63dde0cf281383ab69432b88305f7dcd6a8ce900Fixvia CVE List
- github.com/ImageMagick/ImageMagick6/commit/c18c5d5fb7f1d87ddbe0a02e9d1207c89b24588cFixvia CVE List
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-mqmp-r5jh-jx7wAdvisoryvia CVE List
- vulncheck.com/advisories/imagemagick-before-7.1.2-33-and-6.9.13-58-heap-buffer-underwrite-in-pict-decoderAdvisoryvia CVE List
- github.com/ImageMagick/ImageMagick/blob/7.1.2-32/coders/pict.c#L503-L540Referencevia CVE List
- github.com/ImageMagick/ImageMagickReferencevia CVE List