CVE-2020-27814 json
A heap-buffer overflow was found in the way openjpeg2 handled certain PNG format files.
published 2021-01-25 5 y ago modified 2026-07-18 3 mo ago also EUVD-2020-20315 , JLSEC-2026-535
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
A heap-buffer overflow was found in the way openjpeg2 handled certain PNG format files. An attacker could use this flaw to cause an application crash or in some cases execute arbitrary code with the permission of the user running such an application.
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-27814
- 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
- ghostscript Ubuntu 16.04 LTS 9.26~dfsg+0-0ubuntu0.16.04.14
- ghostscript Ubuntu 18.04 LTS 9.26~dfsg+0-0ubuntu0.18.04.14
ubuntu advisories UBUNTU-CVE-2020-27814
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
- openjpeg2 SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +21 more 2.3.0-150000.3.8.1
suse advisories SUSE-SU-2022:3802-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-27814
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-45072
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-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-27814 updated cvss 7.8
openjpeg: heap-buffer-overflow in lib/openjp2/mqc.c could result in DoS
-
Red Hat Enterprise Linux 7 openjpeg2, openjpeg2-toolsaffected: no fix planned “Will not fix”
-
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 6 openjpeg, openjpeg-libs 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.01% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/uclouvain/openjpeg/issues/1283 referenced PoC, tagged "exploit" by a source, unverified
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
- Weakness
-
- CWE-122 Heap-based Buffer Overflow
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1901998
issue-tracking, patch, third-party-advisory, web
-
github.com
/uclouvain/openjpeg/issues/1283
exploit, issue-tracking, 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/2021/02/msg00011.html
mailing-list, third-party-advisory, web
-
oracle.com
//security-alerts/cpujul2021.html
third-party-advisory, web
Sources
- CVE List CVE-2020-27814
- NVD CVE-2020-27814
- OSV JLSEC-2026-535
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.