CVE-2020-25667: ImageMagick

Medium severity, CVSS 5.5. EPSS: 1.2% chance of exploitation in the next 30 days.

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.

Affected products

  • ImageMagick ImageMagick: before 6.9.10-69 (fixed in 6.9.10-69); from 7.0.0-0, before 7.0.9-0 (fixed in 7.0.9-0)

Published 2020-12-08. Last modified 2026-06-17.