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.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.29% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 82.7% of scored records. A rank, not a probability.
- NVD base score
- 6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2017-08-28 19:00Z9 YR AGO
- Last updated
- 2024-08-05 18:51Z2 YR AGO
- Reserved
- 2017-08-15
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.1
- Document digest
- 885404e80efa290ad98729b3cbf5a074fbce4fc6dca7546003f0caac68405816
05 Affected products
06 References
- www.openwall.com[oss-security] 20170816 imagemagick: use-after-free in DestroyImage (image.c)http://www.openwall.com/lists/oss-security/2017/08/16/2
- www.debian.orgDSA-4040https://www.debian.org/security/2017/dsa-4040
- github.comhttps://github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890
- usn.ubuntu.comUSN-3681-1https://usn.ubuntu.com/3681-1/
- security.gentoo.orgGLSA-201711-07https://security.gentoo.org/glsa/201711-07
- www.debian.orgDSA-4074https://www.debian.org/security/2017/dsa-4074
- blogs.gentoo.orghttps://blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/
07 Fixed in
Debian 12
- imagemagick Fixed in 8:6.9.9.34+dfsg-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- imagemagick Fixed in 8:6.9.9.34+dfsg-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- imagemagick Fixed in 8:6.9.9.34+dfsg-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- imagemagick Fixed in 8:6.7.7.10-6ubuntu3.11
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- imagemagick Fixed in 8:6.8.9.9-7ubuntu5.11
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- imagemagick Fixed in 8:6.9.7.4+dfsg-16ubuntu6.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.