CVE-2020-27755: Medium severity imagemagick vulnerability
In ImageMagick, there are memory leaks detected in ResizeMagickMemory at MagickCore/memory.c.
Reference: https://github.com/ImageMagick/ImageMagick/issues/1756
Upstream patch: https://github.com/ImageMagick/ImageMagick/commit/f28e9e56e1b56d4e1f09d2a56d70892ae295d6a4
Other sources
in SetImageExtent() of /MagickCore/image.c, an incorrect image depth size can cause a memory leak because the code which checks for the proper image depth size does not reset the size in the event there is an invalid size. The patch resets the depth to a proper size before throwing an exception. The memory leak can be triggered by a crafted input file that is processed by ImageMagick and could cause an impact to application reliability, such as denial of service. This flaw affects ImageMagick versions prior to 7.0.9-0.
— Launchpad
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2020-27755?
CVE-2020-27755 is a vulnerability in the SetImageExtent() function of ImageMagick that can cause a memory leak due to an incorrect image depth size.
What is the severity of CVE-2020-27755?
The severity of CVE-2020-27755 is medium with a severity value of 3.3.
Which software is affected by CVE-2020-27755?
ImageMagick versions 6.9.11.24+dfsg-1, 6.9.7.4+dfsg-16ubuntu6.11, 6.9.10.23+dfsg-2.1ubuntu11.4, 6.9.10.23+dfsg-2.1ubuntu13.3, and 7.0.9 are affected by CVE-2020-27755.
How do I fix CVE-2020-27755?
To fix CVE-2020-27755, update ImageMagick to version 6.9.11.60+dfsg-1.3+deb11u1 or 6.9.11.60+dfsg-1.6.