CVE-2017-16547
Reported by mitre · Published November 6, 2017
The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop keywords that are associated with push keywords, which allows remote attackers to cause a denial of service (negative strncpy and application crash) or possibly have unspecified other impact via a crafted file.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| graphicsmagick | Arch Linux | 1.3.27-1 |
| graphicsmagick | Alpine | 1.3.27-r0 |
| graphicsmagick | Ubuntu:Pro:14.04:LTS | 1.3.18-1ubuntu3.1+esm5 |
| graphicsmagick | Ubuntu:16.04:LTS | 1.3.23-1ubuntu0.5 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| arch | graphicsmagick | 0 |
| alpine | graphicsmagick | 0 |
| n/a | n/a | * |
Timeline
- Nov 6, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Apr 20, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (3 in total, the first dated here)
- Oct 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-16547
vulnetix vdb fixes CVE-2017-16547
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-16547/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20171114 [SECURITY] [DLA 1170-1] graphicsmagick security update mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- DSA-4321 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- [debian-lts-announce] 20180803 [SECURITY] [DLA 1456-1] graphicsmagick security update mailing-listx_refsource_MLIST
- FEDORA-2019-da4c20882c vendor-advisoryx_refsource_FEDORA
- FEDORA-2019-425a1aa7c9 vendor-advisoryx_refsource_FEDORA
- USN-4248-1 vendor-advisoryx_refsource_UBUNTU