CVE-2020-25667: Medium severity imagemagick vulnerability

Published Oct 26, 2020
·
Updated

ImageMagick 7.0.8-68 there is a heap-buffer-overflow at coders/tiff.c in TIFFGetProfiles.

Reference: https://github.com/ImageMagick/ImageMagick/issues/1748

Upstream patch: https://github.com/ImageMagick/ImageMagick/commit/986b5dff173413fa712db27eb677cdef15f0bab6

Other sources

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.

— MITRE

Affected Software

3 affected componentsFixes available
redhat/ImageMagick 7.0.9<0
0
ImageMagick<6.9.10-69
ImageMagick>=7.0.0-0<7.0.9-0

Event History

Dec 8, 2020
CVE Published
via MITRE·08:57 PM
Data Sourced
via MITRE·08:57 PM
DescriptionWeakness

Frequently Asked Questions

1

What is the severity of CVE-2020-25667?

CVE-2020-25667 has a high severity due to the potential for a heap buffer overflow that can lead to arbitrary code execution.

2

How do I fix CVE-2020-25667?

To fix CVE-2020-25667, update ImageMagick to version 7.0.9 or later, which includes the necessary patches.

3

What software is affected by CVE-2020-25667?

CVE-2020-25667 affects ImageMagick versions prior to 7.0.9 and all versions of ImageMagick 6.9.10-69 and earlier.

4

What vulnerabilities are caused by CVE-2020-25667?

CVE-2020-25667 can cause a heap buffer overflow, which may lead to denial of service or execution of arbitrary code.

5

Where can I find more information about CVE-2020-25667?

More information about CVE-2020-25667 can be found in the community discussions and the GitHub repository for ImageMagick.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203