Medium severity · published Aug 28, 2017
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
6.5
CVSS
2.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.3% · higher than 83% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
8.0; 9.0 · source: NVD
IM
Imagemagick · Imagemagick
before 6.9.9-6; 7.0.0-0 before 7.0.6-6 · source: NVD
UL
Ubuntu Linux · Canonical
14.04; 16.04; 17.10; 18.04 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-12877
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-12877
Mailing List
http://www.openwall.com/lists/oss-security/2017/08/16/2
Patch
https://blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/
Issue Tracking
https://github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890
Third Party Advisory
https://security.gentoo.org/glsa/201711-07
Third Party Advisory
https://usn.ubuntu.com/3681-1/
Third Party Advisory
https://www.debian.org/security/2017/dsa-4040
More from Ubuntu Linux
9.8
CVE-2020-11651
SaltStack Salt Authentication Bypass Vulnerability
9.8
CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2019-16928
Exim Out-of-bounds Write Vulnerability
9.8
CVE-2019-10149
Exim Mail Transfer Agent (MTA) Improper Input Validation
