CVE-2017-12431
In ImageMagick 7.0.6-1, a use-after-free vulnerability was found in the function ReadWMFImage in...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2017-12431- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-416
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-12431- Updated
- 2026-11-02
EUVDEUVD-2017-4004 No score
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.
- Record
EUVD-2017-4004- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-p95x-45rv-wpxr
6.5
In ImageMagick 7.0.6-1, a use-after-free vulnerability was found in the function ReadWMFImage in...
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.
- Record
GHSA-p95x-45rv-wpxr- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-416
- Updated
- 2026-11-02
OSV
6.5
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.
- Record
CVE-2017-12431- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-12431
6.5
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.
- Record
DEBIAN-CVE-2017-12431- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2017-12431
6.5
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.
- Record
UBUNTU-CVE-2017-12431- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0229 No score
Updated imagemagick packages fix security vulnerabilities
The imagemagick package has been updated to version 6.9.9.41 which fixes several unspecified security vulnerabilities. This update fixes several vulnerabilities in imagemagick, including: Various memory handling problems and cases of missing or incomplete input sanitising may result in denial of service, memory disclosure or the execution of arbitrary code if malformed GIF, TTF, SVG, TIFF, PCX, JPG or SFW files are processed.
Several packages have been rebuilt for the updated ImageMagick.
- Record
MGASA-2018-0229- Updated
- 2026-11-02
OSVSUSE-SU-2017:2949-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
Security issues fixed:
- CVE-2017-15033: A denial of service attack (memory leak) was fixed in ReadYUVImage in coders/yuv.c [bsc#1061873]
- CVE-2017-11446: An infinite loop in ReadPESImage was fixed. (bsc#1049379)
- CVE-2017-12433: A memory leak in ReadPESImage in coders/pes.c was fixed. (bsc#1052545)
- CVE-2017-12428: A memory leak in ReadWMFImage in coders/wmf.c was fixed. (bsc#1052249)
- CVE-2017-12431: A use-after-free in ReadWMFImage was fixed. (bsc#1052253)
- CVE-2017-11534: A memory leak in the lite_font_map() in coders/wmf.c was fixed. (bsc#1050135)
- CVE-2017-13133: A memory exhaustion in load_level function in coders/xcf.c was fixed. (bsc#1055219)
- CVE-2017-13139: A out-of-bounds read in the ReadOneMNGImage was fixed. (bsc#1055430)
This update also reverts an incorrect fix for CVE-2016-7530 [bsc#1054924].
- Record
SUSE-SU-2017:2949-1- Updated
- 2026-11-02
OSVUSN-3681-1 No score
imagemagick vulnerabilities
It was discovered that ImageMagick incorrectly handled certain malformed image files. If a user or automated system using ImageMagick were tricked into opening a specially crafted image, an attacker could exploit this to cause a denial of service or possibly execute code with the privileges of the user invoking the program.
- Record
USN-3681-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
imagemagickDebian:12 |
before 8:6.9.7.4+dfsg-13 | 8:6.9.7.4+dfsg-13 |
imagemagickDebian:13 |
before 8:6.9.7.4+dfsg-13 | 8:6.9.7.4+dfsg-13 |
imagemagickDebian:14 |
before 8:6.9.7.4+dfsg-13 | 8:6.9.7.4+dfsg-13 |
imagemagickDebian:7 |
before 8:6.7.7.10-5+deb7u16, plus listed versions 8:6.7.7.10-58:6.7.7.10-5+deb7u108:6.7.7.10-5+deb7u118:6.7.7.10-5+deb7u128:6.7.7.10-5+deb7u13 Show 10 moreShow less8:6.7.7.10-5+deb7u148:6.7.7.10-5+deb7u158:6.7.7.10-5+deb7u28:6.7.7.10-5+deb7u38:6.7.7.10-5+deb7u48:6.7.7.10-5+deb7u58:6.7.7.10-5+deb7u68:6.7.7.10-5+deb7u78:6.7.7.10-5+deb7u88:6.7.7.10-5+deb7u9 |
8:6.7.7.10-5+deb7u16 |
imagemagickDebian:9 |
before 8:6.9.7.4+dfsg-11+deb9u2, plus listed versions 8:6.9.7.4+dfsg-118:6.9.7.4+dfsg-11+deb9u1 |
8:6.9.7.4+dfsg-11+deb9u2 |
imagemagickDebian:8 |
before 8:6.8.9.9-5+deb8u11, plus listed versions 8:6.8.9.9-58:6.8.9.9-5+deb8u18:6.8.9.9-5+deb8u108:6.8.9.9-5+deb8u28:6.8.9.9-5+deb8u3 Show 6 moreShow less8:6.8.9.9-5+deb8u48:6.8.9.9-5+deb8u58:6.8.9.9-5+deb8u68:6.8.9.9-5+deb8u78:6.8.9.9-5+deb8u88:6.8.9.9-5+deb8u9 |
8:6.8.9.9-5+deb8u11 |
converseenMageia:6 |
before 0.9.6.2-1.3.mga6 | 0.9.6.2-1.3.mga6 |
cuneiform-linuxMageia:6 |
before 1.1.0-9.2.mga6 | 1.1.0-9.2.mga6 |
dvdauthorMageia:6 |
before 0.7.2-2.2.mga6 | 0.7.2-2.2.mga6 |
emacsMageia:6 |
before 24.5-8.3.mga6 | 24.5-8.3.mga6 |
Show 30 moreShow less
| Package | Affected | Fixed |
|---|---|---|
imagemagickMageia:6 |
before 6.9.9.41-1.mga6 | 6.9.9.41-1.mga6 |
inkscapeMageia:6 |
before 0.92.1-2.2.mga6 | 0.92.1-2.2.mga6 |
k3dMageia:6 |
before 0.8.0.5-5.2.mga6 | 0.8.0.5-5.2.mga6 |
kxstitchMageia:6 |
before 2.0.0-2.2.mga6 | 2.0.0-2.2.mga6 |
libopenshotMageia:6 |
before 0.1.8-1.2.mga6 | 0.1.8-1.2.mga6 |
ocaml-glmliteMageia:6 |
before 0.03.51-17.2.mga6 | 0.03.51-17.2.mga6 |
perl-Image-SubImageFindMageia:6 |
before 0.30.0-6.2.mga6 | 0.30.0-6.2.mga6 |
pfstoolsMageia:6 |
before 2.0.6-3.2.mga6 | 2.0.6-3.2.mga6 |
php-imagickMageia:6 |
before 3.4.1-6.2.mga6 | 3.4.1-6.2.mga6 |
php-magickwandMageia:6 |
before 1.0.9.2-10.2.mga6 | 1.0.9.2-10.2.mga6 |
psiconvMageia:6 |
before 0.9.8-26.2.mga6 | 0.9.8-26.2.mga6 |
pythonmagickMageia:6 |
before 0.9.12-7.2.mga6 | 0.9.12-7.2.mga6 |
ruby-rmagickMageia:6 |
before 2.15.4-12.2.mga6 | 2.15.4-12.2.mga6 |
synfigMageia:6 |
before 1.2.1-2.2.mga6 | 1.2.1-2.2.mga6 |
vdr-plugin-skinelchiMageia:6 |
before 0.2.8-8.2.mga6 | 0.2.8-8.2.mga6 |
vdr-plugin-skinenigmangMageia:6 |
before 0.1.2-10.2.mga6 | 0.1.2-10.2.mga6 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP2 |
before 6.8.8.1-71.12.1 | 6.8.8.1-71.12.1 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP3 |
before 6.8.8.1-71.12.1 | 6.8.8.1-71.12.1 |
ImageMagickSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 6.8.8.1-71.12.1 | 6.8.8.1-71.12.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 6.8.8.1-71.12.1 | 6.8.8.1-71.12.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 6.8.8.1-71.12.1 | 6.8.8.1-71.12.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP2 |
before 6.8.8.1-71.12.1 | 6.8.8.1-71.12.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 6.8.8.1-71.12.1 | 6.8.8.1-71.12.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP3 |
before 6.8.8.1-71.12.1 | 6.8.8.1-71.12.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 6.8.8.1-71.12.1 | 6.8.8.1-71.12.1 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP2 |
before 6.8.8.1-71.12.1 | 6.8.8.1-71.12.1 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP3 |
before 6.8.8.1-71.12.1 | 6.8.8.1-71.12.1 |
imagemagickUbuntu:14.04:LTS |
before 8:6.7.7.10-6ubuntu3.11, plus listed versions 8:6.7.7.10-5ubuntu38:6.7.7.10-5ubuntu48:6.7.7.10-6ubuntu18:6.7.7.10-6ubuntu28:6.7.7.10-6ubuntu3 Show 9 moreShow less8:6.7.7.10-6ubuntu3.18:6.7.7.10-6ubuntu3.28:6.7.7.10-6ubuntu3.38:6.7.7.10-6ubuntu3.48:6.7.7.10-6ubuntu3.58:6.7.7.10-6ubuntu3.68:6.7.7.10-6ubuntu3.78:6.7.7.10-6ubuntu3.88:6.7.7.10-6ubuntu3.9 |
8:6.7.7.10-6ubuntu3.11 |
imagemagickUbuntu:16.04:LTS |
before 8:6.8.9.9-7ubuntu5.11, plus listed versions 8:6.8.9.9-5ubuntu28:6.8.9.9-68:6.8.9.9-6build18:6.8.9.9-78:6.8.9.9-7ubuntu1 Show 13 moreShow less8:6.8.9.9-7ubuntu28:6.8.9.9-7ubuntu38:6.8.9.9-7ubuntu48:6.8.9.9-7ubuntu58:6.8.9.9-7ubuntu5.18:6.8.9.9-7ubuntu5.28:6.8.9.9-7ubuntu5.38:6.8.9.9-7ubuntu5.48:6.8.9.9-7ubuntu5.58:6.8.9.9-7ubuntu5.68:6.8.9.9-7ubuntu5.78:6.8.9.9-7ubuntu5.88:6.8.9.9-7ubuntu5.9 |
8:6.8.9.9-7ubuntu5.11 |
imagemagickUbuntu:18.04:LTS |
before 8:6.9.7.4+dfsg-16ubuntu6.2, plus listed versions 8:6.9.7.4+dfsg-16ubuntu28:6.9.7.4+dfsg-16ubuntu38:6.9.7.4+dfsg-16ubuntu48:6.9.7.4+dfsg-16ubuntu58:6.9.7.4+dfsg-16ubuntu6 |
8:6.9.7.4+dfsg-16ubuntu6.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-12431 is a medium vulnerability (CVSS 6.5) in Imagemagick, published August 4, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.44%, the 73rd percentile. Fixed in imagemagick 8:6.9.7.4+dfsg-13.
References
github.com/ImageMagick/ImageMagick/issues/555
debian.org/security/2017/dsa-4040
usn.ubuntu.com/3681-1
debian.org/security/2017/dsa-4019
nvd.nist.gov/vuln/detail/CVE-2017-12431
github.com/advisories/GHSA-p95x-45rv-wpxr
Show 149 moreShow less
security-tracker.debian.org/tracker/CVE-2017-12431
advisories.mageia.org/MGASA-2018-0229.html
bugs.mageia.org/show_bug.cgi?id=19078
git.imagemagick.org/repos/ImageMagick/blob/ImageMagick-6/ChangeLog
suse.com/support/update/announcement/2017/suse-su-20172949-1
bugzilla.suse.com/1049379
bugzilla.suse.com/1050135
bugzilla.suse.com/1052249
bugzilla.suse.com/1052253
bugzilla.suse.com/1052545
bugzilla.suse.com/1054924
bugzilla.suse.com/1055219
bugzilla.suse.com/1055430
bugzilla.suse.com/1061873
suse.com/security/cve/CVE-2016-7530
suse.com/security/cve/CVE-2017-11446
suse.com/security/cve/CVE-2017-11534
suse.com/security/cve/CVE-2017-12428
suse.com/security/cve/CVE-2017-12431
suse.com/security/cve/CVE-2017-12433
suse.com/security/cve/CVE-2017-13133
suse.com/security/cve/CVE-2017-13139
suse.com/security/cve/CVE-2017-15033
ubuntu.com/security/CVE-2017-12431
ubuntu.com/security/notices/USN-3681-1
cve.org/CVERecord?id=CVE-2017-12431
ubuntu.com/security/CVE-2017-10995
ubuntu.com/security/CVE-2017-11352
ubuntu.com/security/CVE-2017-11533
ubuntu.com/security/CVE-2017-11535
ubuntu.com/security/CVE-2017-11537
ubuntu.com/security/CVE-2017-11639
ubuntu.com/security/CVE-2017-11640
ubuntu.com/security/CVE-2017-12140
ubuntu.com/security/CVE-2017-12418
ubuntu.com/security/CVE-2017-12429
ubuntu.com/security/CVE-2017-12430
ubuntu.com/security/CVE-2017-12432
ubuntu.com/security/CVE-2017-12433
ubuntu.com/security/CVE-2017-12435
ubuntu.com/security/CVE-2017-12563
ubuntu.com/security/CVE-2017-12587
ubuntu.com/security/CVE-2017-12640
ubuntu.com/security/CVE-2017-12643
ubuntu.com/security/CVE-2017-12644
ubuntu.com/security/CVE-2017-12670
ubuntu.com/security/CVE-2017-12674
ubuntu.com/security/CVE-2017-12691
ubuntu.com/security/CVE-2017-12692
ubuntu.com/security/CVE-2017-12693
ubuntu.com/security/CVE-2017-12875
ubuntu.com/security/CVE-2017-12877
ubuntu.com/security/CVE-2017-12983
ubuntu.com/security/CVE-2017-13058
ubuntu.com/security/CVE-2017-13059
ubuntu.com/security/CVE-2017-13060
ubuntu.com/security/CVE-2017-13061
ubuntu.com/security/CVE-2017-13062
ubuntu.com/security/CVE-2017-13131
ubuntu.com/security/CVE-2017-13134
ubuntu.com/security/CVE-2017-13139
ubuntu.com/security/CVE-2017-13142
ubuntu.com/security/CVE-2017-13143
ubuntu.com/security/CVE-2017-13144
ubuntu.com/security/CVE-2017-13145
ubuntu.com/security/CVE-2017-13758
ubuntu.com/security/CVE-2017-13768
ubuntu.com/security/CVE-2017-13769
ubuntu.com/security/CVE-2017-14060
ubuntu.com/security/CVE-2017-14172
ubuntu.com/security/CVE-2017-14173
ubuntu.com/security/CVE-2017-14174
ubuntu.com/security/CVE-2017-14175
ubuntu.com/security/CVE-2017-14224
ubuntu.com/security/CVE-2017-14249
ubuntu.com/security/CVE-2017-14325
ubuntu.com/security/CVE-2017-14326
ubuntu.com/security/CVE-2017-14341
ubuntu.com/security/CVE-2017-14342
ubuntu.com/security/CVE-2017-14343
ubuntu.com/security/CVE-2017-14400
ubuntu.com/security/CVE-2017-14505
ubuntu.com/security/CVE-2017-14531
ubuntu.com/security/CVE-2017-14532
ubuntu.com/security/CVE-2017-14533
ubuntu.com/security/CVE-2017-14607
ubuntu.com/security/CVE-2017-14624
ubuntu.com/security/CVE-2017-14625
ubuntu.com/security/CVE-2017-14626
ubuntu.com/security/CVE-2017-14682
ubuntu.com/security/CVE-2017-14684
ubuntu.com/security/CVE-2017-14739
ubuntu.com/security/CVE-2017-14741
ubuntu.com/security/CVE-2017-14989
ubuntu.com/security/CVE-2017-15015
ubuntu.com/security/CVE-2017-15016
ubuntu.com/security/CVE-2017-15017
ubuntu.com/security/CVE-2017-15032
ubuntu.com/security/CVE-2017-15033
ubuntu.com/security/CVE-2017-15217
ubuntu.com/security/CVE-2017-15218
ubuntu.com/security/CVE-2017-15277
ubuntu.com/security/CVE-2017-15281
ubuntu.com/security/CVE-2017-16546
ubuntu.com/security/CVE-2017-17499
ubuntu.com/security/CVE-2017-17504
ubuntu.com/security/CVE-2017-17680
ubuntu.com/security/CVE-2017-17681
ubuntu.com/security/CVE-2017-17682
ubuntu.com/security/CVE-2017-17879
ubuntu.com/security/CVE-2017-17881
ubuntu.com/security/CVE-2017-17882
ubuntu.com/security/CVE-2017-17884
ubuntu.com/security/CVE-2017-17885
ubuntu.com/security/CVE-2017-17886
ubuntu.com/security/CVE-2017-17887
ubuntu.com/security/CVE-2017-17914
ubuntu.com/security/CVE-2017-17934
ubuntu.com/security/CVE-2017-18008
ubuntu.com/security/CVE-2017-18022
ubuntu.com/security/CVE-2017-18027
ubuntu.com/security/CVE-2017-18028
ubuntu.com/security/CVE-2017-18029
ubuntu.com/security/CVE-2017-18209
ubuntu.com/security/CVE-2017-18211
ubuntu.com/security/CVE-2017-18251
ubuntu.com/security/CVE-2017-18252
ubuntu.com/security/CVE-2017-18254
ubuntu.com/security/CVE-2017-18271
ubuntu.com/security/CVE-2017-18273
ubuntu.com/security/CVE-2017-1000445
ubuntu.com/security/CVE-2017-1000476
ubuntu.com/security/CVE-2018-5246
ubuntu.com/security/CVE-2018-5247
ubuntu.com/security/CVE-2018-5248
ubuntu.com/security/CVE-2018-5357
ubuntu.com/security/CVE-2018-5358
ubuntu.com/security/CVE-2018-6405
ubuntu.com/security/CVE-2018-7443
ubuntu.com/security/CVE-2018-8804
ubuntu.com/security/CVE-2018-8960
ubuntu.com/security/CVE-2018-9133
ubuntu.com/security/CVE-2018-10177
ubuntu.com/security/CVE-2018-10804
ubuntu.com/security/CVE-2018-10805
ubuntu.com/security/CVE-2018-11251
ubuntu.com/security/CVE-2018-11625
ubuntu.com/security/CVE-2018-11655
ubuntu.com/security/CVE-2018-11656