CVE-2020-15389

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.

Published: 2020-06-29 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2020-15389 is rated Moderate Risk (55.4/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.60%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2020-15389

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-19 2.43% 2.60% +0.18%
2 2026-06-15 0.72% 2.43% +1.71%
3 2026-05-30 0.72%

Full EPSS history (23 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2020-15389

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.2 4.2 [email protected]
5.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 4.9 [email protected]

Weakness enumeration for CVE-2020-15389

OS Trackers for CVE-2020-15389

vendor priority summary link
alpine medium CVE-2020-15389: 1 source package rows (openjpeg); 55 state rows across 10 repos (3.10-main, 3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 15, open 40. https://security.alpinelinux.org/vuln/CVE-2020-15389
debian not yet assigned CVE-2020-15389 not yet assigned priority: Debian including 1 source packages (openjpeg2), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2020-15389
gentoo normal CVE-2020-15389: 1 GLSA(s) (202101-29), 1 atom(s) (media-libs/openjpeg); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2020-15389
redhat medium https://access.redhat.com/security/cve/CVE-2020-15389
suse medium CVE-2020-15389 severity moderate: SUSE including 43 source package names (0.3.2-1.2:libopenjp2-7-2.3.0-150000.3.5.1, 0.3.32-3.4:libopenjp2-7-2.3.0-150000.3.5.1, …), 411 product×package rows across 126 product lines (Container containers/lmcache-vllm-openai, Container containers/open-webui, … (126 product lines)): Known Not Affected 212, Fixed 199. https://www.suse.com/security/cve/CVE-2020-15389/
ubuntu low CVE-2020-15389 low priority: Ubuntu including 3 source packages (ghostscript, openjpeg, openjpeg2), 34 status rows across 12 suites (bionic, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, trusty, upstream, xenial): DNE 11, not-affected 11, released 10, needs-triage 2. https://ubuntu.com/security/CVE-2020-15389

Affected software / configurations for CVE-2020-15389

Vendor Product Version Raw CPE
uclouvain openjpeg <= 2.3.1 cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
oracle outside_in_technology 8.5.4 cpe:2.3:a:oracle:outside_in_technology:8.5.4:*:*:*:*:*:*:*
oracle outside_in_technology 8.5.5 cpe:2.3:a:oracle:outside_in_technology:8.5.5:*:*:*:*:*:*:*

References for CVE-2020-15389

cvelogic Threat Intelligence