Use After Free in Imagemagick
CVE-2020-25663
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.011, 66.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Imagemagick
- Imagemagick — versions prior to 7.0.9-0
Weakness classification (CWE)
References
- github.com/ImageMagick/ImageMagick/issues/1723 (Exploit, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- github.com/ImageMagick/ImageMagick/issues/1723 (Third Party Advisory)