CVE-2016-3714

NameCVE-2016-3714
DescriptionThe (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to execute arbitrary code via shell metacharacters in a crafted image, aka "ImageTragick."
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-484-1, DLA-486-1, DSA-3580-1, DSA-3746-1
NVD severityhigh (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
graphicsmagick (PTS)wheezy1.3.16-1.1vulnerable
wheezy (security)1.3.16-1.1+deb7u8fixed
jessie1.3.20-3+deb8u1vulnerable
jessie (security)1.3.20-3+deb8u2fixed
stretch1.3.25-8fixed
buster, sid1.3.26-5fixed
imagemagick (PTS)wheezy8:6.7.7.10-5+deb7u4vulnerable
wheezy (security)8:6.7.7.10-5+deb7u15fixed
jessie8:6.8.9.9-5+deb8u9fixed
jessie (security)8:6.8.9.9-5+deb8u10fixed
stretch8:6.9.7.4+dfsg-11fixed
stretch (security)8:6.9.7.4+dfsg-11+deb9u1fixed
buster, sid8:6.9.7.4+dfsg-16fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
graphicsmagicksource(unstable)1.3.24-1high
graphicsmagicksourcejessie1.3.20-3+deb8u2highDSA-3746-1
graphicsmagicksourcewheezy1.3.16-1.1+deb7u1highDLA-484-1
imagemagicksource(unstable)8:6.9.6.2+dfsg-2high
imagemagicksourcejessie8:6.8.9.9-5+deb8u2highDSA-3580-1
imagemagicksourcewheezy8:6.7.7.10-5+deb7u5highDLA-486-1

Notes

Workaround: https://bugzilla.redhat.com/show_bug.cgi?id=1332492#c3
https://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=29588
Original upstream applied patches are incomplete and still to be finished
https://imagetragick.com/
notice how the workaround differs between the three refs above
PLT format removed with: https://github.com/ImageMagick/ImageMagick/commit/e87116ab2bd070c47943d4118a18c8f3a47461e2
https://sourceforge.net/p/graphicsmagick/mailman/message/35072963/
https://sourceforge.net/p/graphicsmagick/code/ci/45998a25992d1142df201d8cf024b6c948b40748/

Search for package or bug name: Reporting problems