Divide By Zero 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
3.32% (89th 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-1225203
  • published21 Mar 2026
  • disclosed30 Aug 2017

Introduced: 30 Aug 2017

CVE-2016-10506  (opens in a new tab)
CWE-369  (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.

Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and opj_pi_next_rpcl in pi.c in OpenJPEG before 2.2.0 allow remote attackers to cause a denial of service (application crash) via crafted j2k files.