CVE-2016-7906 json
magick/attribute.c in ImageMagick 7.0.3-2 allows remote attackers to cause a denial of service (use-after-free) via a crafted file.
published 2017-01-18 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-8755
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
magick/attribute.c in ImageMagick 7.0.3-2 allows remote attackers to cause a denial of service (use-after-free) via a crafted file.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.6.2+dfsg-2
debian advisories DEBIAN-CVE-2016-7906
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.3
ubuntu advisories UBUNTU-CVE-2016-7906
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- imagemagick Alpine 3.3, Alpine 3.2 6.9.6.8-r0
- imagemagick Alpine 3.4 6.9.5.9-r1
alpine advisories ALPINE-CVE-2016-7906
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- imagemagick Arch Linux 6.9.6.0-1
arch linux advisories AVG-40
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-7906 updated cvss 5.1
ImageMagick: Mogrify heap-use-after-free in attribute.c
-
Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat OpenShift Enterprise 2 ImageMagickaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 5 ImageMagicknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.72% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/ImageMagick/ImageMagick/commit/90406972f108c4da71f998601b06abdc2ac6f06e
patch, vendor-advisory
-
openwall.com
/lists/oss-security/2016/10/02/3
mailing-list, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2016/10/02/1
mailing-list, patch, third-party-advisory
-
github.com
/ImageMagick/ImageMagick/issues/281
issue-tracking, patch, third-party-advisory
-
security.gentoo.org
/glsa/201611-21
vendor-advisory, third-party-advisory
-
debian.org
/security/2016/dsa-3726
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/93271
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2016-7906
- NVD CVE-2016-7906
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.