CVE-2020-25667CWE-122

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…

published December 8, 2020

CVSS
—
EPSS
1%
Percentile
68.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01212 · 68.3th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2020-12-08T20:57Z
EPSS history
Timeline
  • 08 DEC 20:57Z
    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…
    cvelistv5