jp2/opjdecompress.c in OpenJPEG through 2.3.1 has a use-after-free that can be triggered if there is a mix of valid and invalid files in a directory operated on by the decompressor. Triggering a double-free may also be possible. This is related to calling opjimage_destroy twice.
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjp2-7" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjp2-7-dbg" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjp2-7-dbgsym" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjp2-7-dev" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjp2-7-dev-dbgsym" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjp2-tools" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjp2-tools-dbgsym" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjp3d-tools" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjp3d-tools-dbgsym" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjp3d7" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjp3d7-dbgsym" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjpip-dec-server" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjpip-dec-server-dbgsym" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjpip-server" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjpip-server-dbgsym" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjpip-viewer" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjpip7" }, { "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1", "binary_name": "libopenjpip7-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjp2-7" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjp2-7-dbgsym" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjp2-7-dev" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjp2-tools" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjp2-tools-dbgsym" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjp3d-tools" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjp3d-tools-dbgsym" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjp3d7" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjp3d7-dbgsym" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjpip-dec-server" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjpip-dec-server-dbgsym" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjpip-server" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjpip-server-dbgsym" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjpip-viewer" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjpip7" }, { "binary_version": "2.3.0-2+deb10u2build0.18.04.1", "binary_name": "libopenjpip7-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjp2-7" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjp2-7-dbgsym" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjp2-7-dev" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjp2-tools" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjp2-tools-dbgsym" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjp3d-tools" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjp3d-tools-dbgsym" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjp3d7" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjp3d7-dbgsym" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjpip-dec-server" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjpip-dec-server-dbgsym" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjpip-server" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjpip-server-dbgsym" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjpip-viewer" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjpip7" }, { "binary_version": "2.3.1-1ubuntu4.20.04.1", "binary_name": "libopenjpip7-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjp2-7" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjp2-7-dbgsym" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjp2-7-dev" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjp2-tools" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjp2-tools-dbgsym" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjp3d-tools" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjp3d-tools-dbgsym" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjp3d7" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjp3d7-dbgsym" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjpip-dec-server" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjpip-dec-server-dbgsym" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjpip-server" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjpip-server-dbgsym" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjpip-viewer" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjpip7" }, { "binary_version": "2.3.1-1ubuntu5", "binary_name": "libopenjpip7-dbgsym" } ] }