CVE-2026-5342

MEDIUM

LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds

Title source: cna

Description

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.

Scores

CVSS v3 5.3
EPSS 0.0008
EPSS Percentile 23.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-119 CWE-125
Status published
Products (23)
None/LibRaw 0.1
None/LibRaw 0.10
None/LibRaw 0.11
None/LibRaw 0.12
None/LibRaw 0.13
None/LibRaw 0.14
None/LibRaw 0.15
None/LibRaw 0.16
None/LibRaw 0.17
None/LibRaw 0.18
... and 13 more
Published Apr 02, 2026
Tracked Since Apr 02, 2026