CVE-2018-16643

MEDIUM

ImageMagick 7.0.8-4 - Denial of Service via Unchecked fputc Return Value

Title source: llm
STIX 2.1

Description

The functions ReadDCMImage in coders/dcm.c, ReadPWPImage in coders/pwp.c, ReadCALSImage in coders/cals.c, and ReadPICTImage in coders/pict.c in ImageMagick 7.0.8-4 do not check the return value of the fputc function, which allows remote attackers to cause a denial of service via a crafted image file.

References (5)

Core 5
Core References
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://github.com/ImageMagick/ImageMagick/issues/1199
Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/10/msg00002.html
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3785-1/
Mailing List mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html

Scores

CVSS v3 6.5
EPSS 0.0308
EPSS Percentile 85.9%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Details

CWE
CWE-252
Status published
Products (5)
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 18.04
debian/debian_linux 8.0
imagemagick/imagemagick 7.0.8-4
Published Sep 06, 2018
Tracked Since Feb 18, 2026