CVE-2018-18024: imagemagick Loop with Unreachable Exit Condition
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.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 6Timeline
- 07-10-2018PublishedVulnerability first disclosed.
- 05-08-2024Last 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- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundImagemagick
Maturity: poc
Weaknesses
CWE · root causeAffected systems
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
- imagemagick7.0.8-13:q16
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- github.com/ImageMagick/ImageMagick/issues/1337X Refsource MISCExploitIssue TrackingPatchThird Party Advisory