Read the docs

Heap-based buffer overflow in ImageMagick image import

Priority LOW 38CWE-122Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

ImageMagick 7.1.1-4 and 7.1.1-6 (Beta) are affected. A heap-based buffer overflow (CWE-122) in MagickCore/quantum-import.c lets a crafted input write past the end of a heap buffer, and the program crashes when it processes such a file. The sources do not state the required privileges or user interaction.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the GitHub advisory

### Summary While fuzzing ImageMagick using AFL - We came across a heap overflow vulnerability which is vulnerable in 7.1.1-4,5&6. MagickCore/quantum-import.c:3544 ### PoC 1. git clone https://github.com/ImageMagick/ImageMagick.git 2. ./configure CC=afl-clang-fast CXX=afl-clang-fast++ --disable-shared 3. AFL_USE_ASAN=1 make -j$(nproc) 4. run **./magick convert heapoverflow-poc /dev/null** or **./magick heapoverflow-poc /dev/null** 5. The program will crash like see below : ![heap-overflow-poc](https://user-images.githubusercontent.com/16723538/228376715-1ad23815-0141-40e2-819d-109f66dd9668.png)

Why it matters now

Fix Fixed ImageMagick: 7.1.1-6

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—ImageMagick7.1.1-4,7.1.1-6 (Beta)7.1.1-6Patch availableGHSA-35q2-86c7-9247
  • ImageMagick Vendor— Affected 7.1.1-4,7.1.1-6 (Beta) Fixed in 7.1.1-6 Patch available GHSA-35q2-86c7-9247

Remediation

ImageMagick 7.1.1-6 fixes this flaw, and the sources list no fixed version for the other affected 7.1.1-4 build line. Upgrade ImageMagick to 7.1.1-6 or later.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

  • Fix · GHSA-35q2-86c7-9247 ImageMagick Fixed in 7.1.1-6 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-35q2-86c7-9247

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences