Vulnerability · Published Dec 8, 2020 · Assigned by redhat
CVE-2020-25663
Medium 5.5
In plain English
A medium-severity use-after-free in ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities).
Official description
A call to ConformPixelInfo() in the SetImageAlphaChannel() routine of /MagickCore/channel.c caused a subsequent heap-use-after-free or heap-buffer-overflow READ when GetPixelRed() or GetPixelBlue() was called. This could occur if an attacker is able to submit a malicious image file to be processed by ImageMagick and could lead to denial of service. It likely would not lead to anything further because the memory is used as pixel data and not e.g. a function pointer. This flaw affects ImageMagick versions prior to 7.0.9-0.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | ImageMagick | prior to 7.0.9-0 |
Weakness: CWE-416
References
- https://github.com/ImageMagick/ImageMagick/issues/1723 x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=1891601 x_refsource_MISC
- https://github.com/ImageMagick/ImageMagick/issues/1723#issuecomment-718275153 x_refsource_MISC