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.
{
"sources": [
{
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-25667",
"published": "2020-12-08T21:15:12.700Z",
"imported": "2026-07-30T14:08:42.265Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2020-25667",
"modified": "2026-06-17T03:07:05.483Z",
"database_specific": {
"status": "Modified"
},
"id": "CVE-2020-25667"
}
],
"license": "CC-BY-4.0"
}