# CVE-2020-27841: There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.45%, higher than 74% of CVEs (2026-12-01)
- Published: 2021-01-05T17:18:51.000Z
- Modified: 2026-06-17T03:09:43.240Z
- Weaknesses: CWE-122, CWE-787
- Assigned by: redhat

## Description

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.

(As written by CVE List.)

## Affected

- openjpeg: openjpeg 2.4.0
- uclouvain openjpeg: before 2.4.0
- fedoraproject fedora: 32
- debian debian_linux: 9.0; 10.0
- oracle outside_in_technology: 8.5.5

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1907510> (issue-tracking, patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WJUPGIZE6A4O52EBOF75MCXJOL6MUCRV/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202101-29> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/02/msg00011.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2021/dsa-4882> (third-party-advisory, vendor-advisory)
- <https://www.oracle.com/security-alerts/cpuApr2021.html> (patch, third-party-advisory)
- <https://www.oracle.com//security-alerts/cpujul2021.html> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2020-27841](https://www.cve.org/CVERecord?id=CVE-2020-27841), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-27841](https://nvd.nist.gov/vuln/detail/CVE-2020-27841), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-27841 · Whole record: https://cve.day/CVE-2020-27841.json · Rebuilt by cve.day 2026-11-25T22:57:56.865Z
