CVE-2017-12983 json
Heap-based buffer overflow in the ReadSFWImage function in coders/sfw.c in ImageMagick 7.0.6-8 allows remote attackers to cause a denial of…
published 2017-08-21 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-4501
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
Heap-based buffer overflow in the ReadSFWImage function in coders/sfw.c in ImageMagick 7.0.6-8 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted file.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.9.34+dfsg-3
debian advisories DEBIAN-CVE-2017-12983
- imagemagick Ubuntu 14.04 LTS 8:6.7.7.10-6ubuntu3.11
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.11
- imagemagick Ubuntu 18.04 LTS 8:6.9.7.4+dfsg-16ubuntu6.2
ubuntu advisories UBUNTU-CVE-2017-12983
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- GraphicsMagick Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.2.5-4.78.19.1
- ImageMagick SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +8 more 6.8.8.1-71.17.1
- ImageMagick SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 6.4.3.6-7.78.14.1
suse advisories SUSE-SU-2017:3435-1SUSE-SU-2017:3388-1SUSE-SU-2017:3378-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-12983 updated cvss 3.3
ImageMagick: Heap-based buffer overflow in the ReadSFWImage function
-
Red Hat Enterprise Linux 5 ImageMagick Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perlaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.44% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/ImageMagick/ImageMagick/issues/682
issue-tracking, patch, third-party-advisory
-
debian.org
/security/2017/dsa-4040
vendor-advisory
-
usn.ubuntu.com
/3681-1/
vendor-advisory
-
security.gentoo.org
/glsa/201711-07
vendor-advisory
-
debian.org
/security/2017/dsa-4032
vendor-advisory
Sources
- CVE List CVE-2017-12983
- NVD CVE-2017-12983
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.