CVE-2018-5785: canonical ubuntu_linux Integer Overflow or Wraparound
Vulnerability summary
CVE-2018-5785 is a medium (CVSS 6.5) Integer Overflow or Wraparound vulnerability in canonical ubuntu_linux. EPSS estimates a 2.33% chance of exploitation in the next 30 days, higher than 83.5% 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 5 · Related 2Timeline
- 19-01-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
In OpenJPEG 2.3.0, there is an integer overflow caused by an out-of-bounds left shift in the opj_j2k_setup_encoder function (openjp2/j2k.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.
CVSS metrics
6 scores · 4 sources · 3 versions- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.33%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.33% on 04-10-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 foundOpenjpeg
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- openjpeg2< 2.3.0-2
- debian_linuxEOL9.0
Alpine1 product
- openjpeg< 2.3.0-r3 | < 2.3.0-r2
Canonical1 product
- ubuntu_linuxEOL18.04
Ubuntu1 product
- openjpeg2< 2.1.2-1.1+deb9u3build0.16.04.1 | < 2.3.0-2build0.18.04.1
Uclouvain1 product
- openjpeg2.3.0
5 vendors · 6 products
References
8 links- github.com/uclouvain/openjpeg/issues/1057X Refsource MISCExploitIssue TrackingThird Party AdvisoryREPORT