CVEvulnerability
CVE-2018-6405
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2018-01-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-772
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 configurations
• imagemagick imagemagick (< 6.9.9-35)
• imagemagick imagemagick (>= 7.0.0-0 < 7.0.7-23)
• canonical ubuntu linux 14.04
• canonical ubuntu linux 16.04
• canonical ubuntu linux 17.10
• canonical ubuntu linux 18.04
Related
Weakness · CWE (1)
- CWE-772 Missing Release of Resource after Effective Lifetime weakness
References
- https://github.com/ImageMagick/ImageMagick/issues/964 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://usn.ubuntu.com/3681-1/ Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/issues/964 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://usn.ubuntu.com/3681-1/ Third Party Advisory