6.5

CVE-2018-18024: imagemagick Loop with Unreachable Exit Condition

Modified
AliasesUBUNTU-CVE-2018-18024DEBIAN-CVE-2018-18024ALPINE-CVE-2018-18024
Published 07-10-2018Last modified 05-08-2024

Vulnerability summary

CVE-2018-18024 is a medium (CVSS 6.5) Loop with Unreachable Exit Condition vulnerability in imagemagick. EPSS estimates a 3.03% chance of exploitation in the next 30 days, higher than 87.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.0 (NVD)
EPSS score
3.03%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 9 · Related 6

Timeline

  1. 07-10-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

Description

In ImageMagick 7.0.8-13 Q16, there is an infinite loop in the ReadBMPImage function of the coders/bmp.c file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

3.03%

Chance of exploitation in the next 30 days

Percentile

88%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.03% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Imagemagick

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • imagemagick6< 6.9.10.37-r0 | < 6.9.10.39-r0
Debian1 product
  • imagemagick< 8:6.9.10.14+dfsg-1
Imagemagick1 product
Ubuntu1 product
  • imagemagick< 8:6.7.7.10-6ubuntu3.13+esm8 | < 8:6.8.9.9-7ubuntu5.14 | < 8:6.9.7.4+dfsg-16ubuntu6.7

4 vendors · 4 products

References

9 links