Read the docs

Memory leak in ImageMagick GIF encoder when quantization fails

Priority LOW 33CWE-401Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · GHSA-w68r-6fmr-cvg4. Fix status from GitHub. Impact type from CWE-401.

Summary

ImageMagick before 7.1.2-32 and ImageMagick before 6.9.13-57 contain a memory leak in the GIF encoder. Memory is not released when color quantization fails (CWE-401). A remote attacker without privileges or user interaction can trigger the leak, which affects availability.

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

Description from the GitHub advisory

When the quantization fails in the GIF encoder a memory leak will occur.

Why it matters now

Fix Fixed ImageMagick (c/c++): 7.1.2-32, 6.9.13-57

SSVC decision points

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

Affected products

VendorProductAffected versionsFixed inStatusSource
—ImageMagick (c/c++)< 7.1.2-327.1.2-32Patch availableGHSA-w68r-6fmr-cvg4
—ImageMagick (c/c++)< 6.9.13-576.9.13-57Patch availableGHSA-w68r-6fmr-cvg4
  • ImageMagick (c/c++) Vendor— Affected < 7.1.2-32 Fixed in 7.1.2-32 Patch available GHSA-w68r-6fmr-cvg4
  • ImageMagick (c/c++) Vendor— Affected < 6.9.13-57 Fixed in 6.9.13-57 Patch available GHSA-w68r-6fmr-cvg4

Remediation

Upgrade ImageMagick 7.x to 7.1.2-32 and ImageMagick 6.x to 6.9.13-57.

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

  • Fix · GHSA-w68r-6fmr-cvg4 ImageMagick (c/c++) Fixed in 7.1.2-32 Advisory →
  • Fix · GHSA-w68r-6fmr-cvg4 ImageMagick (c/c++) Fixed in 6.9.13-57 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-w68r-6fmr-cvg4

References

Sources

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