# CVE-2020-25663: A call to ConformPixelInfo() in the SetImageAlphaChannel() routine of /MagickCore/channel.c caused a subsequent heap-use-after-free or heap…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.11%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-12-08T20:57:39.000Z
- Modified: 2026-06-17T03:07:05.057Z
- Weaknesses: CWE-416
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- ImageMagick: prior to 7.0.9-0
- imagemagick imagemagick: before 7.0.8-56

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/ImageMagick/ImageMagick/issues/1723> (exploit, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1891601> (issue-tracking, patch, third-party-advisory)
- <https://github.com/ImageMagick/ImageMagick/issues/1723#issuecomment-718275153> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-25663](https://www.cve.org/CVERecord?id=CVE-2020-25663), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-25663](https://nvd.nist.gov/vuln/detail/CVE-2020-25663), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-25663 · Whole record: https://cve.day/CVE-2020-25663.json · Rebuilt by cve.day 2026-11-25T22:57:56.077Z
