CVE-2017-12983: Buffer Overflow

Published Aug 21, 2017
·
Updated

Heap-based buffer overflow in the ReadSFWImage function in coders/sfw. ...

Affected Software

2 affected componentsFixes available
ImageMagick ImageMagick=7.0.6-8
debian/imagemagick
8:6.7.7.10-5+deb7u168:6.8.9.9-5+deb8u118:6.9.7.4+dfsg-11+deb9u38:6.9.9.34+dfsg-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.7.7.10-5+deb7u16Fixed in 8:6.8.9.9-5+deb8u11Fixed in 8:6.9.7.4+dfsg-11+deb9u3Fixed in 8:6.9.9.34+dfsg-3

Event History

Aug 21, 2017
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·07:00 AM
Data Sourced
via MITRE·07:00 AM
Description
Jun 14, 2018
Data Sourced
01:29 AM
Weakness
Data Sourced
via NVD·01:29 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·01:29 AM
Affected Software
Nov 21, 2024
Updated
via NVD·03:10 AM
RemedyAffected Software
Apr 20, 2025
Updated
via NVD·01:37 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2017-12983?

CVE-2017-12983 is a heap-based buffer overflow vulnerability in the ReadSFWImage function in ImageMagick 7.0.6-8.

2

How does CVE-2017-12983 affect ImageMagick?

CVE-2017-12983 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted file.

3

What is the severity of CVE-2017-12983?

CVE-2017-12983 has a severity rating of 8.8 (high).

4

How can I fix CVE-2017-12983?

To fix CVE-2017-12983, you should update to a patched version of ImageMagick. For example, the Ubuntu package "imagemagick" can be updated to version 8:6.9.7.4+dfsg-16ubuntu2.2, 8:6.9.7.4+dfsg-16ubuntu6.2, 8:6.9.9.34+dfsg-3, 8:6.8.9.9-7ubuntu5.11, or 8:6.7.7.10-6ubuntu3.11 depending on your Ubuntu version.

5

Where can I find more information about CVE-2017-12983?

More information about CVE-2017-12983 can be found on the MITRE CVE website, Ubuntu Security Notices (USN-3681-1), and NIST National Vulnerability Database (NVD) website.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203