CVE-2017-12877
published 2017-08-28CVE-2017-12877: 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…
PriorityP426medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
2.29%
81.2th percentile
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.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | imagemagick | < imagemagick 8:6.9.9.34+dfsg-3 (bookworm) | imagemagick 8:6.9.9.34+dfsg-3 (bookworm) |
| imagemagick | imagemagick | < 6.9.9-6 | 6.9.9-6 |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
| imagemagick | imagemagick | >= 7.0.0-0 < 7.0.6-6 | 7.0.6-6 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-wc68-8h86-hxxj: Use-after-free vulnerability in the DestroyImage function in image
ghsa_unreviewed·2022-05-13
CVE-2017-12877 [MEDIUM] CWE-416 GHSA-wc68-8h86-hxxj: Use-after-free vulnerability in the DestroyImage function in image
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.
OSV
CVE-2017-12877: Use-after-free vulnerability in the DestroyImage function in image
osv·2017-08-28·CVSS 6.5
CVE-2017-12877 [MEDIUM] CVE-2017-12877: Use-after-free vulnerability in the DestroyImage function in image
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.
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2018-06-12
CVE-2017-1000445 ImageMagick vulnerabilities
Title: ImageMagick vulnerabilities
Summary: Several security issues were fixed in ImageMagick.
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.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ImageMagick: Use-after-free vulnerability in the DestroyImage function
vendor_redhat·2017-08-10·CVSS 6.5
CVE-2017-12877 [MEDIUM] CWE-416 ImageMagick: Use-after-free vulnerability in the DestroyImage function
ImageMagick: Use-after-free vulnerability in the DestroyImage function
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.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 6) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2017-12877: imagemagick - Use-after-free vulnerability in the DestroyImage function in image.c in ImageMag...
vendor_debian·2017·CVSS 6.5
CVE-2017-12877 [MEDIUM] CVE-2017-12877: imagemagick - Use-after-free vulnerability in the DestroyImage function in image.c in ImageMag...
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.
Scope: local
bookworm: resolved (fixed in 8:6.9.9.34+dfsg-3)
bullseye: resolved (fixed in 8:6.9.9.34+dfsg-3)
forky: resolved (fixed in 8:6.9.9.34+dfsg-3)
sid: resolved (fixed in 8:6.9.9.34+dfsg-3)
trixie: resolved (fixed in 8:6.9.9.34+dfsg-3)
No detection rules found.
No public exploits indexed.
http://www.openwall.com/lists/oss-security/2017/08/16/2https://blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/https://github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890https://security.gentoo.org/glsa/201711-07https://usn.ubuntu.com/3681-1/https://www.debian.org/security/2017/dsa-4040https://www.debian.org/security/2017/dsa-4074http://www.openwall.com/lists/oss-security/2017/08/16/2https://blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/https://github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890https://security.gentoo.org/glsa/201711-07https://usn.ubuntu.com/3681-1/https://www.debian.org/security/2017/dsa-4040https://www.debian.org/security/2017/dsa-4074
2017-08-28
Published