CVE-2017-12877Use After Free in Imagemagick

CWE-416Use After Free7 documents7 sources
Severity
6.5MEDIUMNVD
EPSS
1.2%
top 21.15%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 28
Latest updateMay 13

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:HExploitability: 2.8 | Impact: 3.6

Affected Packages3 packages

debiandebian/imagemagick< imagemagick 8:6.9.9.34+dfsg-3 (bookworm)
NVDimagemagick/imagemagick7.0.0-07.0.6-6+1
Debianimagemagick/imagemagick< 8:6.9.9.34+dfsg-3+3

Also affects: Debian Linux 8.0, 9.0, Ubuntu Linux 14.04, 16.04, 17.10, 18.04

Patches

🔴Vulnerability Details

2
GHSA
GHSA-wc68-8h86-hxxj: Use-after-free vulnerability in the DestroyImage function in image2022-05-13
OSV
CVE-2017-12877: Use-after-free vulnerability in the DestroyImage function in image2017-08-28

📋Vendor Advisories

3
Ubuntu
ImageMagick vulnerabilities2018-06-12
Red Hat
ImageMagick: Use-after-free vulnerability in the DestroyImage function2017-08-10
Debian
CVE-2017-12877: imagemagick - Use-after-free vulnerability in the DestroyImage function in image.c in ImageMag...2017

💬Community

1
Bugzilla
CVE-2017-12877 ImageMagick: Use-after-free vulnerability in the DestroyImage function2017-08-31