ImageMagick: Memory leak in coders/dcm.c:ReadDCMImage can allow for denial of service
Published Jan 30, 2018
6.5
MEDIUMCVSS 3.1
EPSS 1.67%
Description
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.
Affected products
No data.
Configuration 1
- < 6.9.9-35
- ≥ 7.0.0-0 · < 7.0.7-23
Configuration 2
- 14.04
- 16.04
- 17.10
- 18.04
No data.
Red Hat Enterprise Linux 5
ImageMagick
Will not fix
Red Hat Enterprise Linux 6
ImageMagick
Will not fix
Red Hat Enterprise Linux 7
ImageMagick
Will not fix
Red Hat Enterprise Linux 8
ImageMagick
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | ImageMagick | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | ImageMagick | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | ImageMagick | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | ImageMagick | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.67% (0.01667) | 75.89th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.67% (0.01667) | 75.70th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.12% (0.00123) | 47.21th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.12% (0.00122) | 45.70th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.11% (0.00108) | 41.94th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.05% (0.01055) | 52.13th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.05% (0.01055) | 27.52th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.98% (0.00976) | 26.54th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.98% (0.00976) | 0.00th | v1 |
References (6)
- https://access.redhat.com/security/cve/CVE-2018-6405 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1541866 Issue Tracking
- https://github.com/ImageMagick/ImageMagick/issues/964 x_refsource_CONFIRMExploitIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-6405
- https://usn.ubuntu.com/3681-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-6405
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-6405 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1541866 | Issue Tracking | |
| https://github.com/ImageMagick/ImageMagick/issues/964 | x_refsource_CONFIRMExploitIssue TrackingPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-6405 | ||
| https://usn.ubuntu.com/3681-1/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-6405 |
Change history (0)
No recorded changes yet.