CVE-2026-5342 | LibRaw up to 0.22.0 TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw load_flags/raw_width out-of-bounds (Issue 795)
VulDBArchived Apr 01, 2026✓ Full text saved
A vulnerability categorized as problematic has been discovered 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. This vulnerability is registered as CVE-2026-5342 . It is possible to launch the attack remotely. Furthermore, an exploit is available. It is advisable to upgrade the affected compon
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-354671 · CVE-2026-5342 · Issue 795
LibRaw up to 0.22.0 TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw load_flags/raw_width out-of-bounds
HistoryDiffrelatejsonxmlCTI
CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.8 $0-$5k 2.17+
Summaryinfo
A vulnerability identified as problematic has been detected in LibRaw up to 0.22.0. This impacts the function LibRaw::nikon_load_padded_packed_raw of the file src/decoders/decoders_libraw.cpp of the component TIFF/NEF. The manipulation of the argument load_flags/raw_width leads to out-of-bounds. This vulnerability is documented as CVE-2026-5342. The attack can be initiated remotely. Additionally, an exploit exists. You should upgrade the affected component.
Detailsinfo
A vulnerability was found in LibRaw up to 0.22.0. It has been rated as problematic. This issue affects the function LibRaw::nikon_load_padded_packed_raw of the file src/decoders/decoders_libraw.cpp of the component TIFF/NEF. The manipulation of the argument load_flags/raw_width with an unknown input leads to a out-of-bounds vulnerability. Using CWE to declare the problem leads to CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. Impacted is availability.
It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2026-5342. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known.
The exploit is available at github.com. It is declared as proof-of-concept.
Upgrading to version 0.22.1 eliminates this vulnerability. Applying the patch b8397cd45657b84e88bd1202528d1764265f185c is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Productinfo
Type
Image Processing Software
Name
LibRaw
Version
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
0.10
0.11
0.12
0.13
0.14
0.15
0.16
0.17
0.18
0.19
0.20
0.21
0.22.0
License
open-source
Website
Product: https://github.com/LibRaw/LibRaw/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 4.8
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
AV AC Au C I A
💳 💳 💳 💳 💳 💳
💳 💳 💳 💳 💳 💳
💳 💳 💳 💳 💳 💳
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Out-of-bounds
CWE: CWE-125 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: LibRaw 0.22.1
Patch: b8397cd45657b84e88bd1202528d1764265f185c
Timelineinfo
04/01/2026 Advisory disclosed
04/01/2026 +0 days VulDB entry created
04/01/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: 795
Status: Confirmed
Confirmation: 🔒
CVE: CVE-2026-5342 (🔒)
GCVE (CVE): GCVE-0-2026-5342
GCVE (VulDB): GCVE-100-354671
scip Labs: https://www.scip.ch/en/?labs.20161013
Entryinfo
Created: 04/01/2026 16:57
Changes: 04/01/2026 16:57 (63)
Complete: 🔍
Submitter: biniam
Cache ID: 99:B9D:101
Submitinfo
Accepted
Submit #781223: LibRaw 0.22.0 Out-of-Bounds Read (by biniam)
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸
Want to stay up to date on a daily basis?
Enable the mail alert feature now!