CVE-2017-14164 json
A size-validation issue was discovered in opj_j2k_write_sot in lib/openjp2/j2k.c in OpenJPEG 2.2.0.
published 9y ago modified 4mo ago also EUVD-2017-5674
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.4%
- EPSS 5.4% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
A size-validation issue was discovered in opj_j2k_write_sot in lib/openjp2/j2k.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_write_bytes_LE in lib/openjp2/cio.c) or possibly remote code execution. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-14152.
Patch / fix
- uclouvain openjpeg 2.3.0
- openjpeg2 Ubuntu 16.04 LTS 2.1.2-1.1+deb9u2build0.1
ubuntu advisories UBUNTU-CVE-2017-14164
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 SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +4 more 2.1.0-4.6.1
suse advisories SUSE-SU-2017:2649-1
- openjpeg2 Package Hub 12 SP1, Package Hub 12 2.1.0-9.1
opensuse advisories openSUSE-SU-2017:2685-1openSUSE-SU-2017:2686-1
- openjpeg Alpine 3.24, Alpine 3.23, Alpine 3.22 +15 more 2.2.0-r2
- openjpeg Alpine 3.6, Alpine 3.5, Alpine 3.4 +1 more 2.2.0-r0
alpine advisories ALPINE-CVE-2017-14164
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2017-14164 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-14164 updated cvss 5.3
openjpeg2: Heap-based buffer overflow in opj_write_bytes_LE
-
Red Hat Enterprise Linux 6 openjpeg, openjpeg-libs Red Hat Enterprise Linux 7 openjpeg, openjpeg-libsaffected: no fix planned “Will not fix”
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
5.44% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/uclouvain/openjpeg/commit/dcac91b8c72f743bda7dbfa9032356bc8110098a referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
References
-
github.com
/uclouvain/openjpeg/commit/dcac91b8c72f743bda7dbfa9032356bc8110098a
exploit, issue-tracking, patch, third-party-advisory
-
blogs.gentoo.org
/ago/2017/09/06/heap-based-buffer-overflow-in-opj_write_bytes_le-cio-c-incomplete-fix-for-cve-2017-14152/
patch, third-party-advisory, vdb-entry
-
github.com
/uclouvain/openjpeg/issues/991
issue-tracking, patch, third-party-advisory
-
security.gentoo.org
/glsa/201710-26
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/100677
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2017-14164
- NVD CVE-2017-14164
Fencer Intel 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.