CVE-2017-12877

medium
Published 2017-08-28 · Modified 2026-05-13
CVSS v3
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS v2
4.3
VIR risk
6.5

Description

Use-after-free vulnerability in the DestroyImage function in image.c in ImageMagick before 7.0.6-6 allows remote attackers to cause a denial of service via a crafted file.

Predictions

Exploit likelihood
75%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-12877

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-12877.html

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — http://www.openwall.com/lists/oss-security/2017/08/16/2

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed8:6.9.9.34+dfsg-3
debian debianbullseyefixed8:6.9.9.34+dfsg-3
debian debianforkyfixed8:6.9.9.34+dfsg-3
debian debiansidfixed8:6.9.9.34+dfsg-3
debian debiantrixiefixed8:6.9.9.34+dfsg-3
debian debian8.0affected
debian debian9.0affected
ubuntu ubuntu14.04affected
ubuntu ubuntu16.04affected
ubuntu ubuntu17.10affected
ubuntu ubuntu18.04affected

Application impact

VendorProductVersionsFixed
imagemagickimagemagick{"endExcluding":"6.9.9-6"}6.9.9-6

References

CWEs

CWE-416

Verify integrity in audit chain (admin only). AS-IS.