CVE-2017-12877: canonical ubuntu_linux Use After Free
Vulnerability summary
CVE-2017-12877 is a medium (CVSS 6.5) Use After Free vulnerability in canonical ubuntu_linux. EPSS estimates a 2.29% chance of exploitation in the next 30 days, higher than 83.8% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 1Timeline
- 28-08-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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 metrics
5 scores · 3 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.29%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.29% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- imagemagick< 8:6.9.9.34+dfsg-3
- debian_linuxEOL8.0 | 9.0
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 17.10 | 18.04
Imagemagick1 product
- imagemagick< 6.9.9-6 | ≥ 7.0.0-0, < 7.0.6-6
Ubuntu1 product
- imagemagick< 8:6.7.7.10-6ubuntu3.11 | < 8:6.8.9.9-7ubuntu5.11 | < 8:6.9.7.4+dfsg-16ubuntu6.2
4 vendors · 5 products
References
11 links- www.openwall.com/lists/oss-security/2017/08/16/2Mailing ListX Refsource MLISTPatchThird Party Advisory
- github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890X Refsource CONFIRMIssue TrackingPatchThird Party Advisory
- blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/X Refsource MISCPatchThird Party AdvisoryVDB Entry