CVE-2020-15389

medium

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.

References

https://github.com/uclouvain/openjpeg/issues/1261

https://pastebin.com/4sDKQ7U8

https://lists.debian.org/debian-lts-announce/2020/07/msg00008.html

https://www.oracle.com/security-alerts/cpuoct2020.html

https://security.gentoo.org/glsa/202101-29

https://www.debian.org/security/2021/dsa-4882

Details

Source: MITRE

Published: 2020-06-29

Updated: 2021-07-20

Type: CWE-416

Risk Information

CVSS v2

Base Score: 5.8

Vector: AV:N/AC:M/Au:N/C:P/I:N/A:P

Impact Score: 4.9

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H

Impact Score: 4.2

Exploitability Score: 2.2

Severity: MEDIUM