CVE-2017-12431 json
In ImageMagick 7.0.6-1, a use-after-free vulnerability was found in the function ReadWMFImage in coders/wmf.c, which allows attackers to ca…
published 2017-08-04 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-4004
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
In ImageMagick 7.0.6-1, a use-after-free vulnerability was found in the function ReadWMFImage in coders/wmf.c, which allows attackers to cause a denial of service.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.7.4+dfsg-13
debian advisories DEBIAN-CVE-2017-12431
- imagemagick Ubuntu 14.04 LTS 8:6.7.7.10-6ubuntu3.11
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.11
ubuntu advisories UBUNTU-CVE-2017-12431
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
- ImageMagick SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +8 more 6.8.8.1-71.12.1
suse advisories SUSE-SU-2017:2949-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-12431 updated cvss 3.3
ImageMagick: User-after-free in ReadWMFImage in coders/wmf.c
-
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-perl Red Hat OpenShift Enterprise 2 ImageMagicknot affected: vulnerable code not present
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
1.44% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/ImageMagick/ImageMagick/issues/555
issue-tracking, patch, third-party-advisory
-
debian.org
/security/2017/dsa-4040
vendor-advisory
-
usn.ubuntu.com
/3681-1/
vendor-advisory
-
debian.org
/security/2017/dsa-4019
vendor-advisory
Sources
- CVE List CVE-2017-12431
- NVD CVE-2017-12431
Fencer Intel 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.