CVE-2020-27823 json
A flaw was found in OpenJPEG’s encoder.
published 2021-05-13 5 y ago modified 2026-07-18 3 mo ago also EUVD-2020-20323 , JLSEC-2026-536
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
A flaw was found in OpenJPEG’s encoder. This flaw allows an attacker to pass specially crafted x,y offset input to OpenJPEG to use during encoding. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
Patch / fix
- julia OpenJpeg_jll 2.4.0+0
- uclouvain openjpeg 2.4.0
- openjpeg2 Debian 14, Debian 13, Debian 12 2.4.0-1
debian advisories DEBIAN-CVE-2020-27823
- openjpeg2 Ubuntu 16.04 LTS 2.1.2-1.1+deb9u6build0.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-27823
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-r5
- openjpeg Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 2.3.1-r6
alpine advisories ALPINE-CVE-2020-27823
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 Azure Linux 3.0 2.3.1-12
azure linux advisories AZL-44814
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- openjpeg2 Arch Linux 2.4.0-1
arch linux advisories AVG-1980
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-27823 updated cvss 7.8
openjpeg: heap-buffer-overflow write in opj_tcd_dc_level_shift_encode()
-
Red Hat Enterprise Linux 6 openjpeg, openjpeg-libs Red Hat Enterprise Linux 7 openjpeg, openjpeg2, openjpeg-libs, openjpeg2-toolsaffected: workaround, no fix planned “This flaw can be mitigated by not using openjpeg to convert untrusted image files.”
-
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 “This flaw can be mitigated by not using openjpeg to convert untrusted image files.” RHSA-2021:4251
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
1.06% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | OpenJpeg_jll | <2.4.0+0 |
2.4.0+0 |
Affected products
- n/a openjpeg
Classification
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1905762
issue-tracking, patch, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/OQR4EWRFFZQDMFPZKFZ6I3USLMW6TKTP/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/WJUPGIZE6A4O52EBOF75MCXJOL6MUCRV/
vendor-advisory, web
-
debian.org
/security/2021/dsa-4882
vendor-advisory, third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2021/02/msg00011.html
mailing-list, third-party-advisory, web
Sources
- CVE List CVE-2020-27823
- NVD CVE-2020-27823
- OSV JLSEC-2026-536
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.