Skip to content
Fencer Vulns
medium 5.5

CVE-2018-6616 json

In OpenJPEG 2.3.0, there is excessive iteration in the opj_t1_encode_cblks function of openjp2/t1.c.

published 2018-02-04 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-18363

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.6%
EPSS 1.6% chance of exploitation in 30 days, percentile 76%
public exploits
0
none known

Summary

In OpenJPEG 2.3.0, there is excessive iteration in the opj_t1_encode_cblks function of openjp2/t1.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.

Patch / fix

  • openjpeg2 Debian 14, Debian 13, Debian 12 2.3.0-2

debian advisories DEBIAN-CVE-2018-6616

  • openjpeg2 Ubuntu 16.04 LTS 2.1.2-1.1+deb9u3build0.16.04.1
  • openjpeg2 Ubuntu 18.04 LTS 2.3.0-2build0.18.04.1

ubuntu advisories UBUNTU-CVE-2018-6616

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openjpeg2 RHEL 8 2.3.1-1.el8
  • openjpeg2-tools RHEL 8 2.3.1-1.el8
  • openjpeg2 RHEL 7 2.3.1-1.el7
  • openjpeg2-tools RHEL 7 2.3.1-1.el7

red hat advisories RHBA-2019:3408RHEA-2019:2270

  • openjpeg2 SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +20 more 2.3.0-150000.3.5.1

suse advisories SUSE-SU-2022:1252-1

  • ghostscript openSUSE Tumbleweed 9.54.0-2.2

opensuse advisories openSUSE-SU-2024:10783-1

  • openjpeg Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 2.3.0-r2
  • openjpeg Alpine 3.8, Alpine 3.7, Alpine 3.6 2.3.0-r1

alpine advisories ALPINE-CVE-2018-6616

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-6616 updated cvss 3.3

openjpeg2: Excessive iteration in openjp2/t1.c:opj_t1_encode_cblks can allow for denial of service via crafted BMP file

  • Red Hat CodeReady Linux Builder (v. 8) openjpeg2 2.3.1-1.el8, openjpeg2-tools 2.3.1-1.el8 Red Hat Enterprise Linux AppStream (v. 8) openjpeg2 2.3.1-1.el8, openjpeg2-tools 2.3.1-1.el8
    fixed: vendor fix RHBA-2019:3408
  • Red Hat Enterprise Linux Client (v. 7) openjpeg2 2.3.1-1.el7, openjpeg2-tools 2.3.1-1.el7 Red Hat Enterprise Linux Client Optional (v. 7) openjpeg2 2.3.1-1.el7, openjpeg2-tools 2.3.1-1.el7 Red Hat Enterprise Linux ComputeNode (v. 7) openjpeg2 2.3.1-1.el7, openjpeg2-tools 2.3.1-1.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) openjpeg2 2.3.1-1.el7, openjpeg2-tools 2.3.1-1.el7 Red Hat Enterprise Linux Server (v. 7) openjpeg2 2.3.1-1.el7, openjpeg2-tools 2.3.1-1.el7 Red Hat Enterprise Linux Server Optional (v. 7) openjpeg2 2.3.1-1.el7, openjpeg2-tools 2.3.1-1.el7
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 7) openjpeg2 2.3.1-1.el7, openjpeg2-tools 2.3.1-1.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) openjpeg2 2.3.1-1.el7, openjpeg2-tools 2.3.1-1.el7
    fixed: vendor fix RHEA-2019:2270

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.63% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/uclouvain/openjpeg/issues/1059 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.