ImageMagick: infinite loop in coders/bmp.c
Published Dec 26, 2018
6.5
MEDIUMCVSS 3.1
EPSS 3.10%
Description
In coders/bmp.c in ImageMagick before 7.0.8-16, an input file can result in an infinite loop and hang, with high CPU and memory consumption. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted file.
Affected products
No data.
Configuration 1
- < 6.9.10-16
- ≥ 7.0.0-0 · < 7.0.8-16
Configuration 3
- 9.0
Configuration 4
- 16.04
- 18.04
- 18.10
- 19.04
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/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 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 3.10% (0.03099) | 87.30th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.10% (0.03099) | 86.01th | v5 (v2026.06.15) |
| Nov 18, 2025 | 1.19% (0.01189) | 77.02th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.15% (0.00151) | 33.11th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.38% (0.00378) | 73.73th | v3 (v2023.03.01) |
| May 18, 2024 | 0.38% (0.00378) | 72.81th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.44% (0.00443) | 74.16th | v3 (v2023.03.01) |
| Dec 19, 2023 | 0.44% (0.00443) | 72.13th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.37% (0.00373) | 68.37th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.32% (0.01319) | 71.27th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.32% (0.01319) | 44.98th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.58% (0.02580) | 55.23th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.58% (0.02580) | 0.00th | v1 |
References (11)
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.html vendor-advisoryx_refsource_SUSEBroken LinkThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.html vendor-advisoryx_refsource_SUSEBroken Link
- http://www.securityfocus.com/bid/106315 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2018-20467 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1664845 Issue Tracking
- https://github.com/ImageMagick/ImageMagick/commit/db0add932fb850d762b02604ca3053b7d7ab6deb x_refsource_MISCPatchThird Party Advisory
- https://github.com/ImageMagick/ImageMagick/issues/1408 x_refsource_MISCExploitPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00030.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-20467
- https://usn.ubuntu.com/4034-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-20467
Change history (0)
No recorded changes yet.