{"id":"CVE-2017-14164","published":"2017-09-06T18:00:00Z","modified":"2024-08-05T19:20:41Z","title":"A size-validation issue was discovered in opj_j2k_write_sot in lib/openjp2/j2k.c in OpenJPEG 2.2.0","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05437,"percentile":0.92912,"provenance":"source"},"cwes":[],"references":[{"url":"https://security.gentoo.org/glsa/201710-26","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://blogs.gentoo.org/ago/2017/09/06/heap-based-buffer-overflow-in-opj_write_bytes_le-cio-c-incomplete-fix-for-cve-2017-14152/","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/100677","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://github.com/uclouvain/openjpeg/commit/dcac91b8c72f743bda7dbfa9032356bc8110098a","tags":["x_refsource_MISC"]},{"url":"https://github.com/uclouvain/openjpeg/issues/991","tags":["x_refsource_MISC"]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":18.58}]},"summary":{"text":"A size-validation flaw in the opj_j2k_write_sot function in lib/openjp2/j2k.c of OpenJPEG 2.2.0, an open-source JPEG 2000 codec library, causes an out-of-bounds write (a heap-based buffer overflow affecting opj_write_bytes_LE in lib/openjp2/cio.c) that arises from an incomplete fix for an earlier issue. An attacker who can supply crafted input to an application using the affected code may trigger a remote denial of service or possibly remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:09:12Z"},"euvd":{"id":"EUVD-2017-5674","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2017-14039-family-cve-2017-14039","parents":[{"from":"CVE-2017-14152","to":"CVE-2017-14164","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-14152.","from":"CVE.org","in":"CVE-2017-14164"},{"kind":"same-code","provenance":"machine","files":["src/lib/openjp2/j2k.c"],"commits":["https://github.com/uclouvain/openjpeg/commit/4241ae6fbbf1de9658764a80944dc8108f2b4154","https://github.com/uclouvain/openjpeg/commit/dcac91b8c72f743bda7dbfa9032356bc8110098a"],"basis":"shared file"}]},{"from":"CVE-2017-14039","to":"CVE-2017-14164","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/lib/openjp2/j2k.c"],"commits":["https://github.com/uclouvain/openjpeg/commit/c535531f03369623b9b833ef41952c62257b507e","https://github.com/uclouvain/openjpeg/commit/dcac91b8c72f743bda7dbfa9032356bc8110098a"],"basis":"shared function","functions":["opj_j2k_write_sot"]}]}]}}