Out-of-bounds Read Affecting LibRaw-static package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.08% (24th 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 Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-LIBRAWSTATIC-15927643
  • published8 Apr 2026
  • disclosed2 Apr 2026

Introduced: 2 Apr 2026

NewCVE-2026-5342  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 LibRaw-static.

NVD Description

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

A flaw has been found in LibRaw up to 0.22.0. This affects the function LibRaw::nikon_load_padded_packed_raw of the file src/decoders/decoders_libraw.cpp of the component TIFF/NEF. Executing a manipulation of the argument load_flags/raw_width can lead to out-of-bounds read. It is possible to launch the attack remotely. The exploit has been published and may be used. Upgrading to version 0.22.1 mitigates this issue. This patch is called b8397cd45657b84e88bd1202528d1764265f185c. It is advisable to upgrade the affected component.

CVSS Base Scores

version 3.1