CVE-2020-27753

ImageMagick: memory leaks in AcquireMagickMemory function

Published Dec 8, 2020 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-20257 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.
Ubuntu USN Ubuntu USN USN-4988-1 ImageMagick vulnerabilities
Ubuntu USN Ubuntu USN USN-5335-1 ImageMagick vulnerabilities
Ubuntu USN Ubuntu USN USN-7068-1 ImageMagick vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 4, 2024, 4:18 PM
Reserved
Oct 27, 2020, 12:00 AM
Status
Modified
Published
Dec 8, 2020, 10:15 PM
Modified
Jun 17, 2026, 3:09 AM
Severity
Moderate
Public date
Oct 16, 2019, 12:00 AM