cve.bz

CVE-2020-15389 Use After Free

6.5 mediumEPSS 2.5%Fix available

Medium (6.5). EPSS 2.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
2.5% (unchanged from 2.5% a week ago; 2.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-15389 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15389?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15389?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-15389 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
uclouvain:openjpegthrough 2.3.1
debian:debian_linux9.0
debian:debian_linux10.0
oracle:outside_in_technology8.5.4
oracle:outside_in_technology8.5.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9openjpeg22.1.2-1.1+deb9u5DLA-2277-1
Debian10openjpeg22.3.0-2+deb10u2DSA-4882-1
Debian12, 13, 14openjpeg22.4.0-1DEBIAN-CVE-2020-15389
Ubuntu16.04:LTSopenjpeg22.1.2-1.1+deb9u5build0.16.04.1UBUNTU-CVE-2020-15389 USN-4497-1
Ubuntu18.04:LTSopenjpeg22.3.0-2+deb10u2build0.18.04.1UBUNTU-CVE-2020-15389 USN-5952-1
Ubuntu20.04:LTSopenjpeg22.3.1-1ubuntu4.20.04.1UBUNTU-CVE-2020-15389 USN-4685-1
Ubuntu22.04:LTSopenjpeg22.3.1-1ubuntu5UBUNTU-CVE-2020-15389
UbuntuPro:16.04:LTSopenjpeg22.1.2-1.1+deb9u6ubuntu0.1~esm3USN-5952-1
Red Hatenterprise_linux:8::appstreamopenjpeg2, openjpeg2-tools, openjpeg2-debuginfo and 3 more0:2.4.0-4.el8RHSA-2021:4251
Red Hatenterprise_linux:8::crbopenjpeg2-devel, openjpeg2-tools, openjpeg2-debuginfo and 2 more0:2.4.0-4.el8RHSA-2021:4251
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 19 moreopenjpeg22.3.0-150000.3.5.1SUSE-SU-2022:1252-1
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 18 moreopenjpeg1.5.2-150000.4.5.1SUSE-SU-2022:1296-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 10 moreopenjpeg22.1.0-4.15.1SUSE-SU-2022:1129-1
openSUSELeap 15.3openjpeg1.5.2-150000.4.5.1SUSE-SU-2022:1296-1
openSUSELeap 15.3openjpeg22.3.0-150000.3.5.1SUSE-SU-2022:1252-1
AlmaLinux8openjpeg2, openjpeg2-devel, openjpeg2-tools and 1 more2.4.0-4.el8ALSA-2021:4251
Rocky Linux8openjpeg20:2.4.0-4.el8RLSA-2021:4251
Alpinev3.9openjpeg2.3.0-r6ALPINE-CVE-2020-15389
Alpinev3.10, v3.11openjpeg2.3.1-r4ALPINE-CVE-2020-15389
Alpinev3.12, v3.13, v3.14 and 10 moreopenjpeg2.3.1-r5ALPINE-CVE-2020-15389
Azure Linux3openjpeg2no fix listedAZL-44193

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8openjpeg2-0:2.4.0-4.el8Fixed 2021-11-09RHSA-2021:4251
Red Hat Enterprise Linux 6openjpegOut of support scope
Red Hat Enterprise Linux 7openjpegNot affected
Red Hat Enterprise Linux 7openjpeg2Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-15389.

References

Check your stackJSON