From ${URL} : 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 @maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
https://github.com/uclouvain/openjpeg/blob/v2.1.1/CHANGELOG.md " ・ Use-after-free in opj_j2k_write_mco #563" media-libs/openjpeg-2.1.1 with above fix was released on 2016-07-05.
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #1) > media-libs/openjpeg-2.1.1 with above fix was released on 2016-07-05. Maintainers need to put in summary during the call for stabilization.
*** Bug 593826 has been marked as a duplicate of this bug. ***
With the permission of the Gentoo Graphics project I pushed =media-libs/openjpeg-2.1.1_p20160922 into the tree: Actually we wanted to wait for an official v2.1.2 release but upstream postponed the release for another week. Because Gentoo is still at v2.1.0 which has some critical vulnerabilities which are allowing drive-by-download attacks we decided to do a snapshot release. This snaptshot release (based on v2.1.1) from 2016-09-22 does contain all currently published security fixes, up to CVE-2016-7445: > commit 30e68615830631059a72b52682ab81bb8b3ca153 > Author: Thomas Deutschmann > Date: Mon Sep 26 15:56:16 2016 +0200 > > media-libs/openjpeg: Bump to snapshot release based on v2.1.1 from 2016-09-22 > > Ebuild-releated changes: > ======================== > - EAPI bumped to v6 > > - Test suite re-enabled and fixed (bug #409263) > > Gentoo-Bug: https://bugs.gentoo.org/409263 > Gentoo-Bug: https://bugs.gentoo.org/577608 > Gentoo-Bug: https://bugs.gentoo.org/572430 > Gentoo-Bug: https://bugs.gentoo.org/560632 > Gentoo-Bug: https://bugs.gentoo.org/594740 > > Package-Manager: portage-2.3.1
Added to existing GLSA.
This issue was resolved and addressed in GLSA 201612-26 at https://security.gentoo.org/glsa/201612-26 by GLSA coordinator Aaron Bauman (b-man).