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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
ImageMagick ImageMagick
Default version status: unaffected
7.0.0 to < 7.1.2-35affected0 to < 6.9.13-60affected
pkg:github/imagemagick/imagemagickReferences
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-q66g-3m63-78mh ↗
- https://github.com/ImageMagick/ImageMagick/commit/c5f2c6c9fb1458f960a506691c9351e9da6d2247 ↗
- https://github.com/ImageMagick/ImageMagick6/commit/712e523e7f746d35c963b78555e1c24364a9426e ↗
- https://github.com/ImageMagick/ImageMagick/blob/3a9639c0bd21f61f22fcce4c5f6838f1f0d8f738/MagickCore/cache.c#L4348 ↗
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-35 ↗
- https://github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-60 ↗
- https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-35-and-6.9.13-60-infinite-loop-via-svg-decoder ↗