CVE-2018-5685: debian debian_linux Loop with Unreachable Exit Condition
Vulnerability summary
CVE-2018-5685 is a medium (CVSS 6.5) Loop with Unreachable Exit Condition vulnerability in debian debian_linux. EPSS estimates a 1.94% chance of exploitation in the next 30 days, higher than 80.8% 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 6 · Related 4Timeline
- 14-01-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value.
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
1.94%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.94% 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 foundExploit Reference (sourceforge.net)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- graphicsmagick< 1.3.27-4 | < 1.3.16-1.1+deb7u17
- debian_linuxEOL7.0 | 8.0 | 9.0
Alpine1 product
- graphicsmagick< 1.3.28-r0
Graphicsmagick1 product
- graphicsmagick1.3.27
Ubuntu1 product
- graphicsmagick< 1.3.18-1ubuntu3.1+esm8 | < 1.3.23-1ubuntu0.6+esm2
4 vendors · 5 products
References
10 links- sourceforge.net/p/graphicsmagick/bugs/541/X Refsource MISCExploitIssue TrackingThird Party AdvisoryREPORT
- lists.debian.org/debian-lts-announce/2018/01/msg00018.htmlMailing ListX Refsource MLISTThird Party Advisory
- lists.debian.org/debian-lts-announce/2018/08/msg00002.htmlMailing ListX Refsource MLISTThird Party Advisory