What’s Vulnerable › Vulnerabilities
CVE-2018-11251
- Severity: medium (CVSS 6.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-05-18 · updated 2026-06-17
- Weakness: CWE-125
Description
In ImageMagick 7.0.7-23 Q16 x86_64 2018-01-24, there is a heap-based buffer over-read in ReadSUNImage in coders/sun.c, which allows attackers to cause a denial of service (application crash in SetGrayscaleImage in MagickCore/quantize.c) via a crafted SUN image file.
Affected products
- ImageMagick: from 7.0.7-16 before 7.0.7-21; 7.0.7-23 — fixed in 7.0.7-21
How to fix
Upgrade to a fixed version: ImageMagick 7.0.7-21. Check the vendor advisory for mitigations.
References
- https://github.com/ImageMagick/ImageMagick/issues/956
- https://lists.debian.org/debian-lts-announce/2018/05/msg00012.html
- https://lists.debian.org/debian-lts-announce/2018/06/msg00004.html
- https://usn.ubuntu.com/3681-1/
- https://www.debian.org/security/2018/dsa-4245
- https://github.com/ImageMagick/ImageMagick/issues/956
- https://lists.debian.org/debian-lts-announce/2018/05/msg00012.html
- https://lists.debian.org/debian-lts-announce/2018/06/msg00004.html
- https://usn.ubuntu.com/3681-1/
- https://www.debian.org/security/2018/dsa-4245
Get alerted when CVE-2018-11251 or the next vulnerability affects your stack