cve.bz

CVE-2020-27844 Improper Input Validation

7.8 highEPSS 1.4%Fix available

High (7.8). EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in openjpeg's src/lib/openjp2/t2.c in versions prior to 2.4.0. This flaw allows an attacker to provide crafted input to openjpeg during conversion and encoding, causing an out-of-bounds write. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 73rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
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-27844 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-27844?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-27844?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-27844 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:openjpegbefore 2.4.0
debian:debian_linux9.0
oracle:outside_in_technology8.5.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 1 moreinsighttoolkit4no fix listedUBUNTU-CVE-2020-27844
SUSEPackage Hub 15 SP2chromium89.0.4389.72-bp152.2.62.1openSUSE-SU-2021:0401-1
openSUSELeap 15.2chromium89.0.4389.72-lp152.2.77.1openSUSE-SU-2021:0392-1
openSUSETumbleweedchromium113.0.5672.92-1.1openSUSE-SU-2024:12948-1
openSUSETumbleweedchromium93.0.4577.82-1.1openSUSE-SU-2024:10681-1
Alpinev3.10, v3.11, v3.12 and 12 moreopenjpeg2.4.0-r0ALPINE-CVE-2020-27844
Alpinev3.14, v3.15, v3.16 and 7 moreqt5-qtwebengine5.15.3_git20200401-r0ALPINE-CVE-2020-27844
Alpinev3.14, v3.15, v3.16 and 8 morechromium89.0.4389.72-r0ALPINE-CVE-2020-27844
Azure Linux3openjpeg2no fix listedAZL-44178

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; 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: Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

This flaw can be mitigated by not converting or encoding untrusted input data using openjpeg. For example, just reading a file with openjpeg does not trigger the flaw. Additionally, the fortify protection limits the degree of exploitation that the flaw could be used to achieve.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6openjpegOut of support scope
Red Hat Enterprise Linux 7openjpegOut of support scope
Red Hat Enterprise Linux 7openjpeg2Out of support scope
Red Hat Enterprise Linux 8openjpeg2Not affected

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-27844.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON