CVE-2020-27753Missing Release of Memory after Effective Lifetime in Imagemagick

Severity
5.5MEDIUMNVD
OSV6.5
EPSS
0.1%
top 76.72%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 8
Latest updateOct 15

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 `Acqui

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages5 packages

debiandebian/imagemagick< imagemagick 8:6.9.11.24+dfsg-1 (bookworm)
NVDimagemagick/imagemagick7.0.0-07.0.9-0+1
Debianimagemagick/imagemagick< 8:6.9.11.24+dfsg-1+3
Ubuntuimagemagick/imagemagick< 8:6.8.9.9-7ubuntu5.16+esm2
CVEListV5imagemagick/imagemagickprior to 7.0.9-0

Patches

🔴Vulnerability Details

3
GHSA
GHSA-m43q-5c9p-x5fh: There are several memory leaks in the MIFF coder in /coders/miff2022-05-24
OSV
imagemagick vulnerabilities2022-03-18
OSV
CVE-2020-27753: There are several memory leaks in the MIFF coder in /coders/miff2020-12-08

📋Vendor Advisories

5
Ubuntu
ImageMagick vulnerabilities2024-10-15
Ubuntu
ImageMagick vulnerabilities2022-03-18
Ubuntu
ImageMagick vulnerabilities2021-06-15
Debian
CVE-2020-27753: imagemagick - There are several memory leaks in the MIFF coder in /coders/miff.c due to improp...2020
Red Hat
ImageMagick: memory leaks in AcquireMagickMemory function2019-10-16

💬Community

1
Bugzilla
CVE-2020-27753 ImageMagick: memory leaks in AcquireMagickMemory function2020-11-03