Buffer overflow in Imagemagick
CVE-2020-25667
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.012, 69.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Imagemagick
- Imagemagick — versions prior to 7.0.9-0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (akaganeite/CVE4PP). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Exploit, Patch, Third Party Advisory, Issue Tracking)