VDB

CVE-2020-27845

CVE-2020-27845 PUBLISHED CVSS 5.5 MEDIUM

Reported by redhat · Published January 5, 2021

There's a flaw in src/lib/openjp2/pi.c of openjpeg in versions prior to 2.4.0. If an attacker is able to provide untrusted input to openjpeg's conversion/encoding functionality, they could cause an out-of-bounds read. The highest impact of this flaw is to application availability.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
openjpeg2Amazon Linux2.4.0-4.amzn2
openjpegconan.io2.4.0
openjpeguclouvain2.4.0
openjpeg2Ubuntu:22.04:LTS2.3.1-1ubuntu5
openjpeg2Ubuntu:18.04:LTS2.3.0-2+deb10u2build0.18.04.1
openjpeg2Ubuntu:20.04:LTS2.3.1-1ubuntu4.20.04.1
ghostscriptUbuntu:16.04:LTS9.26~dfsg+0-0ubuntu0.16.04.14
openjpeg2Ubuntu:16.04:LTS2.1.2-1.1+deb9u6build0.16.04.1

Risk scores

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

Affected products

VendorProductVersions
n/aopenjpegopenjpeg 2.4.0
amazon:2openjpeg20
ConanCenteropenjpeg0
amazon:2openjpeg2-devel-docs0
amazon:2openjpeg2-tools0
n/aopenjpeg2.4.0
archopenjpeg20
amazon:2openjpeg2-devel0

Timeline

  • Dec 29, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Aug 4, 2024 CVE Updated
  • Mar 6, 2026 Distribution Patch (6 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (8 in total, the first dated here)
  • Sep 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-27845
vulnetix vdb fixes CVE-2020-27845

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-27845/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›