Out-of-bounds Write Affecting openjpeg package, versions [,2.4.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-OPENJPEG-10077965
  • published8 May 2025
  • disclosed13 May 2021
  • creditUnknown

Introduced: 13 May 2021

CVE-2020-27823  (opens in a new tab)
CWE-120  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade openjpeg to version 2.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. A flaw was found in OpenJPEG’s encoder. This flaw allows an attacker to pass specially crafted x,y offset input to OpenJPEG to use during encoding. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

CVSS Base Scores

version 3.1