Description
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the GIF encoder because allocated memory is not released when color quantization fails during encoding. Attackers can supply images whose GIF conversion causes quantization to fail, leaking memory with each attempt and degrading availability.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | >= 7.0.0-0, < 7.1.2-32 |
| ImageMagick | ImageMagick | < 6.9.13-57 |
References
- https://github.com/ImageMagick/ImageMagick/commit/1c7763266cfedc635005a965169bc2ddcc650221Patch
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-w68r-6fmr-cvg4Vendor Advisory
- https://github.com/ImageMagick/ImageMagick6/commit/93aa075f0fa5a6ae6a83a63acc7c84283aa6d31bPatch
- https://www.vulncheck.com/advisories/imagemagick-before-6.9.13-57-and-7-x-before-7.1.2-32-memory-leak-in-gif-encoderThird Party Advisory
Timeline
- Published
- Oct 12, 2026
- Last modified
- Nov 3, 2026
- NVD status
- Analyzed