Every CVE Search/ Get API key

CVE-2026-5342

LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds

6.9 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

0.76%Up 0.7 points since Apr 3, 2026
90%50%10%1%

What each source reports

CVE List Score used 6.9

LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds

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.

Record
CVE-2026-5342
CVSS 4.0
6.9 MediumCVSS: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
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
CVSS 2.0
5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C
Weakness
CWE-125, CWE-119
Updated
2026-11-02
EUVDEUVD-2026-18344 6.9

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.

Record
EUVD-2026-18344
CVSS 4.0
6.9 MediumCVSS: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
Updated
2026-11-02
GitHub AdvisoriesGHSA-jp35-q64r-j6gf 5.5

A flaw has been found in LibRaw up to 0.22.0. This affects the function LibRaw:...

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.

Record
GHSA-jp35-q64r-j6gf
CVSS 4.0
5.5 MediumCVSS: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
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-119
Updated
2026-11-02
NVD 5.5

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.

Record
CVE-2026-5342
CVSS 4.0
5.5 MediumCVSS: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
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-119, CWE-125
Updated
2026-11-02
OSV 5.5

LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds

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.

Record
CVE-2026-5342
CVSS 4.0
5.5 MediumCVSS: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
Weakness
CWE-119, CWE-125
Updated
2026-11-02
OSVDEBIAN-CVE-2026-5342 5.5

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.

Record
DEBIAN-CVE-2026-5342
CVSS 4.0
5.5 MediumCVSS: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
Updated
2026-11-02
Show 16 moreShow less
OSVJLSEC-2026-1118 5.5

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.

Record
JLSEC-2026-1118
CVSS 4.0
5.5 MediumCVSS: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
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVOESA-2026-2738 9.8

LibRaw security update

LibRaw is a library for reading RAW files from digital photo cameras (CRW/CR2, NEF, RAF, etc, virtually all RAW formats are supported).It pays special attention to correct retrieval of data required for subsequent RAW conversion.The library is intended for embedding in RAW converters, data analyzers, and other programs using RAW files as the initial data.

Security Fix(es):

An integer overflow vulnerability exists in the deflate_dng_load_raw functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-20884)

A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-20889)

A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow, causing memory corruption. This vulnerability affects specific commit versions.(CVE-2026-20911)

A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-21413)

A heap-based buffer overflow vulnerability exists in the x3f_load_huffman functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-24660)

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.(CVE-2026-5342)

Record
OESA-2026-2738
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-2739 9.8

LibRaw security update

LibRaw is a library for reading RAW files from digital photo cameras (CRW/CR2, NEF, RAF, etc, virtually all RAW formats are supported).It pays special attention to correct retrieval of data required for subsequent RAW conversion.The library is intended for embedding in RAW converters, data analyzers, and other programs using RAW files as the initial data.

Security Fix(es):

An integer overflow vulnerability exists in the deflate_dng_load_raw functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-20884)

A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-20889)

A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow, causing memory corruption. This vulnerability affects specific commit versions.(CVE-2026-20911)

A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-21413)

An integer overflow vulnerability exists in the uncompressed_fp_dng_load_raw functionality of LibRaw Commit 8dc68e2. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-24450)

A heap-based buffer overflow vulnerability exists in the x3f_load_huffman functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-24660)

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.(CVE-2026-5342)

Record
OESA-2026-2739
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-2740 9.8

LibRaw security update

LibRaw is a library for reading RAW files from digital photo cameras (CRW/CR2, NEF, RAF, etc, virtually all RAW formats are supported).It pays special attention to correct retrieval of data required for subsequent RAW conversion.The library is intended for embedding in RAW converters, data analyzers, and other programs using RAW files as the initial data.

Security Fix(es):

An integer overflow vulnerability exists in the deflate_dng_load_raw functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-20884)

A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-20889)

A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow, causing memory corruption. This vulnerability affects specific commit versions.(CVE-2026-20911)

A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-21413)

An integer overflow vulnerability exists in the uncompressed_fp_dng_load_raw functionality of LibRaw Commit 8dc68e2. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-24450)

A heap-based buffer overflow vulnerability exists in the x3f_load_huffman functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-24660)

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.(CVE-2026-5342)

Record
OESA-2026-2740
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-2741 9.8

LibRaw security update

LibRaw is a library for reading RAW files from digital photo cameras (CRW/CR2, NEF, RAF, etc, virtually all RAW formats are supported).It pays special attention to correct retrieval of data required for subsequent RAW conversion.The library is intended for embedding in RAW converters, data analyzers, and other programs using RAW files as the initial data.

Security Fix(es):

An integer overflow vulnerability exists in the deflate_dng_load_raw functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-20884)

A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-20889)

A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow, causing memory corruption. This vulnerability affects specific commit versions.(CVE-2026-20911)

A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-21413)

A heap-based buffer overflow vulnerability exists in the x3f_load_huffman functionality of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2026-24660)

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.(CVE-2026-5342)

Record
OESA-2026-2741
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVROOT-OS-DEBIAN-13-CVE-2026-5342 5.3

CVE-2026-5342 in libraw - Patched by Root

Root has patched CVE-2026-5342 in the libraw package for Root:Debian:13. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-13-CVE-2026-5342
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2026-5342 5.5

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.

Record
UBUNTU-CVE-2026-5342
CVSS 4.0
5.5 MediumCVSS: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
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVAZL-82940 No score

CVE-2026-5342 affecting package LibRaw 0.21.3-1

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.

Record
AZL-82940
Updated
2026-11-05
OSVCLSA-2026-1785515066 No score

LibRaw: Fix of CVE-2026-5342

  • CVE-2026-5342: fix out-of-bounds read in nikon_load_padded_packed_raw() by sizing the row buffer from the final raw_width instead of the load_flags value pinned before raw_width adjustment (ELSCVE-152809)
Record
CLSA-2026-1785515066
Updated
2026-11-02
OSVCLSA-2026-1786702952 No score

LibRaw: Fix of CVE-2026-5342

  • CVE-2026-5342: fix out-of-bounds read in nikon_load_padded_packed_raw by deriving the row buffer size from the final raw_width instead of the precomputed load_flags, and erroring out on short reads
Record
CLSA-2026-1786702952
Updated
2026-11-02
OSVopenSUSE-SU-2026:10565-1 No score

libraw-devel-0.22.1-1.1 on GA media

These are all security issues fixed in the libraw-devel-0.22.1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:10565-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:20574-1 No score

Security update for libraw

This update for libraw fixes the following issues:

  • CVE-2026-5342: crafted TIFF/NEF file can cause an out-of-bounds read (bsc#1261499).
  • CVE-2026-20884: integer overflow vulnerability in the deflate_dng_load_raw (bsc#1261671).
  • CVE-2026-20889: heap-based buffer overflow vulnerability in the x3f_thumb_loader (bsc#1261672).
  • CVE-2026-20911: heap-based buffer overflow vulnerability in the HuffTable: initval (bsc#1261673).
  • CVE-2026-21413: heap-based buffer overflow vulnerability in the lossless_jpeg_load_raw (bsc#1261674).
  • CVE-2026-24450: integer overflow vulnerability in uncompressed_fp_dng_load_raw (bsc#1261675).
  • CVE-2026-24660: heap-based buffer overflow vulnerability in the x3f_load_huffman (bsc#1261676).
Record
openSUSE-SU-2026:20574-1
Updated
2026-11-02
OSVSUSE-SU-2026:1555-1 No score

Security update for libraw

This update for libraw fixes the following issues:

  • CVE-2026-5342: out-of-bounds read via LibRaw::nikon_load_padded_packed_raw (bsc#1261499).
  • CVE-2026-20884: integer overflow and heap buffer overflow via deflate_dng_load_raw (bsc#1261671).
  • CVE-2026-20889: heap-based buffer overflow in x3f_thumb_loader(bsc#1261672).
  • CVE-2026-20911: heap-based buffer overflow in HuffTable::initval(bsc#1261673).
  • CVE-2026-21413: heap-based buffer overflow in lossless_jpeg_load_raw (bsc#1261674).
  • CVE-2026-24450: integer overflow and heap buffer overflow via uncompressed_fp_dng_load_raw (bsc#1261675).
  • CVE-2026-24660: heap-based buffer overflow in x3f_load_huffman (bsc#1261676).
Record
SUSE-SU-2026:1555-1
Updated
2026-11-02
OSVSUSE-SU-2026:1556-1 No score

Security update for libraw

This update for libraw fixes the following issues:

  • CVE-2026-5342: out-of-bounds read via LibRaw::nikon_load_padded_packed_raw (bsc#1261499).
  • CVE-2026-20884: integer overflow and heap buffer overflow via deflate_dng_load_raw (bsc#1261671).
  • CVE-2026-20889: heap-based buffer overflow in x3f_thumb_loader(bsc#1261672).
  • CVE-2026-20911: heap-based buffer overflow in HuffTable::initval(bsc#1261673).
  • CVE-2026-21413: heap-based buffer overflow in lossless_jpeg_load_raw (bsc#1261674).
  • CVE-2026-24660: heap-based buffer overflow in x3f_load_huffman (bsc#1261676).
Record
SUSE-SU-2026:1556-1
Updated
2026-11-02
OSVSUSE-SU-2026:21360-1 No score

Security update for libraw

This update for libraw fixes the following issues:

  • CVE-2026-5342: crafted TIFF/NEF file can cause an out-of-bounds read (bsc#1261499).
  • CVE-2026-20884: integer overflow vulnerability in the deflate_dng_load_raw (bsc#1261671).
  • CVE-2026-20889: heap-based buffer overflow vulnerability in the x3f_thumb_loader (bsc#1261672).
  • CVE-2026-20911: heap-based buffer overflow vulnerability in the HuffTable: initval (bsc#1261673).
  • CVE-2026-21413: heap-based buffer overflow vulnerability in the lossless_jpeg_load_raw (bsc#1261674).
  • CVE-2026-24450: integer overflow vulnerability in uncompressed_fp_dng_load_raw (bsc#1261675).
  • CVE-2026-24660: heap-based buffer overflow vulnerability in the x3f_load_huffman (bsc#1261676).
Record
SUSE-SU-2026:21360-1
Updated
2026-11-02
OSVUSN-8522-1 No score

libraw vulnerabilities

It was discovered that LibRaw incorrectly handled certain Nikon RAW image files. An attacker could possibly use this issue to cause LibRaw to crash, resulting in a denial of service. (CVE-2026-5342)

It was discovered that LibRaw had an integer overflow in its DNG image loader. An attacker could possibly use this issue to cause LibRaw to crash, resulting in a denial of service, or execute arbitrary code. (CVE-2026-20884)

It was discovered that LibRaw incorrectly handled certain X3F thumbnail data. An attacker could possibly use this issue to cause LibRaw to crash, resulting in a denial of service, or execute arbitrary code. (CVE-2026-20889)

It was discovered that LibRaw had a heap-based buffer overflow in its lossless JPEG image loader. An attacker could possibly use this issue to cause LibRaw to crash, resulting in a denial of service, or execute arbitrary code. (CVE-2026-21413)

It was discovered that LibRaw had an integer overflow in its uncompressed floating-point DNG image loader. An attacker could possibly use this issue to cause LibRaw to crash, resulting in a denial of service, or execute arbitrary code. This issue only affected Ubuntu 24.04 LTS and Ubuntu 25.04. (CVE-2026-24450)

It was discovered that LibRaw had a heap-based buffer overflow in its X3F Huffman decoder. An attacker could possibly use this issue to cause LibRaw to crash, resulting in a denial of service, or execute arbitrary code. (CVE-2026-24660)

Record
USN-8522-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
LibRaw
Azure Linux:3
through 0.21.3-1 None known
LibRaw
TuxCare:AlmaLinux:9.2
before 0.20.2-5.el9_2.tuxcare.els7
0.20.2-5.el9_2.tuxcare.els7
LibRaw-devel
TuxCare:AlmaLinux:9.2
before 0.20.2-5.el9_2.tuxcare.els7
0.20.2-5.el9_2.tuxcare.els7
LibRaw-samples
TuxCare:AlmaLinux:9.2
before 0.20.2-5.el9_2.tuxcare.els7
0.20.2-5.el9_2.tuxcare.els7
LibRaw-static
TuxCare:AlmaLinux:9.2
before 0.20.2-5.el9_2.tuxcare.els7
0.20.2-5.el9_2.tuxcare.els7
LibRaw
TuxCare:AlmaLinux:9.6
before 0.21.1-1.el9.tuxcare.els4
0.21.1-1.el9.tuxcare.els4
LibRaw-devel
TuxCare:AlmaLinux:9.6
before 0.21.1-1.el9.tuxcare.els4
0.21.1-1.el9.tuxcare.els4
LibRaw-samples
TuxCare:AlmaLinux:9.6
before 0.21.1-1.el9.tuxcare.els4
0.21.1-1.el9.tuxcare.els4
LibRaw-static
TuxCare:AlmaLinux:9.6
before 0.21.1-1.el9.tuxcare.els4
0.21.1-1.el9.tuxcare.els4
libraw
Debian:12
before 0.20.2-2.1+deb12u2, plus listed versions
0.20.2-2.10.20.2-2.1+deb12u1
0.20.2-2.1+deb12u2
Show 79 moreShow less
Affected packages
PackageAffectedFixed
libraw
Debian:13
before 0.21.4-2+deb13u1, plus listed versions
0.21.4-2
0.21.4-2+deb13u1
libraw
Debian:14
before 0.22.1-1, plus listed versions
0.21.4-20.21.4-3~exp10.21.4-3~exp20.21.5b-10.22.0-1~exp10.22.1-1~exp10.22.1-1~exp2
0.22.1-1
LibRaw_jll
Julia
before 0.22.1+0
0.22.1+0
LibRaw
openEuler:22.03-LTS-SP4
From an advisory covering 6 CVEs
before 0.20.2-10.oe2203sp4
0.20.2-10.oe2203sp4
LibRaw
openEuler:24.03-LTS-SP1
From an advisory covering 7 CVEs
before 0.21.1-6.oe2403sp1
0.21.1-6.oe2403sp1
LibRaw
openEuler:24.03-LTS-SP3
From an advisory covering 7 CVEs
before 0.21.1-6.oe2403sp3
0.21.1-6.oe2403sp3
LibRaw
openEuler:20.03-LTS-SP4
From an advisory covering 6 CVEs
before 0.20.2-9.oe2003sp4
0.20.2-9.oe2003sp4
libraw
SUSE:Linux Enterprise Module for Desktop Applications 15 SP7
From an advisory covering 7 CVEs
before 0.21.1-150600.3.10.1
0.21.1-150600.3.10.1
libraw
SUSE:Linux Enterprise Module for Package Hub 15 SP7
From an advisory covering 7 CVEs
before 0.21.1-150600.3.10.1
0.21.1-150600.3.10.1
libraw
SUSE:Linux Enterprise Server 15 SP6-LTSS
From an advisory covering 7 CVEs
before 0.21.1-150600.3.10.1
0.21.1-150600.3.10.1
libraw
SUSE:Linux Enterprise Server for SAP Applications 15 SP6
From an advisory covering 7 CVEs
before 0.21.1-150600.3.10.1
0.21.1-150600.3.10.1
libraw
SUSE:Linux Enterprise Workstation Extension 15 SP7
From an advisory covering 7 CVEs
before 0.21.1-150600.3.10.1
0.21.1-150600.3.10.1
libraw
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
From an advisory covering 6 CVEs
before 0.20.2-150400.3.21.1
0.20.2-150400.3.21.1
libraw
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
From an advisory covering 6 CVEs
before 0.20.2-150400.3.21.1
0.20.2-150400.3.21.1
libraw
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS
From an advisory covering 6 CVEs
before 0.20.2-150400.3.21.1
0.20.2-150400.3.21.1
libraw
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS
From an advisory covering 6 CVEs
before 0.20.2-150400.3.21.1
0.20.2-150400.3.21.1
libraw
SUSE:Linux Enterprise Server 15 SP4-LTSS
From an advisory covering 6 CVEs
before 0.20.2-150400.3.21.1
0.20.2-150400.3.21.1
libraw
SUSE:Linux Enterprise Server 15 SP5-LTSS
From an advisory covering 6 CVEs
before 0.20.2-150400.3.21.1
0.20.2-150400.3.21.1
libraw
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
From an advisory covering 6 CVEs
before 0.20.2-150400.3.21.1
0.20.2-150400.3.21.1
libraw
SUSE:Linux Enterprise Server for SAP Applications 15 SP5
From an advisory covering 6 CVEs
before 0.20.2-150400.3.21.1
0.20.2-150400.3.21.1
darktable
Ubuntu:16.04:LTS
All versions, plus listed versions
1.6.8-11.6.9-12.0.0-12.0.1-12.0.3-1
None known
dcraw
Ubuntu:16.04:LTS
All versions, plus listed versions
9.21-0.2
None known
digikam
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
4:4.12.0-0ubuntu54:4.12.0-0ubuntu64:4.12.0-0ubuntu74:4.12.0-0ubuntu7+esm1
None known
exactimage
Ubuntu:16.04:LTS
All versions, plus listed versions
0.9.1-6build10.9.1-6ubuntu10.9.1-8ubuntu10.9.1-90.9.1-9build1
Show 4 moreShow less
0.9.1-100.9.1-110.9.1-120.9.1-12ubuntu1
None known
kodi
Ubuntu:16.04:LTS
All versions, plus listed versions
15.1+dfsg1-315.2+dfsg1-1build115.2+dfsg1-315.2+dfsg1-3ubuntu115.2+dfsg1-3ubuntu1.1
None known
rawtherapee
Ubuntu:16.04:LTS
All versions, plus listed versions
4.2-2build14.2-4
None known
ufraw
Ubuntu:16.04:LTS
All versions, plus listed versions
0.20-3build1
None known
darktable
Ubuntu:18.04:LTS
All versions, plus listed versions
2.2.5-22.4.0-12.4.1-12.4.2-1
None known
dcraw
Ubuntu:18.04:LTS
All versions, plus listed versions
9.27-1ubuntu1
None known
digikam
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
4:5.6.0-0ubuntu24:5.6.0-0ubuntu34:5.6.0-0ubuntu44:5.6.0-0ubuntu74:5.6.0-0ubuntu84:5.6.0-0ubuntu94:5.6.0-0ubuntu104:5.6.0-0ubuntu10+esm1
None known
exactimage
Ubuntu:18.04:LTS
All versions, plus listed versions
0.9.2-1build11.0.1-1
None known
kodi
Ubuntu:18.04:LTS
All versions, plus listed versions
2:17.3+dfsg1-32:17.3+dfsg1-3build12:17.3+dfsg1-52:17.3+dfsg1-5build12:17.3+dfsg1-5build22:17.6+dfsg1-12:17.6+dfsg1-1build12:17.6+dfsg1-1ubuntu1
None known
rawtherapee
Ubuntu:18.04:LTS
All versions, plus listed versions
5.2-15.3-1
None known
ufraw
Ubuntu:18.04:LTS
All versions, plus listed versions
0.22-1.10.22-20.22-30.22-3.1~build0.18.04.10.22-3.1ubuntu0.1
None known
darktable
Ubuntu:20.04:LTS
All versions, plus listed versions
2.6.0-12.6.2-32.6.3-12.6.3-1build12.6.3-1build23.0.1-0ubuntu1
None known
dcraw
Ubuntu:20.04:LTS
All versions, plus listed versions
9.28-2
None known
digikam
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
4:5.9.0-1ubuntu44:6.4.0+dfsg-34:6.4.0+dfsg-3build14:6.4.0+dfsg-3ubuntu0.1~esm1
None known
exactimage
Ubuntu:20.04:LTS
All versions, plus listed versions
1.0.2-31.0.2-5ubuntu11.0.2-5ubuntu21.0.2-7ubuntu11.0.2-7ubuntu2
None known
kodi
Ubuntu:20.04:LTS
All versions, plus listed versions
2:17.6+dfsg1-4ubuntu42:17.6+dfsg1-4ubuntu92:17.6+dfsg1-4ubuntu102:18.5+dfsg1-0ubuntu32:18.6+dfsg1-2ubuntu1
None known
rawtherapee
Ubuntu:20.04:LTS
All versions, plus listed versions
5.6-15.7-15.8-1
None known
darktable
Ubuntu:22.04:LTS
All versions, plus listed versions
3.6.0-0ubuntu13.8.0-23.8.0-33.8.0-3build13.8.0-3build23.8.1-13.8.1-2
None known
dcraw
Ubuntu:22.04:LTS
All versions, plus listed versions
9.28-29.28-3
None known
exactimage
Ubuntu:22.04:LTS
All versions, plus listed versions
1.0.2-81.0.2-8build11.0.2-8build21.0.2-8build3
None known
kodi
Ubuntu:22.04:LTS
All versions, plus listed versions
2:19.1+dfsg2-22:19.3+dfsg1-12:19.3+dfsg1-1build22:19.3+dfsg1-1build32:19.3+dfsg1-1build42:19.3+dfsg1-1build52:19.4+dfsg1-2
None known
libraw
Ubuntu:22.04:LTS
before 0.20.2-2ubuntu2.22.04.3, plus listed versions
0.20.2-1ubuntu30.20.2-2ubuntu10.20.2-2ubuntu20.20.2-2ubuntu2.22.04.10.20.2-2ubuntu2.22.04.2
0.20.2-2ubuntu2.22.04.3
rawtherapee
Ubuntu:22.04:LTS
All versions, plus listed versions
5.8-3
None known
digikam
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
4:7.1.0-24:7.1.0-2ubuntu14:7.4.0-0ubuntu14:7.5.0-0ubuntu14:7.5.0-3fakesync14:7.5.0-3ubuntu0.1~esm1
None known
darktable
Ubuntu:24.04:LTS
All versions, plus listed versions
4.4.2-1ubuntu14.4.2-1ubuntu24.4.2-1.14.4.2-1.1build14.6.1-24.6.1-2build34.6.1-2build44.6.1-2ubuntu1
None known
dcraw
Ubuntu:24.04:LTS
All versions, plus listed versions
9.28-39.28-3.1ubuntu19.28-5ubuntu1
None known
digikam
Ubuntu:24.04:LTS
All versions, plus listed versions
4:8.1.0-3fakesync14:8.2.0-0ubuntu14:8.2.0-0ubuntu44:8.2.0-0ubuntu54:8.2.0-0ubuntu64:8.2.0-0ubuntu6.2
None known
exactimage
Ubuntu:24.04:LTS
All versions, plus listed versions
1.0.2-11build21.0.2-11build31.0.2-11build41.0.2-11build71.0.2-11build81.0.2-11build9
None known
kodi
Ubuntu:24.04:LTS
All versions, plus listed versions
2:20.2+dfsg-42:20.2+dfsg-4build12:20.2+dfsg-4build22:20.2+dfsg-4ubuntu12:20.3+dfsg-12:20.4+dfsg-12:20.5+dfsg-1build22:20.5+dfsg-1ubuntu1
None known
libraw
Ubuntu:24.04:LTS
before 0.21.2-2.1ubuntu0.24.04.2, plus listed versions
0.21.1-7ubuntu20.21.2-20.21.2-2.10.21.2-2.1build10.21.2-2.1ubuntu0.24.04.1
0.21.2-2.1ubuntu0.24.04.2
rawtherapee
Ubuntu:24.04:LTS
All versions, plus listed versions
5.9-1build15.9-25.10-15.10-1build35.10-1build4
None known
darktable
Ubuntu:25.10
All versions, plus listed versions
5.0.1-0ubuntu15.0.1-0ubuntu25.0.1-15.0.1-2
None known
dcraw
Ubuntu:25.10
All versions, plus listed versions
9.28-8
None known
digikam
Ubuntu:25.10
All versions, plus listed versions
4:8.5.0-4ubuntu24:8.6.0-1ubuntu14:8.6.0-1ubuntu24:8.7.0-0ubuntu14:8.7.0-1ubuntu14:8.7.0-1ubuntu2
None known
exactimage
Ubuntu:25.10
All versions, plus listed versions
1.2.1-2
None known
kodi
Ubuntu:25.10
All versions, plus listed versions
2:21.2+dfsg-1build22:21.2+dfsg-42:21.2+dfsg-4build12:21.2+dfsg-4build2
None known
libraw
Ubuntu:25.10
All versions, plus listed versions
0.21.3-10.21.4-2
None known
rawtherapee
Ubuntu:25.10
All versions, plus listed versions
5.11-2build2
None known
darktable
Ubuntu:26.10
All versions, plus listed versions
5.4.1-15.4.1-1build15.4.1-1build2
None known
dcraw
Ubuntu:26.10
All versions, plus listed versions
9.28-8build1
None known
digikam
Ubuntu:26.10
All versions, plus listed versions
4:9.0.0-0ubuntu14:9.0.0-0ubuntu24:9.1.0-1ubuntu2
None known
exactimage
Ubuntu:26.10
All versions, plus listed versions
1.2.1-2build21.2.1-3build11.2.1-3build2
None known
kodi
Ubuntu:26.10
All versions, plus listed versions
2:21.3+dfsg-1ubuntu12:21.3+dfsg-1.2
None known
rawtherapee
Ubuntu:26.10
All versions, plus listed versions
5.12-25.12-2build1
None known
darktable
Ubuntu:26.04:LTS
All versions, plus listed versions
5.0.1-25.2.1-15.2.1-1build15.2.1-1build25.4.0-15.4.1-1
None known
dcraw
Ubuntu:26.04:LTS
All versions, plus listed versions
9.28-89.28-8build1
None known
digikam
Ubuntu:26.04:LTS
All versions, plus listed versions
4:8.7.0-1ubuntu24:8.8.0-1ubuntu14:8.8.0-2ubuntu14:8.8.0-2ubuntu34:8.8.0-2ubuntu44:9.0.0-0ubuntu1
None known
exactimage
Ubuntu:26.04:LTS
All versions, plus listed versions
1.2.1-21.2.1-2build11.2.1-2build2
None known
kodi
Ubuntu:26.04:LTS
All versions, plus listed versions
2:21.2+dfsg-4build22:21.2+dfsg-4build32:21.2+dfsg-52:21.3+dfsg-12:21.3+dfsg-1build12:21.3+dfsg-1ubuntu1
None known
libraw
Ubuntu:26.04:LTS
before 0.21.5b-1ubuntu1.1, plus listed versions
0.21.4-20.21.5b-1ubuntu1
0.21.5b-1ubuntu1.1
rawtherapee
Ubuntu:26.04:LTS
All versions, plus listed versions
5.11-2build25.12-15.12-2
None known
libraw
Ubuntu:22.04:LTS
From an advisory covering 6 CVEs
before 0.20.2-2ubuntu2.22.04.3, plus listed versions
0.20.2-1ubuntu30.20.2-2ubuntu10.20.2-2ubuntu20.20.2-2ubuntu2.22.04.10.20.2-2ubuntu2.22.04.2
0.20.2-2ubuntu2.22.04.3
libraw
Ubuntu:24.04:LTS
From an advisory covering 6 CVEs
before 0.21.2-2.1ubuntu0.24.04.2, plus listed versions
0.21.1-7ubuntu20.21.2-20.21.2-2.10.21.2-2.1build10.21.2-2.1ubuntu0.24.04.1
0.21.2-2.1ubuntu0.24.04.2
libraw
Ubuntu:26.04:LTS
From an advisory covering 6 CVEs
before 0.21.5b-1ubuntu1.1, plus listed versions
0.21.4-20.21.5b-1ubuntu1
0.21.5b-1ubuntu1.1
libraw
openSUSE:Tumbleweed
From an advisory covering 7 CVEs
before 0.22.1-1.1
0.22.1-1.1
libraw
openSUSE:Leap 16.0
From an advisory covering 7 CVEs
before 0.21.4-160000.3.1
0.21.4-160000.3.1

History

History
RecordedChangedSources
affected
factsOSV
affected
affected, aliases, published, referencesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-5342 is a medium vulnerability (CVSS 6.9) in Libraw, published April 2, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.76%, the 55th percentile. Fixed in LibRaw 0.20.2-5.el9_2.tuxcare.els7.

References

Show 43 moreShow less
MoveEnter Open