CVE-2026-5342
Medium · 5.3CVSS
5.3
EPSS
1.0%
Published
Apr 2, 2026
CISA due date
—
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| openSUSE:Leap 16.0 | libraw | 0 | 0.21.4-160000.3.1 |
| openSUSE:Tumbleweed | libraw | 0 | 0.22.1-1.1 |
Related vulnerabilities
- CVE-2026-24660 A heap-based buffer overflow vulnerability exists in the x3f_load_huffman functionality… Also affects libraw
- CVE-2026-24450 An integer overflow vulnerability exists in the uncompressed_fp_dng_load_raw… Also affects libraw
- CVE-2026-21413 A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw… Also affects libraw
- CVE-2026-20884 An integer overflow vulnerability exists in the deflate_dng_load_raw functionality of… Also affects libraw
- CVE-2026-20911 A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality… Also affects libraw
- CVE-2026-20889 A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader functionality… Also affects libraw
- CVE-2026-112108 A vulnerability was determined in ztxz16 fastllm up to 0.1.8.2. CWE-119
- CVE-2026-112073 A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dc… CWE-119