Memory leak in ImageMagick GIF encoder when quantization fails
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | ImageMagick (c/c++) | < 7.1.2-32 | 7.1.2-32 | Patch available | GHSA-w68r-6fmr-cvg4 |
| — | ImageMagick (c/c++) | < 6.9.13-57 | 6.9.13-57 | Patch available | GHSA-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
- 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