PT-2020-16155

CVE-2020-25667

·

Published

2019-11-25

·

Updated

2021-06-12

Description by

CVSS 3.1
5.5
Medium
MetricsAV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions ImageMagick versions prior to 7.0.9-0
Description The issue arises from the TIFFGetProfiles() function in /coders/tiff.c, which calls strstr() and causes a large out-of-bounds read when searching for dc:format="image/dng" within profile due to improper string handling. This occurs when a crafted input file is provided to ImageMagick. The patch uses a StringInfo type instead of a raw C string to remedy this, potentially impacting the application's availability.
Recommendations For ImageMagick versions prior to 7.0.9-0, update to version 7.0.9-0 or later to resolve the issue. As a temporary workaround, consider restricting the use of the TIFFGetProfiles() function until a patch is applied. Additionally, avoid using crafted input files that could trigger the out-of-bounds read.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
ALT-PU-2019-3182
ALT-PU-2020-1405
OESA-2021-1219
Found an issue in the description? Have something to add? Feel free to write us 👾