synced 3 MIN AGO
01 Record

CVE-2018-5785

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

UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector

02 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

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
2.33% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 83.0% of scored records. A rank, not a probability.
NVD base score
6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Low. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2018-01-19 08:00Z8 YR AGO
Last updated
2024-08-05 05:47Z2 YR AGO
Reserved
2018-01-19
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-190Integer Overflow or WraparoundBase
Data version
5.1
Document digest
30453f883ae0c37ec89867db3f894d89f1031a78d9ea86a8d52ced7cbac012c4

05 Affected products

VendorProductVersionsPlatforms
canonicalubuntu_linuxNot specified—
debiandebian_linuxNot specified—
redhatenterprise_linuxNot specified—
uclouvainopenjpegNot specified—

06 References

07 Fixed in

AlmaLinux 8

  • openjpeg2
    Fixed in 2.4.0-4.el8
  • openjpeg2-devel
    Fixed in 2.4.0-4.el8
  • openjpeg2-devel-docs
    Fixed in 2.4.0-4.el8
  • openjpeg2-tools
    Fixed in 2.4.0-4.el8

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • openjpeg2
    Fixed in 2.4.0-4.el8
  • openjpeg2-devel
    Fixed in 2.4.0-4.el8
  • openjpeg2-devel-docs
    Fixed in 2.4.0-4.el8
  • openjpeg2-tools
    Fixed in 2.4.0-4.el8

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • openjpeg2
    Fixed in 2.3.0-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • openjpeg2
    Fixed in 2.3.0-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • openjpeg2
    Fixed in 2.3.0-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • openjpeg2
    Fixed in 2.1.2-1.1+deb9u3build0.16.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • openjpeg2
    Fixed in 2.3.0-2build0.18.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.