Vulnerability Details : CVE-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 crafted file.
Vulnerability category: Memory CorruptionDenial of service
Products affected by CVE-2017-12877
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2017-12877
4.72%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 93 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2017-12877
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
2.8
|
3.6
|
NIST |
CWE ids for CVE-2017-12877
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-12877
-
https://github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890
https://github.com/ImageMagick/ImageMagick/issues/662 · ImageMagick/ImageMagick@04178de · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://usn.ubuntu.com/3681-1/
USN-3681-1: ImageMagick vulnerabilities | Ubuntu security noticesThird Party Advisory
-
https://www.debian.org/security/2017/dsa-4074
Debian -- Security Information -- DSA-4074-1 imagemagickThird Party Advisory
-
https://www.debian.org/security/2017/dsa-4040
Debian -- Security Information -- DSA-4040-1 imagemagickThird Party Advisory
-
http://www.openwall.com/lists/oss-security/2017/08/16/2
oss-security - imagemagick: use-after-free in DestroyImage (image.c)Mailing List;Patch;Third Party Advisory
-
https://security.gentoo.org/glsa/201711-07
ImageMagick: Multiple vulnerabilities (GLSA 201711-07) — Gentoo securityThird Party Advisory
-
https://blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/
imagemagick: use-after-free in DestroyImage (image.c) | agostino's blogPatch;Third Party Advisory;VDB Entry
Jump to