ImageMagick before 7.1.2-35 and 6.9.13-60 Infinite Loop via SVG Decoder
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 5, 2026
- Updated
- Nov 9, 2026
- Reserved
- Nov 5, 2026
Description
ImageMagick before 7.1.2-35 and 6.9.13-60 contains an infinite loop vulnerability in the SVG decoder because QueueAuthenticPixelCacheNexus in MagickCore/cache.c fails to validate requested region width and height. Attackers can supply a crafted SVG image that repeatedly requests a non-advancing pixel region, consuming CPU and hanging the decoding worker.
| Product | Versions |
|---|---|
| ImageMagick ImageMagick | 7.0.0 to before 7.1.2-35 Affectedbefore 6.9.13-60 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | VulnCheck | |
| 3.1 | 6.5 Medium | VulnCheck |
Weaknesses
- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
- GitHub Security Advisory (GHSA-q66g-3m63-78mh)Vendor Advisory
- https://github.com/ImageMagick/ImageMagick/commit/c5f2c6c9fb1458f960a506691c9351e9da6d2247Patch
- https://github.com/ImageMagick/ImageMagick6/commit/712e523e7f746d35c963b78555e1c24364a9426ePatch
- https://github.com/ImageMagick/ImageMagick/blob/3a9639c0bd21f61f22fcce4c5f6838f1f0d8f738/MagickCore/cache.c#L4348Technical Details
- ImageMagick 7.1.2-35 Release NotesRelease Notes
- ImageMagick 6.9.13-60 Release NotesRelease Notes
- VulnCheck Advisory: ImageMagick before 7.1.2-35 and 6.9.13-60 Infinite Loop via SVG DecoderThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.