CVE-2017-16353

MEDIUM

GraphicsMagick 1.3.26 - Info Disclosure

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2017-16353. PoCs published by SecuriTeam.

AI-analyzed exploit summary The exploit demonstrates a memory information disclosure and heap overflow vulnerability in GraphicsMagick's DescribeImage function. It uses a crafted MIFF file to leak libc addresses and trigger a heap overflow via an overly long directory name.

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.

Exploits (1)

exploitdb WORKING POC
by SecuriTeam · pythondosmultiple
https://www.exploit-db.com/exploits/43111

The exploit demonstrates a memory information disclosure and heap overflow vulnerability in GraphicsMagick's DescribeImage function. It uses a crafted MIFF file to leak libc addresses and trigger a heap overflow via an overly long directory name.

Classification
Working Poc 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: GraphicsMagick (versions prior to the fix)
No auth needed
Prerequisites: GraphicsMagick installed · ability to execute the 'gm' binary
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (9)

Core 9
Core References
Vendor Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/4232-1/
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/101653
Exploit, Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/43111/
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2018/dsa-4321
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/06/msg00009.html
Exploit, Third Party Advisory x_refsource_misc
https://blogs.securiteam.com/index.php/archives/3494
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2017/11/msg00002.html
Release Notes, Vendor Advisory x_refsource_misc
ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/snapshots/ChangeLog.txt

Scores

CVSS v3 6.5
EPSS 0.1368
EPSS Percentile 96.0%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Details

CWE
CWE-125 CWE-200
Status published
Products (4)
debian/debian_linux 7.0
debian/debian_linux 8.0
debian/debian_linux 9.0
graphicsmagick/graphicsmagick 1.3.26
Published Nov 01, 2017
Tracked Since Feb 18, 2026