ImageMagick: missing check for fputc function in multiple files
Published Sep 6, 2018
6.5
MEDIUMCVSS 3.0
EPSS 3.08%
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.
Affected products
No data.
Configuration 1
- 7.0.8-4
Configuration 2
- 14.04
- 16.04
- 18.04
- 8.0
No data.
Red Hat Enterprise Linux 7
ImageMagick-0:6.9.10.68-3.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 7
autotrace-0:0.31.1-38.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 7
emacs-1:24.3-23.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 7
inkscape-0:0.92.2-3.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 5
ImageMagick
Will not fix
Red Hat Enterprise Linux 6
ImageMagick
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | ImageMagick-0:6.9.10.68-3.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | autotrace-0:0.31.1-38.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-1:24.3-23.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | inkscape-0:0.92.2-3.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 5 | ImageMagick | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | ImageMagick | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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 Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Low, and 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/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
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 v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.08% (0.03080) | 87.22th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.08% (0.03080) | 85.93th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.52% (0.00519) | 64.82th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.99% (0.00988) | 83.69th | v3 (v2023.03.01) |
| Jan 28, 2024 | 0.99% (0.00988) | 81.89th | v3 (v2023.03.01) |
| Aug 31, 2023 | 0.98% (0.00980) | 81.52th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.71% (0.00706) | 77.74th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.93% (0.00927) | 80.55th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.21% (0.01213) | 66.61th | v2 (v2022.01.01) |
| Feb 17, 2023 | 1.21% (0.01213) | 66.22th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.21% (0.01213) | 64.21th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.21% (0.01213) | 40.54th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.94% (0.01943) | 48.45th | v1 |
| Jan 6, 2022 | 1.94% (0.01943) | 47.92th | v1 |
| Sep 1, 2021 | 1.94% (0.01943) | 76.51th | v1 |
| Apr 14, 2021 | 1.94% (0.01943) | 0.00th | v1 |
References (9)
- https://access.redhat.com/security/cve/CVE-2018-16643 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1626599 Issue Tracking
- https://github.com/ImageMagick/ImageMagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c x_refsource_MISCPatchThird Party Advisory
- https://github.com/ImageMagick/ImageMagick/issues/1199 x_refsource_MISCIssue TrackingPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/10/msg00002.html mailing-listx_refsource_MLISTThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2018-16643
- https://usn.ubuntu.com/3785-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-16643
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-16643 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1626599 | Issue Tracking | |
| https://github.com/ImageMagick/ImageMagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/ImageMagick/ImageMagick/issues/1199 | x_refsource_MISCIssue TrackingPatchThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2018/10/msg00002.html | mailing-listx_refsource_MLISTThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html | mailing-listx_refsource_MLIST | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-16643 | ||
| https://usn.ubuntu.com/3785-1/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-16643 |
Change history (0)
No recorded changes yet.