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

EPSS: 0.011 (62.3th percentile) — read the EPSS interpretation.

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.

Affected products

  • Imagemagick
  • N/a Imagemagick — versions prior to 7.0.9-0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-25663?
CVE-2020-25663 is a medium-severity vulnerability in Imagemagick, classified under Use After Free. CVSS score: 5.5/10. Published 2020-12-08.
How severe is CVE-2020-25663?
Medium severity. CVSS v3 base score is 5.5 out of 10.