Division by zero Affecting leptonica package, versions [,1.80.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.55% (76th 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-UNMANAGED-LEPTONICA-3021167
  • published11 Sept 2022
  • disclosed11 Sept 2022
  • creditUnknown

Introduced: 11 Sep 2022

CVE-2022-38266  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade leptonica to version 1.80.0 or higher.

Overview

Affected versions of this package are vulnerable to Division by zero via the pixBlockconvGray function which allows attackers to cause an arithmetic exception via a crafted JPEG file.

CVSS Base Scores

version 3.1