First published: Mon May 22 2017(Updated: )
In ImageMagick 7.0.5-7 Q16, a crafted file could trigger an assertion failure in the WriteBlob function in MagickCore/blob.c because of missing checks in the ReadOneJNGImage function in coders/png.c.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
ImageMagick | =7.0.5-7 | |
Debian Linux | =8.0 | |
Debian Linux | =9.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-9142 has a medium severity rating due to the potential for denial of service through assertion failures.
To fix CVE-2017-9142, upgrade ImageMagick to a version newer than 7.0.5-7 that includes the necessary validation checks.
CVE-2017-9142 affects the WriteBlob function in MagickCore/blob.c and the ReadOneJNGImage function in coders/png.c.
Yes, CVE-2017-9142 can be exploited by specially crafted images that trigger assertion failures in the application.
Debian 8.0 and 9.0 are impacted by CVE-2017-9142 when using the vulnerable ImageMagick version.