Out-of-bounds Read Affecting libraw package, versions [,0.21.4)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.02% (3rd 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-LIBRAW-9801443
  • published23 Apr 2025
  • disclosed21 Apr 2025
  • creditUnknown

Introduced: 21 Apr 2025

NewCVE-2025-43962  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade libraw to version 0.21.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read due to the phase_one_correct function. An attacker can read data outside the intended buffer boundaries by manipulating the w0 or w1 values or the frac and mult calculations.

CVSS Base Scores

version 4.0
version 3.1