6.5
MEDIUM
CVE-2018-16643
ImageMagick Fputc Fuzz Denial Of Service Vulnerability
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.

INFO

Published Date :

Sept. 6, 2018, 10:29 p.m.

Last Modified :

Nov. 21, 2024, 3:53 a.m.

Source :

cve@mitre.org

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2018-16643 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Imagemagick imagemagick
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-16643 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-16643 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/ImageMagick/ImageMagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c
    Added Reference https://github.com/ImageMagick/ImageMagick/issues/1199
    Added Reference https://lists.debian.org/debian-lts-announce/2018/10/msg00002.html
    Added Reference https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html
    Added Reference https://usn.ubuntu.com/3785-1/
  • CVE Modified by cve@mitre.org

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by cve@mitre.org

    Sep. 08, 2020

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html [No Types Assigned]
  • CWE Remap by nvd@nist.gov

    Aug. 24, 2020

    Action Type Old Value New Value
    Changed CWE CWE-20 CWE-252
  • Initial Analysis by nvd@nist.gov

    Oct. 25, 2018

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 (AV:N/AC:M/Au:N/C:N/I:N/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
    Changed Reference Type https://usn.ubuntu.com/3785-1/ No Types Assigned https://usn.ubuntu.com/3785-1/ Third Party Advisory
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/issues/1199 No Types Assigned https://github.com/ImageMagick/ImageMagick/issues/1199 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c No Types Assigned https://github.com/ImageMagick/ImageMagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c Patch, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/10/msg00002.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/10/msg00002.html Third Party Advisory
    Added CWE CWE-20
    Added CPE Configuration OR *cpe:2.3:a:imagemagick:imagemagick:7.0.8-4:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • CVE Modified by cve@mitre.org

    Oct. 05, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3785-1/ [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Oct. 04, 2018

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2018/10/msg00002.html [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
10010090908080707060605050404030302020101000March 7, 2023March 7, 2023July 8, 2023July 8, 2023Aug. 31, 2023Aug. 31, 2023Jan. 28, 2024Jan. 28, 2024Dec. 17, 2024Dec. 17, 2024March 17, 2025March 17, 2025March 29, 2025March 29, 2025March 30, 2025March 30, 2025
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-16643 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-16643 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.52 }} 0.02%

score

0.64145

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability