VDB
CVE-2026-5342
CVE-2026-5342
PUBLISHED
CVSS 5.5 MEDIUM
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.
EPSS 0.74% · 52.9th percentile
Risk Scores
CVSS 4.0
5.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score
0.74%
52.9th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| n/a | LibRaw | 0.1, 0.2, 0.3 |
Timeline
- Apr 2, 2026 CVE Published
- Apr 2, 2026 Security Advisory
- Apr 3, 2026 EPSS Score
- Apr 7, 2026 CVE Updated
- May 18, 2026 EPSS Score
- May 19, 2026 EPSS Score
- May 20, 2026 EPSS Score
- May 21, 2026 EPSS Score
- May 22, 2026 EPSS Score
- May 23, 2026 EPSS Score
- May 24, 2026 EPSS Score
- May 25, 2026 EPSS Score
References
- https://github.com/biniamf/pocs/tree/main/libraw_nikonpadded exploit
- https://github.com/LibRaw/LibRaw/commit/b8397cd45657b84e88bd1202528d1764265f185c fix
- https://github.com/LibRaw/LibRaw/issues/795#issuecomment-4073769886 discussion
- https://github.com/LibRaw/LibRaw/issues/795 discussion
- VDB-354671 | LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds vdb
- VDB-354671 | CTI Indicators (IOB, IOC, IOA) url
- Submit #781223 | LibRaw 0.22.0 Out-of-Bounds Read third-party-advisory
- https://github.com/LibRaw/LibRaw/ url
- https://nvd.nist.gov/vuln/detail/CVE-2026-5342 advisory
- https://github.com/LibRaw/LibRaw url