Out-of-bounds Read Affecting LibRaw package, versions <0:0.19.4-1.amzn2.0.5


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.06% (17th 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-AMZN2-LIBRAW-12079429
  • published21 Aug 2025
  • disclosed21 Apr 2025

Introduced: 21 Apr 2025

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

How to fix?

Upgrade Amazon-Linux:2 LibRaw to version 0:0.19.4-1.amzn2.0.5 or higher.
This issue was patched in ALAS2-2025-2974.

NVD Description

Note: Versions mentioned in the description apply only to the upstream LibRaw package and not the LibRaw package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

In LibRaw before 0.21.4, phase_one_correct in decoders/load_mfbacks.cpp has out-of-bounds reads for tag 0x412 processing, related to large w0 or w1 values or the frac and mult calculations.

CVSS Base Scores

version 3.1