CVE-2026-5342
mediumpriority · track · 0EPSS 0.007 · 54 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 2.7–6.9
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (29)
Products and version ranges known to be affected.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (26)
External citations — patches, advisories, analysis.
- https://github.com/LibRaw/LibRaw/cnnvd
- https://github.com/LibRaw/LibRaw/commit/b8397cd45657b84e88bd1202528d1764265f185ccnnvd
- https://github.com/LibRaw/LibRaw/issues/795cnnvd
- https://github.com/LibRaw/LibRaw/issues/795#issuecomment-4073769886cnnvd
- https://github.com/biniamf/pocs/tree/main/libraw_nikonpaddedcnnvd
- https://vuldb.com/submit/781223cnnvd
- https://vuldb.com/vuln/354671cnnvd
- https://vuldb.com/vuln/354671/cticnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan