CWE
20 617
Advisory Published
Updated

CVE-2017-9142: Input Validation

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 SoftwareAffected VersionHow to fix
ImageMagick=7.0.5-7
Debian Linux=8.0
Debian Linux=9.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2017-9142?

    CVE-2017-9142 has a medium severity rating due to the potential for denial of service through assertion failures.

  • How do I fix CVE-2017-9142?

    To fix CVE-2017-9142, upgrade ImageMagick to a version newer than 7.0.5-7 that includes the necessary validation checks.

  • What components of ImageMagick are affected by CVE-2017-9142?

    CVE-2017-9142 affects the WriteBlob function in MagickCore/blob.c and the ReadOneJNGImage function in coders/png.c.

  • Can CVE-2017-9142 be exploited by malicious files?

    Yes, CVE-2017-9142 can be exploited by specially crafted images that trigger assertion failures in the application.

  • Which versions of Debian are impacted by CVE-2017-9142?

    Debian 8.0 and 9.0 are impacted by CVE-2017-9142 when using the vulnerable ImageMagick version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203