All reports
Medium

openjpeg: use-after-free and double-free via a mix of valid and invalid files in a directory operated on by the decompressor

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2020-15389

Probability of exploitation in the next 30 days: 2.49%

FIRST EPSS · 2026-11-23

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.