CVE-2020-25667

Medium

Description

TIFFGetProfiles() in /coders/tiff.c calls strstr() which causes a large out-of-bounds read when it searches for `"dc:format=\"image/dng\"` within `profile` due to improper string handling, when a crafted input file is provided to ImageMagick. The patch uses a StringInfo type instead of a raw C string to remedy this. This could cause an impact to availability of the application. This flaw affects ImageMagick versions prior to 7.0.9-0.

SeverityMedium
CVSS5.5
Exploit probability—
ProductImagemagick
PublishedDec 8, 2020
First seenDec 8, 2020
Weakness typeCWE-122CWE-122

How to fix

Update
  • imagemagick imagemagick6.9.10-69, 7.0.9-0 or later

Affected products

ProductAffected versionsFixed in
imagemagick imagemagickv < 6.9.10-69, 7.0.0-0 ≤ v < 7.0.9-06.9.10-69, 7.0.9-0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2020-25667 · Imagemagick · Dark Radar