Integer Underflow (Wrap or Wraparound) Affecting libjxl/libjxl package, versions [,0.8.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (43rd 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-LIBJXLLIBJXL-5711969
  • published19 Jun 2023
  • disclosed19 Jun 2023
  • creditUnknown

Introduced: 19 Jun 2023

CVE-2023-35790  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade libjxl/libjxl to version 0.8.2 or higher.

Overview

Affected versions of this package are vulnerable to Integer Underflow (Wrap or Wraparound) in the PatchDictionary::Decode() function in dec_patch_dictionary.cc, when the start + size value for a given patch is negative.

CVSS Scores

version 3.1