Vulnerability · Published Jan 5, 2021 · Assigned by redhat
CVE-2020-27841
Medium 5.5
In plain English
A medium-severity heap buffer overflow in openjpeg. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)1.5%top 26.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | openjpeg2 | 2.4.0-1 | DEBIAN-CVE-2020-27841 |
| Debian:13 | openjpeg2 | 2.4.0-1 | DEBIAN-CVE-2020-27841 |
| Debian:14 | openjpeg2 | 2.4.0-1 | DEBIAN-CVE-2020-27841 |
| Ubuntu:22.04:LTS | openjpeg2 | 2.3.1-1ubuntu5 | UBUNTU-CVE-2020-27841 |
| Ubuntu:25.10 | qtwebengine-opensource-src | no fix listed | UBUNTU-CVE-2020-27841 |
| Ubuntu:26.10 | qtwebengine-opensource-src | no fix listed | UBUNTU-CVE-2020-27841 |
Affected products (as reported)
Weakness: CWE-122
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1907510 x_refsource_MISC
- FEDORA-2020-d32853a28d vendor-advisory, x_refsource_FEDORA
- GLSA-202101-29 vendor-advisory, x_refsource_GENTOO
- [debian-lts-announce] 20210208 [SECURITY] [DLA 2550-1] openjpeg2 security update mailing-list, x_refsource_MLIST
- DSA-4882 vendor-advisory, x_refsource_DEBIAN
- https://www.oracle.com/security-alerts/cpuApr2021.html x_refsource_MISC
- https://www.oracle.com//security-alerts/cpujul2021.html x_refsource_MISC