# CVE-2020-15389: 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…

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.22%, higher than 83% of CVEs (2026-12-01)
- Published: 2020-06-29T20:30:15.000Z
- Modified: 2026-06-17T02:56:36.513Z
- Weaknesses: CWE-416
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- uclouvain openjpeg: up to 2.3.1
- debian debian_linux: 9.0; 10.0
- oracle outside_in_technology: 8.5.4; 8.5.5

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:P`

## References

- <https://github.com/uclouvain/openjpeg/issues/1261> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/07/msg00008.html> (mailing-list, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2020.html> (third-party-advisory)
- <https://pastebin.com/4sDKQ7U8> (third-party-advisory)
- <https://security.gentoo.org/glsa/202101-29> (third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2021/dsa-4882> (third-party-advisory, vendor-advisory)
- <https://www.oracle.com//security-alerts/cpujul2021.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-15389](https://www.cve.org/CVERecord?id=CVE-2020-15389), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-15389](https://nvd.nist.gov/vuln/detail/CVE-2020-15389), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15389 · Whole record: https://cve.day/CVE-2020-15389.json · Rebuilt by cve.day 2026-11-25T22:57:53.191Z
