# CVE-2020-27753: There are several memory leaks in the MIFF coder in /coders/miff.c due to improper image depth values, which can be triggered by a speciall…

- 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): 0.86%, higher than 56% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-12-08T21:57:20.000Z
- Modified: 2026-06-17T03:09:34.680Z
- Weaknesses: CWE-401
- Assigned by: redhat

## Description

There are several memory leaks in the MIFF coder in /coders/miff.c due to improper image depth values, which can be triggered by a specially crafted input file. These leaks could potentially lead to an impact to application availability or cause a denial of service. It was originally reported that the issues were in `AcquireMagickMemory()` because that is where LeakSanitizer detected the leaks, but the patch resolves issues in the MIFF coder, which incorrectly handles data being passed to `AcquireMagickMemory()`. 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 6.9.10-69; from 7.0.0-0 before 7.0.9-0

## 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://bugzilla.redhat.com/show_bug.cgi?id=1894229> (exploit, issue-tracking, patch, third-party-advisory)

## Sources

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

---

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