CVE-2020-15389 json
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…
published 2020-06-29 6 y ago modified 2026-07-25 3 mo ago also EUVD-2020-7384 , JLSEC-2026-534
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia OpenJpeg_jll 2.4.0+0
- openjpeg2 Debian 14, Debian 13, Debian 12 2.4.0-1
debian advisories DEBIAN-CVE-2020-15389
- openjpeg2 Ubuntu 16.04 LTS 2.1.2-1.1+deb9u5build0.16.04.1
- openjpeg2 Ubuntu 18.04 LTS 2.3.0-2+deb10u2build0.18.04.1
- openjpeg2 Ubuntu 20.04 LTS 2.3.1-1ubuntu4.20.04.1
- openjpeg2 Ubuntu 22.04 LTS 2.3.1-1ubuntu5
ubuntu advisories UBUNTU-CVE-2020-15389
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- openjpeg2 RHEL 8 2.4.0-4.el8
- openjpeg2-tools RHEL 8 2.4.0-4.el8
red hat advisories RHSA-2021:4251
- openjpeg SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +19 more 1.5.2-150000.4.5.1
- openjpeg2 SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +20 more 2.3.0-150000.3.5.1
- openjpeg2 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +10 more 2.1.0-4.15.1
suse advisories SUSE-SU-2022:1296-1SUSE-SU-2022:1252-1SUSE-SU-2022:1129-1
- openjpeg2 AlmaLinux 8 2.4.0-4.el8
- openjpeg2-tools AlmaLinux 8 2.4.0-4.el8
almalinux advisories ALSA-2021:4251
- openjpeg2 Rocky Linux 8 2.4.0-4.el8
rocky linux advisories RLSA-2021:4251
- openjpeg Alpine 3.11, Alpine 3.10 2.3.1-r4
- openjpeg Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 2.3.1-r5
- openjpeg Alpine 3.9 2.3.0-r6
alpine advisories ALPINE-CVE-2020-15389
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- openjpeg2 Arch Linux 2.4.0-1
arch linux advisories AVG-1339
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-15389 updated cvss 6.5
openjpeg: use-after-free and double-free via a mix of valid and invalid files in a directory operated on by the decompressor
-
Red Hat Enterprise Linux 6 openjpeg, openjpeg-libsaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 openjpeg2, openjpeg2-toolsaffected: no fix available “Fix deferred”
-
Red Hat CodeReady Linux Builder (v. 8) openjpeg2-tools 2.4.0-4.el8 Red Hat Enterprise Linux AppStream (v. 8) openjpeg2 2.4.0-4.el8, openjpeg2-tools 2.4.0-4.el8fixed: vendor fix RHSA-2021:4251
-
Red Hat Enterprise Linux 7 openjpeg, openjpeg-libsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.43% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:N/A:P |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | OpenJpeg_jll | <2.4.0+0 |
2.4.0+0 |
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/uclouvain/openjpeg/issues/1261
patch, third-party-advisory, web
-
security.gentoo.org
/glsa/202101-29
vendor-advisory, third-party-advisory, web
-
debian.org
/security/2021/dsa-4882
vendor-advisory, third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2020/07/msg00008.html
mailing-list, third-party-advisory, web
-
oracle.com
/security-alerts/cpuoct2020.html
third-party-advisory, web
-
pastebin.com
/4sDKQ7U8
third-party-advisory, web
-
oracle.com
//security-alerts/cpujul2021.html
third-party-advisory, web
Sources
- CVE List CVE-2020-15389
- NVD CVE-2020-15389
- OSV JLSEC-2026-534
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.