Improper Input Validation Affecting openjpeg package, versions <1:1.5.2-3.1ubuntu0.1~esm2


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.61% (73rd 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-UBUNTU1604-OPENJPEG-1133692
  • published12 Jul 2025
  • disclosed13 May 2021

Introduced: 13 May 2021

CVE-2020-27824  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 openjpeg to version 1:1.5.2-3.1ubuntu0.1~esm2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openjpeg package and not the openjpeg package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

A flaw was found in OpenJPEG’s encoder in the opj_dwt_calc_explicit_stepsizes() function. This flaw allows an attacker who can supply crafted input to decomposition levels to cause a buffer overflow. The highest threat from this vulnerability is to system availability.

CVSS Base Scores

version 3.1