CVE-2020-25667
Last modified
CVE-2020-25667 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 1.20% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | < 6.9.10-69 |
| Imagemagick | Imagemagick | >= 7.0.0-0, < 7.0.9-0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1891613Exploit, Issue Tracking, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1891613Exploit, Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-25667?
How severe is CVE-2020-25667?
How do I fix CVE-2020-25667?
Are you affected by CVE-2020-25667?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
