CVE-2017-12877
medium
CVSS v3
6.5
CVSS v4 NEW
โ
VIR risk
6.5
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.
Predictions
Exploit likelihood
75%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Ubuntu Affected 4 releases
| Version | Status | Fixed in |
|---|---|---|
| 18.04 | Affected | โ |
| 17.10 | Affected | โ |
| 16.04 | Affected | โ |
| 14.04 | Affected | โ |
Debian Mixed 7 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 8:6.9.9.34+dfsg-3 |
| sid | Fixed | 8:6.9.9.34+dfsg-3 |
| forky | Fixed | 8:6.9.9.34+dfsg-3 |
| bullseye | Fixed | 8:6.9.9.34+dfsg-3 |
| bookworm | Fixed | 8:6.9.9.34+dfsg-3 |
| 9.0 | Affected | โ |
| 8.0 | Affected | โ |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| imagemagick | imagemagick | {"endExcluding":"6.9.9-6"} | 6.9.9-6 |
References
- http://www.openwall.com/lists/oss-security/2017/08/16/2
- https://blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/
- https://github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890
- https://security.gentoo.org/glsa/201711-07
- https://usn.ubuntu.com/3681-1/
- https://www.debian.org/security/2017/dsa-4040
- https://www.debian.org/security/2017/dsa-4074
- https://www.suse.com/security/cve/CVE-2017-12877.html
- https://security-tracker.debian.org/tracker/CVE-2017-12877
CWEs
CWE-416
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.