CVE-2026-5342 LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds
MediumCVSS 6.9
EPSS 0.76%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| LibRaw | = 0.1 | No fix listed |
| LibRaw | = 0.2 | No fix listed |
| LibRaw | = 0.3 | No fix listed |
| LibRaw | = 0.4 | No fix listed |
| LibRaw | = 0.5 | No fix listed |
| LibRaw | = 0.6 | No fix listed |
| LibRaw | = 0.7 | No fix listed |
| LibRaw | = 0.8 | No fix listed |
| LibRaw | = 0.9 | No fix listed |
| LibRaw | = 0.10 | No fix listed |
| LibRaw | = 0.11 | No fix listed |
| LibRaw | = 0.12 | No fix listed |
| LibRaw | = 0.13 | No fix listed |
| LibRaw | = 0.14 | No fix listed |
| LibRaw | = 0.15 | No fix listed |
| LibRaw | = 0.16 | No fix listed |
| LibRaw | = 0.17 | No fix listed |
| LibRaw | = 0.18 | No fix listed |
| LibRaw | = 0.19 | No fix listed |
| LibRaw | = 0.20 | No fix listed |
| LibRaw | = 0.21 | No fix listed |
| LibRaw | = 0.22.0 | No fix listed |
| debian/libraw(Debian:12) | < 0.20.2-2.1+deb12u2 | 0.20.2-2.1+deb12u2 |
| debian/libraw(Debian:12) | = 0.20.2-2.1 | No fix listed |
| debian/libraw(Debian:12) | = 0.20.2-2.1+deb12u1 | No fix listed |
Show 44 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libraw(Debian:13) | < 0.21.4-2+deb13u1 | 0.21.4-2+deb13u1 |
| debian/libraw(Debian:13) | = 0.21.4-2 | No fix listed |
| debian/libraw(Debian:14) | < 0.22.1-1 | 0.22.1-1 |
| debian/libraw(Debian:14) | = 0.21.4-2 | No fix listed |
| debian/libraw(Debian:14) | = 0.21.4-3~exp1 | No fix listed |
| debian/libraw(Debian:14) | = 0.21.4-3~exp2 | No fix listed |
| debian/libraw(Debian:14) | = 0.21.5b-1 | No fix listed |
| debian/libraw(Debian:14) | = 0.22.0-1~exp1 | No fix listed |
| debian/libraw(Debian:14) | = 0.22.1-1~exp1 | No fix listed |
| debian/libraw(Debian:14) | = 0.22.1-1~exp2 | No fix listed |
| redhat/libraw1394(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/LibRaw(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/libraw1394(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/LibRaw(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/libraw1394(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/LibRaw(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| ubuntu/darktable(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/dcraw(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/exactimage(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/kodi(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libraw(Ubuntu:22.04) | < 0.20.2-2ubuntu2.22.04.3 | 0.20.2-2ubuntu2.22.04.3 |
| ubuntu/rawtherapee(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/digikam(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/darktable(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/dcraw(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/digikam(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/exactimage(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/kodi(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libraw(Ubuntu:24.04) | < 0.21.2-2.1ubuntu0.24.04.2 | 0.21.2-2.1ubuntu0.24.04.2 |
| ubuntu/rawtherapee(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/darktable(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/dcraw(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/digikam(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/exactimage(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/kodi(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libraw(Ubuntu:26.04) | < 0.21.5b-1ubuntu1.1 | 0.21.5b-1ubuntu1.1 |
| ubuntu/rawtherapee(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/darktable(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/dcraw(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/digikam(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/exactimage(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/kodi(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/rawtherapee(Ubuntu:26.10) | All versions | No fix listed |
| LibRaw | < 0.22.1 | 0.22.1 |
References
- VDB-354671 | LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds technical-description third-party-advisory vdb-entry
- VDB-354671 | CTI Indicators (IOB, IOC, IOA) permissions-required signature vdb-entry
- Submit #781223 | LibRaw 0.22.0 Out-of-Bounds Read exploit third-party-advisory vdb-entry
- github.com issue-tracking
- github.com exploit third-party-advisory
- github.com patch
- github.com patch product release-notes
- github.com product
- Debian Security Tracker CVE-2026-5342 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2454372 issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- USN-8522-1 vendor-advisory
- bugs.debian.org issue-tracking