Improper Input Validation 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.8% (75th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-OPENJPEG-10077937
  • published8 May 2025
  • disclosed5 Jan 2021
  • creditUnknown

Introduced: 5 Jan 2021

CVE-2020-27844  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-20  (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 Improper Input Validation. 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.

CVSS Base Scores

version 3.1