Skip to content
Noroxi
NVD / CVE Program· CNA redhat

CVE-2020-27842: There's a flaw in openjpeg's t2 encoder in versions prior to 2.4.0.

MediumCVSS 5.5 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 22/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 1.4% (FIRST EPSS); higher than 74% of all records.
  • Someone with local access to the system can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
  • Fixed version: Azure Linux 3.0 ARM 2.3.1-12; Azure Linux 3.0 x64 2.3.1-12.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to Azure Linux 3.0 ARM 2.3.1-12; Azure Linux 3.0 x64 2.3.1-12 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

There's a flaw in openjpeg's t2 encoder in versions prior to 2.4.0. An attacker who is able to provide crafted input to be processed by openjpeg could cause a null pointer dereference. The highest impact of this flaw is to application availability.

Published
Jan 5, 2021
Updated
Jun 16, 2026
EPSS
1.4% · 74th percentile

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.4%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2020-27842

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
uclouvainopenjpeg
fedoraprojectextra packages for enterprise linux
fedoraprojectfedora
debiandebian linux
redhatcodeready linux builder
redhatcodeready linux builder for ibm z systems
redhatcodeready linux builder for power little endian
redhatenterprise linux
redhatenterprise linux for ibm z systems
redhatenterprise linux for power little endian
oracleoutside in technology

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • n/a openjpeg

    • openjpeg 2.4.0affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8openjpeg2before 2.4.0-4.el82.4.0-4.el8
AlmaLinux:8openjpeg2-develbefore 2.4.0-4.el82.4.0-4.el8
AlmaLinux:8openjpeg2-devel-docsbefore 2.4.0-4.el82.4.0-4.el8
AlmaLinux:8openjpeg2-toolsbefore 2.4.0-4.el82.4.0-4.el8
Debian:10openjpeg2before 2.3.0-2+deb10u22.3.0-2+deb10u2
Debian:12openjpeg2before 2.4.0-12.4.0-1
Debian:9openjpeg2before 2.1.2-1.1+deb9u72.1.2-1.1+deb9u7
openSUSE:Leap 15.3openjpegbefore 1.5.2-150000.4.10.11.5.2-150000.4.10.1
openSUSE:Leap 15.3openjpeg2before 2.3.0-150000.3.8.12.3.0-150000.3.8.1
Red Hat:enterprise_linux:8::appstreamopenjpeg2before 0:2.4.0-4.el80:2.4.0-4.el8
Red Hat:enterprise_linux:8::appstreamopenjpeg2-debuginfobefore 0:2.4.0-4.el80:2.4.0-4.el8
Red Hat:enterprise_linux:8::appstreamopenjpeg2-debugsourcebefore 0:2.4.0-4.el80:2.4.0-4.el8
Red Hat:enterprise_linux:8::appstreamopenjpeg2-devel-docsbefore 0:2.4.0-4.el80:2.4.0-4.el8
Red Hat:enterprise_linux:8::appstreamopenjpeg2-toolsbefore 0:2.4.0-4.el80:2.4.0-4.el8
Red Hat:enterprise_linux:8::appstreamopenjpeg2-tools-debuginfobefore 0:2.4.0-4.el80:2.4.0-4.el8
Red Hat:enterprise_linux:8::crbopenjpeg2-develbefore 0:2.4.0-4.el80:2.4.0-4.el8
Rocky Linux:8openjpeg2before 0:2.4.0-4.el80:2.4.0-4.el8
SUSE:Linux Enterprise Module for Basesystem 15 SP3openjpeg2before 2.3.0-150000.3.8.12.3.0-150000.3.8.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3openjpegbefore 1.5.2-150000.4.10.11.5.2-150000.4.10.1
SUSE:OpenStack Cloud 9openjpeg2before 2.1.0-4.18.22.1.0-4.18.2

Other highest-scoring records for the same primary product.

  • CVE-2012-3358Multiple heap-based buffer overflows in the j2k_read_sot function in j2k.c in OpenJPEG 1.5 allow remote attackers to cause a denial of…
    42Plan
  • CVE-2017-17480In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in jp3d/convert.c.
    41Plan
  • CVE-2013-4290Stack-based buffer overflow in OpenJPEG before 1.5.2 allows remote attackers to have unspecified impact via unknown vectors to (1)…
    41Plan

Published before and after this one in the same product

  • ← EarlierCVE-2020-15389Jun 29, 2020 · 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…
    27Monitor
  • ← EarlierCVE-2020-27841Jan 5, 2021 · There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c.
    22Monitor
  • Later →CVE-2020-27843Jan 5, 2021 · A flaw was found in OpenJPEG in versions prior to 2.4.0.
    23Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Azure Linux 3.0 ARM2.3.1-12 · openjpeg2Microsoft (MSRC)
Azure Linux 3.0 x642.3.1-12 · openjpeg2Microsoft (MSRC)
almalinux:openjpeg22.4.0-4.el8 · AlmaLinux:8Package registry (OSV)
almalinux:openjpeg2-devel2.4.0-4.el8 · AlmaLinux:8Package registry (OSV)
almalinux:openjpeg2-devel-docs2.4.0-4.el8 · AlmaLinux:8Package registry (OSV)
almalinux:openjpeg2-tools2.4.0-4.el8 · AlmaLinux:8Package registry (OSV)
debian:openjpeg22.4.0-1 · Debian:12Package registry (OSV)
opensuse:openjpeg1.5.2-150000.4.10.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:openjpeg22.3.0-150000.3.8.1 · openSUSE:Leap 15.3Package registry (OSV)
red hat:openjpeg20:2.4.0-4.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openjpeg2-debuginfo0:2.4.0-4.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openjpeg2-debugsource0:2.4.0-4.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openjpeg2-devel0:2.4.0-4.el8 · Red Hat:enterprise_linux:8::crbPackage registry (OSV)
red hat:openjpeg2-devel-docs0:2.4.0-4.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openjpeg2-tools0:2.4.0-4.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openjpeg2-tools-debuginfo0:2.4.0-4.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
rocky linux:openjpeg20:2.4.0-4.el8 · Rocky Linux:8Package registry (OSV)
suse:openjpeg1.5.2-150000.4.10.1 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP3Package registry (OSV)
suse:openjpeg22.1.0-4.18.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:openjpeg22.3.0-150000.3.8.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP3Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

Weakness class (CWE)

CWE-125 · Out-of-bounds Read

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

References

All records