What’s Vulnerable › Vulnerabilities
CVE-2017-18272
- Severity: medium (CVSS 6.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-05-18 · updated 2026-06-17
- Weakness: CWE-416
Description
In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in ReadOneMNGImage in coders/png.c, which allows attackers to cause a denial of service via a crafted MNG image file that is mishandled in an MngInfoDiscardObject call.
Affected products
- ImageMagick: from 7.0.7-16 before 7.0.7-21 — 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/918
- https://github.com/ImageMagick/ImageMagick/issues/918
Get alerted when CVE-2017-18272 or the next vulnerability affects your stack