Use-after-free vulnerability was found in j2k.c in opj_j2k_write_mco function. 'l_current_data' is set to 'p_j2k->m_specific_param.m_encoder.m_header_tile_data', 'p_j2k->m_specific_param.m_encoder.m_header_tile_data' is later used as arg of 'realloc' and can be freed depending on the length of 'l_mco_size', 'l_current_data' is later used and can point to a freed memory zone Upstream patch: https://github.com/uclouvain/openjpeg/commit/940100c28ae28931722290794889cf84a92c5f6f
Created openjpeg tracking bugs for this issue: Affects: fedora-all [bug 1263361]
Created mingw-openjpeg tracking bugs for this issue: Affects: fedora-all [bug 1263362]
Created openjpeg2 tracking bugs for this issue: Affects: fedora-all [bug 1263364]
CVE request: http://seclists.org/oss-sec/2015/q3/550
openjpeg2-2.1.0-6.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
openjpeg2-2.1.0-6.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
openjpeg2-2.1.0-6.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
Statement: Not vulnerable. This issue did not affect the versions of openjpeg as shipped with Red Hat Enterprise Linux 6 and 7.