Skip to content
OpenAdvisories
Unscored Public exploit CVE-2017-16353 EUVD-2017-7548GHSA-whcq-5grp-h63j

GraphicsMagick 1.3.26 is vulnerable to a memory information disclosure vulnerability found in the DescribeImage function of the magick/desc…

Published Nov 1, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

GraphicsMagick 1.3.26 is vulnerable to a memory information disclosure vulnerability found in the DescribeImage function of the magick/describe.c file, because of a heap-based buffer over-read. The portion of the code containing the vulnerability is responsible for printing the IPTC Profile information contained in the image. This vulnerability can be triggered with a specially crafted MIFF file. There is an out-of-bounds buffer dereference because certain increments are never checked.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 graphicsmagick 1.3.26-17 —
Debian 13 graphicsmagick 1.3.26-17 —
Debian 12 graphicsmagick 1.3.26-17 —
Debian 9 graphicsmagick 1.3.30+hg15796-1~deb9u1 DSA-4321-1
Debian 8 graphicsmagick 1.3.20-3+deb8u3 DLA-1401-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 7 graphicsmagick 1.3.16-1.1+deb7u13 DLA-1159-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS graphicsmagick 1.3.23-1ubuntu0.4 USN-4232-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS graphicsmagick 1.3.18-1ubuntu3.1+esm4 —
ReleasePackageFixed inAdvisory
SLES 12 SP3 ImageMagick 6.8.8.1-71.47.1 SUSE-SU-2018:0857-1
SLES 12 SP2 ImageMagick 6.8.8.1-71.47.1 SUSE-SU-2018:0857-1
SLES 11 SP4 GraphicsMagick 1.2.5-78.44.1 SUSE-SU-2018:0864-1
SLES 11 SP4 ImageMagick 6.4.3.6-78.40.1 SUSE-SU-2018:0880-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Studio Onsite 1.3 GraphicsMagick 1.2.5-78.44.1 SUSE-SU-2018:0864-1
SLES for SAP 12 SP3 ImageMagick 6.8.8.1-71.47.1 SUSE-SU-2018:0857-1
SLES for SAP 12 SP2 ImageMagick 6.8.8.1-71.47.1 SUSE-SU-2018:0857-1
SLES for SAP 11 SP4 ImageMagick 6.4.3.6-78.40.1 SUSE-SU-2018:0880-1
ReleasePackageFixed inAdvisory
Alpine v3.24 graphicsmagick 1.3.27-r0 —
Alpine v3.23 graphicsmagick 1.3.27-r0 —
Alpine v3.22 graphicsmagick 1.3.27-r0 —
Alpine v3.21 graphicsmagick 1.3.27-r0 —
Alpine v3.20 graphicsmagick 1.3.27-r0 —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 graphicsmagick 1.3.27-r0 —
Alpine v3.18 graphicsmagick 1.3.27-r0 —
Alpine v3.17 graphicsmagick 1.3.27-r0 —
Alpine v3.16 graphicsmagick 1.3.27-r0 —
Alpine v3.15 graphicsmagick 1.3.27-r0 —
Alpine v3.14 graphicsmagick 1.3.27-r0 —
Alpine v3.13 graphicsmagick 1.3.27-r0 —
Alpine v3.12 graphicsmagick 1.3.27-r0 —
Alpine v3.11 graphicsmagick 1.3.27-r0 —
Alpine v3.10 graphicsmagick 1.3.27-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 7

References