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....
MediumCVSS 5.5
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ImageMagick | < 6.9.10-69; >= 7.0.0-0, < 7.0.9-0 | 6.9.10-69, 7.0.9-0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ImageMagick | < 6.9.10-69 | 6.9.10-69 |
| ImageMagick | >= 7.0.0-0, < 7.0.9-0 | 7.0.9-0 |
References
- bugzilla.redhat.com exploit issue-tracking patch third-party-advisory
- Debian Security Tracker CVE-2020-25667 vendor-advisory