CVE-2026-5342

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

MEDIUM
5.3
CVSS Score
Published: April 2, 2026 at 02:30 PM UTC
Updated: July 24, 2026 at 09:20 PM UTC
1 product affected across 1 vendorLibRaw

Using LibRaw by N/A?

Get instant alerts when new vulnerabilities affect LibRaw - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.7%
SSVC
PoC

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (9)

VDB EntryTechnical DescriptionThird Party Advisory
Source: cverecord
https://vuldb.com/vuln/354671
SignaturePermissions RequiredVDB Entry
Source: cverecord
https://vuldb.com/vuln/354671/cti
Third Party AdvisoryExploitVDB Entry
Source: cverecord
https://vuldb.com/submit/781223
Issue Tracking
Source: cverecord
https://github.com/LibRaw/LibRaw/issues/795
ExploitThird Party Advisory
Source: cverecord
https://github.com/biniamf/pocs/tree/main/libraw_nikonpadded
Product
Source: cverecord
https://github.com/LibRaw/LibRaw/

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.3MEDIUMVulDB
Vector?

Quick Info

StatusANALYZED
CWE
CWE-125CWE-119

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card