CVE-2017-16546
Reported by mitre · Published November 5, 2017
The ReadWPGImage function in coders/wpg.c in ImageMagick 7.0.7-9 does not properly validate the colormap index in a WPG palette, which allows remote attackers to cause a denial of service (use of uninitialized data or invalid memory allocation) or possibly have unspecified other impact via a malformed WPG 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 |
|---|---|---|
| imagemagick | Ubuntu:18.04:LTS | 8:6.9.7.4+dfsg-16ubuntu6.2 |
| imagemagick | Ubuntu:16.04:LTS | 8:6.8.9.9-7ubuntu5.11 |
| imagemagick | Ubuntu:14.04:LTS | 8:6.7.7.10-6ubuntu3.11 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Nov 5, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (4 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-16546
vulnetix vdb fixes CVE-2017-16546
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-16546/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-4040 vendor-advisoryx_refsource_DEBIAN
- USN-3681-1 vendor-advisoryx_refsource_UBUNTU
- DSA-4074 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM