VDB
CVE-2018-6405
CVE-2018-6405
PUBLISHED
Reported by mitre · Published January 30, 2018
In the ReadDCMImage function in coders/dcm.c in ImageMagick before 7.0.7-23, each redmap, greenmap, and bluemap variable can be overwritten by a new pointer. The previous pointer is lost, which leads to a memory leak. This allows remote attackers to cause a denial of service.
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 | imagemagick | 7.0.7-23, 6.9.9-35 |
| imagemagick | Ubuntu:14.04:LTS | 8:6.7.7.10-6ubuntu3.11 |
| imagemagick | Ubuntu:16.04:LTS | 8:6.8.9.9-7ubuntu5.11 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| alpine | imagemagick6 | 0, 0 |
Timeline
- Jan 30, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (2 in total, the first dated here)
- Sep 19, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-6405
vulnetix vdb fixes CVE-2018-6405
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-2018-6405/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3681-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM