Read the docs
TI-2018-04185 Aliases CVE-2018-5785GHSA-7pgc-fq24-w5rr

In OpenJPEG 2.3.0, there is an integer overflow caused by an out-of-bounds left shift in…

Priority LOW 33CWE-190Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.02331 83rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:uclouvain:openjpeg:2.3.0:*:*:*:*:*:*:*2.3.0VulnerableThe OpenJPEG Project
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*9.0VulnerableDebian
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*18.04VulnerableCanonical
  • cpe:2.3:a:uclouvain:openjpeg:2.3.0:*:*:*:*:*:*:* Versions 2.3.0 Vulnerable ·The OpenJPEG Project
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
  • cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical

Remediation

Red Hat 1 advisory

  • RHSA-2021:4251 Released 2021-11-09 · Red Hat rating Moderate
    openjpeg2 security update
    • Red Hat CodeReady Linux Builder (v. 8) openjpeg2-devel-2.4.0-4.el8, openjpeg2-tools-2.4.0-4.el8
    • Red Hat Enterprise Linux AppStream (v. 8) openjpeg2-2.4.0-4.el8, openjpeg2-devel-docs-2.4.0-4.el8, openjpeg2-tools-2.4.0-4.el8

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat CodeReady Linux Builder (v. 8)Fixed RHSA-2021:4251
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2021:4251
Not affected: 3 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-5785
  2. 2026-10-03 Alias added: GHSA-7pgc-fq24-w5rr

References

Sources