CVE-2026-5342
MEDIUMLibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds
Title source: cnaDescription
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.
References (9)
Core 9
Core References
Vdb Entry, Technical Description vdb-entry
technical-description
VDB-354671 | LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds
https://vuldb.com/vuln/354671
Signature, Permissions Required signature
permissions-required
VDB-354671 | CTI Indicators (IOB, IOC, IOA)
https://vuldb.com/vuln/354671/cti
Third Party Advisory third-party-advisory
Submit #781223 | LibRaw 0.22.0 Out-of-Bounds Read
https://vuldb.com/submit/781223
Issue Tracking issue-tracking
https://github.com/LibRaw/LibRaw/issues/795
Issue Tracking issue-tracking
https://github.com/LibRaw/LibRaw/issues/795#issuecomment-4073769886
Exploit exploit
https://github.com/biniamf/pocs/tree/main/libraw_nikonpadded
Product product
https://github.com/LibRaw/LibRaw/
Scores
CVSS v3
5.3
EPSS
0.0073
EPSS Percentile
49.5%
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 (24)
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 14 more
Published
Apr 02, 2026
Tracked Since
Apr 02, 2026