CVE-2020-25667Imagemagick
Medium 5.5
Follow: this CVE · Imagemagick · Imagemagick We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- Yes
- Published
- Dec 8, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-122
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Imagemagick.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| imagemagick | imagemagick | < 6.9.10-69 |
| imagemagick | imagemagick | ≥ 7.0.0-0 < 7.0.9-0 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Exploit Issue Tracking Patch