CVE-2017-12877
MEDIUMCVSS 6.5/10EPSS 2.29%
Last modified
CVE-2017-12877 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 2.29% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | < 6.9.9-6 |
| Imagemagick | Imagemagick | >= 7.0.0-0, < 7.0.6-6 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 17.10 |
| Canonical | Ubuntu Linux | 18.04 |
References
- http://www.openwall.com/lists/oss-security/2017/08/16/2Mailing List, Patch, Third Party Advisory
- https://blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/Patch, Third Party Advisory, VDB Entry
- https://github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201711-07Third Party Advisory
- https://usn.ubuntu.com/3681-1/Third Party Advisory
- https://www.debian.org/security/2017/dsa-4040Third Party Advisory
- https://www.debian.org/security/2017/dsa-4074Third Party Advisory
- http://www.openwall.com/lists/oss-security/2017/08/16/2Mailing List, Patch, Third Party Advisory
- https://blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/Patch, Third Party Advisory, VDB Entry
- https://github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201711-07Third Party Advisory
- https://usn.ubuntu.com/3681-1/Third Party Advisory
- https://www.debian.org/security/2017/dsa-4040Third Party Advisory
- https://www.debian.org/security/2017/dsa-4074Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2017-12877?
CVE-2017-12877 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 2.29% probability of exploitation in the next 30 days.
How do I fix CVE-2017-12877?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2017-12877?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
