CVE-2018-18024: Medium severity ImageMagick ImageMagick vulnerability
A flaw was found in ImageMagick 7.0.8-13 Q16, there is an infinite loop in the ReadBMPImage function of the coders/bmp.c file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.
References: https://github.com/ImageMagick/ImageMagick/issues/1337
Upstream Patches: https://github.com/ImageMagick/ImageMagick/commit/948f1c86d649a29df08a38d2ff8b91cdf3e92b82 https://github.com/ImageMagick/ImageMagick6/commit/b268ce7a59440972f4476b9fd98104b6a836d971
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/imagemagick6to a version that resolves this vulnerability.Fixed in 6.9.10.37-r0 - Upgrade
Upgrade
alpine/imagemagick6to a version that resolves this vulnerability.Fixed in 6.9.10.39-r0 - Upgrade
Upgrade
redhat/ImageMagick 7.0.8to a version that resolves this vulnerability.Fixed in 13 - Upgrade
Upgrade
redhat/ImageMagick 6.9.10to a version that resolves this vulnerability.Fixed in 13 - Upgrade
Upgrade
debian/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.9.10.14+dfsg-1 - Upgrade
Upgrade
debian/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.9.7.4+dfsg-11+deb9u9Fixed in 8:6.9.10.14+dfsg-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 948f1c86d649a29df08a38d2ff8b91cdf3e92b82 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch b268ce7a59440972f4476b9fd98104b6a836d971
Event History
Frequently Asked Questions
What is CVE-2018-18024?
CVE-2018-18024 is a vulnerability in ImageMagick 7.0.8-13 Q16 that allows remote attackers to cause a denial of service via a crafted bmp file.
How severe is CVE-2018-18024?
CVE-2018-18024 has a severity score of 6.5, which is considered medium severity.
How does CVE-2018-18024 impact ImageMagick?
CVE-2018-18024 impacts ImageMagick 7.0.8-13 Q16, causing an infinite loop in the ReadBMPImage function of the coders/bmp.c file.
Which software versions are affected by CVE-2018-18024?
CVE-2018-18024 affects ImageMagick 7.0.8-13 Q16 and specific versions of ImageMagick on Ubuntu and Debian.
How can I fix CVE-2018-18024?
To fix CVE-2018-18024, update ImageMagick to a patched version provided by the vendor.