Vulnerabilities / CVE-2016-5691

critical

CVE-2016-5691

ImageMagick: Possible out-of-bounds write in ReadDCMImage()

Published Modified CWE 20
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.8AV:N/AC:M/Au:N/C:N/I:P/A:P

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.2imagemagick6.9.6.8-r0
alpine 3.3imagemagick6.9.6.8-r0
alpine 3.4imagemagick6.9.5.3
debian 11imagemagick8:6.9.6.2+dfsg-2
debian 12imagemagick8:6.9.6.2+dfsg-2
debian 13imagemagick8:6.9.6.2+dfsg-2
debian 14imagemagick8:6.9.6.2+dfsg-2
debian 7imagemagick8:6.7.7.10-5+deb7u8
debian 8imagemagick8:6.8.9.9-5+deb8u4
echoimagemagick8:6.9.6.2+dfsg-2
Red HatImageMagick, ImageMagick-c++, ImageMagick-c++-devel and 3 moreno fix listed
root.io debian 11rootio-imagemagick8:6.9.6.2+dfsg-2
Show all 27 entries from 21 sources
SourcePackageFixed in
alpine 3.2imagemagick6.9.6.8-r0
alpine 3.3imagemagick6.9.6.8-r0
alpine 3.4imagemagick6.9.5.3
debian 11imagemagick8:6.9.6.2+dfsg-2
debian 12imagemagick8:6.9.6.2+dfsg-2
debian 13imagemagick8:6.9.6.2+dfsg-2
debian 14imagemagick8:6.9.6.2+dfsg-2
debian 7imagemagick8:6.7.7.10-5+deb7u8
debian 8imagemagick8:6.8.9.9-5+deb8u4
echoimagemagick8:6.9.6.2+dfsg-2
Red HatImageMagickno fix listed
Red HatImageMagick-c++no fix listed
Red HatImageMagick-c++-develno fix listed
Red HatImageMagick-develno fix listed
Red HatImageMagick-docno fix listed
Red HatImageMagick-perlno fix listed
root.io debian 11rootio-imagemagick8:6.9.6.2+dfsg-2
root.io debian 12rootio-imagemagick8:6.9.6.2+dfsg-2
root.io debian 13rootio-imagemagick8:6.9.6.2+dfsg-2
seal Red Hat 7imagemagick6.9.10.68-6.el7_9+sp999
seal Red Hat 7seal-imagemagick6.9.10.68-6.el7_9+sp999
ubuntu 12.04imagemagick8:6.6.9.7-5ubuntu3.5
ubuntu 14.04imagemagick8:6.7.7.10-6ubuntu3.2
ubuntu 14.04-ESMimagemagick8:6.7.7.10-6ubuntu3.2
ubuntu 16.04imagemagick8:6.8.9.9-7ubuntu5.2
ubuntu 16.04-ESMimagemagick8:6.8.9.9-7ubuntu5.2
ubuntu 16.10imagemagick8:6.8.9.9-7ubuntu8.1

References

All 12 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.