CVE-2026-5342

libraw: A flaw has been found in LibRaw up to 0.22.0

CVE-2026-5342 is fixed in 11 products on 1 platform, first by DEBIAN-CVE-2026-5342, released April 2, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0076
55th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
darktable · Fedora 43 5.6.1-2.fc43 FEDORA-2026-0B55B49B93 Sep 1, 2026
darktable-debuginfo · Fedora 43 5.6.1-2.fc43 FEDORA-2026-0B55B49B93 Sep 1, 2026
darktable-debugsource · Fedora 43 5.6.1-2.fc43 FEDORA-2026-0B55B49B93 Sep 1, 2026
darktable-tools-basecurve · Fedora 43 5.6.1-2.fc43 FEDORA-2026-0B55B49B93 Sep 1, 2026
darktable-tools-basecurve-debuginfo · Fedora 43 5.6.1-2.fc43 FEDORA-2026-0B55B49B93 Sep 1, 2026
darktable-tools-noise · Fedora 43 5.6.1-2.fc43 FEDORA-2026-0B55B49B93 Sep 1, 2026
darktable-tools-noise-debuginfo · Fedora 43 5.6.1-2.fc43 FEDORA-2026-0B55B49B93 Sep 1, 2026
libraw · Debian 12.15 (bookworm) 0.20.2-2.1+deb12u2 DEBIAN-CVE-2026-5342 Apr 2, 2026
libraw · Debian 13.5 (trixie) 0.21.4-2+deb13u1 DEBIAN-CVE-2026-5342 Apr 2, 2026
libraw · Debian 14 0.22.1-1 DEBIAN-CVE-2026-5342 Apr 2, 2026
libraw · opensuse-leap 16.0 0.21.4-160000.3.1 OPENSUSE-SU-2026:20574-1 Apr 20, 2026
libraw · sles 15.6 0.21.1-150600.3.10.1 SUSE-SU-2026:1555-1 Apr 22, 2026
libraw · sles 15.7 0.21.1-150600.3.10.1 SUSE-SU-2026:1555-1 Apr 22, 2026
libraw-bin · Ubuntu 22.04.1 LTS (jammy) 0.20.2-2ubuntu2.22.04.3 libraw-bin 0.20.2-2ubuntu2.22.04.3 Apr 7, 2026
libraw-bin · Ubuntu 24.04.5 LTS (noble) 0.21.2-2.1ubuntu0.24.04.2 libraw-bin 0.21.2-2.1ubuntu0.24.04.2 Apr 7, 2026
libraw-bin · Ubuntu 26.04.1 LTS (resolute) 0.21.5b-1ubuntu1.1 libraw-bin 0.21.5b-1ubuntu1.1 Apr 7, 2026
libraw20 · Ubuntu 22.04.1 LTS (jammy) 0.20.2-2ubuntu2.22.04.3 libraw20 0.20.2-2ubuntu2.22.04.3 Apr 7, 2026
libraw23t64 · Ubuntu 24.04.5 LTS (noble) 0.21.2-2.1ubuntu0.24.04.2 libraw23t64 0.21.2-2.1ubuntu0.24.04.2 Apr 7, 2026
libraw23t64 · Ubuntu 26.04.1 LTS (resolute) 0.21.5b-1ubuntu1.1 libraw23t64 0.21.5b-1ubuntu1.1 Apr 7, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.