CVE-2018-16643
published 2018-09-06CVE-2018-16643: 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…
PriorityP427medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
3.08%
86.3th percentile
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.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | imagemagick | < imagemagick 8:6.9.10.8+dfsg-1 (bookworm) | imagemagick 8:6.9.10.8+dfsg-1 (bookworm) |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.8+dfsg-1 | 8:6.9.10.8+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.8+dfsg-1 | 8:6.9.10.8+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.8+dfsg-1 | 8:6.9.10.8+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.8+dfsg-1 | 8:6.9.10.8+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.7.7.10-6ubuntu3.13 | 8:6.7.7.10-6ubuntu3.13 |
| imagemagick | imagemagick | >= 0 < 8:6.8.9.9-7ubuntu5.13 | 8:6.8.9.9-7ubuntu5.13 |
| imagemagick | imagemagick | >= 0 < 8:6.9.7.4+dfsg-16ubuntu6.4 | 8:6.9.7.4+dfsg-16ubuntu6.4 |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5LOW
vendor_redhat6.5MEDIUM
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-wqhj-p6jq-8958: The functions ReadDCMImage in coders/dcm
ghsa_unreviewed·2022-05-13
CVE-2018-16643 [MEDIUM] CWE-252 GHSA-wqhj-p6jq-8958: The functions ReadDCMImage in coders/dcm
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.
OSV
imagemagick vulnerabilities
osv·2018-10-04·CVSS 6.5
[MEDIUM] imagemagick vulnerabilities
imagemagick vulnerabilities
Due to a large number of issues discovered in GhostScript that prevent
it from being used by ImageMagick safely, this update includes a
default policy change that disables support for the Postscript and
PDF formats in ImageMagick. This policy can be overridden if necessary
by using an alternate ImageMagick policy configuration.
It was discovered that several memory leaks existed when handling
certain images in ImageMagick. An attacker could use this to cause a
denial of service. (CVE-2018-14434, CVE-2018-14435, CVE-2018-14436,
CVE-2018-14437, CVE-2018-16640, CVE-2018-16750)
It was discovered that ImageMagick did not properly initialize a
variable before using it when processing MAT images. An attacker could
use this to cause a denial of service or possibly ex
OSV
CVE-2018-16643: The functions ReadDCMImage in coders/dcm
osv·2018-09-06·CVSS 6.5
CVE-2018-16643 [MEDIUM] CVE-2018-16643: The functions ReadDCMImage in coders/dcm
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.
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2018-10-04·CVSS 6.5
CVE-2018-14434 [MEDIUM] ImageMagick vulnerabilities
Title: ImageMagick vulnerabilities
Summary: Several security issues were fixed in ImageMagick.
Due to a large number of issues discovered in GhostScript that prevent
it from being used by ImageMagick safely, this update includes a
default policy change that disables support for the Postscript and
PDF formats in ImageMagick. This policy can be overridden if necessary
by using an alternate ImageMagick policy configuration.
It was discovered that several memory leaks existed when handling
certain images in ImageMagick. An attacker could use this to cause a
denial of service. (CVE-2018-14434, CVE-2018-14435, CVE-2018-14436,
CVE-2018-14437, CVE-2018-16640, CVE-2018-16750)
It was discovered that ImageMagick did not properly initialize a
variable before using it when processing MAT images. An
Red Hat
ImageMagick: missing check for fputc function in multiple files
vendor_redhat·2018-07-05·CVSS 6.5
CVE-2018-16643 [MEDIUM] CWE-20 ImageMagick: missing check for fputc function in multiple files
ImageMagick: missing check for fputc function in multiple files
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.
Statement: This issue affects the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5, 6, and 7.
Red Hat Enterprise Linux 5 is now in Extended Life Phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.
Red Hat Enter
Debian
CVE-2018-16643: imagemagick - The functions ReadDCMImage in coders/dcm.c, ReadPWPImage in coders/pwp.c, ReadCA...
vendor_debian·2018·CVSS 6.5
CVE-2018-16643 [MEDIUM] CVE-2018-16643: imagemagick - The functions ReadDCMImage in coders/dcm.c, ReadPWPImage in coders/pwp.c, ReadCA...
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.
Scope: local
bookworm: resolved (fixed in 8:6.9.10.8+dfsg-1)
bullseye: resolved (fixed in 8:6.9.10.8+dfsg-1)
forky: resolved (fixed in 8:6.9.10.8+dfsg-1)
sid: resolved (fixed in 8:6.9.10.8+dfsg-1)
trixie: resolved (fixed in 8:6.9.10.8+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16643 ImageMagick: missing check for fputc function in multiple files [fedora-all]
bugzilla·2018-09-07·CVSS 6.5
CVE-2018-16643 [MEDIUM] CVE-2018-16643 ImageMagick: missing check for fputc function in multiple files [fedora-all]
CVE-2018-16643 ImageMagick: missing check for fputc function in multiple files [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supp
Bugzilla
CVE-2018-16643 ImageMagick: missing check for fputc function in multiple files
bugzilla·2018-09-07·CVSS 6.5
CVE-2018-16643 [MEDIUM] CVE-2018-16643 ImageMagick: missing check for fputc function in multiple files
CVE-2018-16643 ImageMagick: missing check for fputc function in multiple files
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:
https://github.com/ImageMagick/ImageMagick/issues/1199
Upstream Patch:
https://github.com/ImageMagick/ImageMagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c
https://github.com/ImageMagick/ImageMagick6/commit/11d9dac3d991c62289d1ef7a097670166480e76c
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1626600]
---
Statement:
This issue affects the versions
https://github.com/ImageMagick/ImageMagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6chttps://github.com/ImageMagick/ImageMagick/issues/1199https://lists.debian.org/debian-lts-announce/2018/10/msg00002.htmlhttps://lists.debian.org/debian-lts-announce/2020/09/msg00007.htmlhttps://usn.ubuntu.com/3785-1/https://github.com/ImageMagick/ImageMagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6chttps://github.com/ImageMagick/ImageMagick/issues/1199https://lists.debian.org/debian-lts-announce/2018/10/msg00002.htmlhttps://lists.debian.org/debian-lts-announce/2020/09/msg00007.htmlhttps://usn.ubuntu.com/3785-1/
2018-09-06
Published