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
EPSS: 0.011 (62.1th percentile) — read the EPSS interpretation.
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.
Affected products
- Imagemagick
- N/a Imagemagick — versions prior to 7.0.9-0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secalert@redhat.com (Exploit, Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
Frequently asked questions
- What is CVE-2020-25667?
- CVE-2020-25667 is a medium-severity vulnerability in Imagemagick, classified under Heap-based Buffer Overflow. CVSS score: 5.5/10. Published 2020-12-08.
- How severe is CVE-2020-25667?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2020-25667 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.