CVE-2020-15389
openjpeg: use-after-free and double-free via a mix of valid and invalid files in a directory operated on by the decompressor
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 28, 2020
Updated · June 27, 2026
Description
jp2/opj_decompress.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 opj_image_destroy twice.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.5CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
CWE-825 · Expired Pointer Dereference