Medium severity5.3NVD Advisory· Published Apr 2, 2026· Updated Apr 29, 2026
CVE-2026-5342
CVE-2026-5342
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.
Affected products
1Patches
1b8397cd45657https://github.com/LibRaw/LibRawvia nvd-ref
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
8- github.com/LibRaw/LibRaw/commit/b8397cd45657b84e88bd1202528d1764265f185cnvdPatch
- github.com/biniamf/pocs/tree/main/libraw_nikonpaddednvdExploitThird Party Advisory
- vuldb.com/submit/781223nvdExploitThird Party AdvisoryVDB Entry
- vuldb.com/vuln/354671nvdThird Party AdvisoryVDB Entry
- github.com/LibRaw/LibRaw/issues/795nvdIssue Tracking
- github.com/LibRaw/LibRaw/issues/795nvdIssue Tracking
- github.com/LibRaw/LibRaw/releases/tag/0.22.1nvdProductRelease Notes
- vuldb.com/vuln/354671/ctinvdPermissions RequiredVDB Entry
News mentions
0No linked articles in our index yet.