CVE-2016-5691 json
The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact by leveraging lack o…
published 2016-12-13 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-6634
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.1%
- EPSS 6.1% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact by leveraging lack of validation of (1) pixel.red, (2) pixel.green, and (3) pixel.blue.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.6.2+dfsg-2
debian advisories DEBIAN-CVE-2016-5691
- imagemagick Ubuntu 14.04 LTS 8:6.7.7.10-6ubuntu3.2
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.2
ubuntu advisories UBUNTU-CVE-2016-5691
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 SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 6.4.3.6-7.45.1
- ImageMagick SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +2 more 6.8.8.1-30.2
suse advisories SUSE-SU-2016:1782-1SUSE-SU-2016:1784-1
- imagemagick Alpine 3.3, Alpine 3.2 6.9.6.8-r0
- imagemagick Alpine 3.4 6.9.5.3
alpine advisories ALPINE-CVE-2016-5691
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
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-5691 updated cvss 5.8
ImageMagick: Possible out-of-bounds write in ReadDCMImage()
-
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 available
-
Red Hat Enterprise Linux 5 ImageMagickunder investigation
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
6.13% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/ImageMagick/ImageMagick/commit/5511ef530576ed18fd636baa3bb4eda3d667665d referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/ImageMagick/ImageMagick/commit/5511ef530576ed18fd636baa3bb4eda3d667665d
exploit, vendor-advisory
-
github.com
/ImageMagick/ImageMagick/blob/7.0.1-7/ChangeLog
release-notes, vendor-advisory
-
github.com
/ImageMagick/ImageMagick/blob/6.9.4-5/ChangeLog
release-notes, vendor-advisory
-
securityfocus.com
/bid/91283
vdb-entry, third-party-advisory
- blog.fuzzing-project.org /46-Various-invalid-memory-reads-in-ImageMagick-WPG%2C-DDS%2C-DCM.html
-
oracle.com
/technetwork/topics/security/bulletinjul2016-3090568.html
third-party-advisory
-
openwall.com
/lists/oss-security/2016/06/17/3
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2016/06/14/5
mailing-list, third-party-advisory
Sources
- CVE List CVE-2016-5691
- NVD CVE-2016-5691
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.