CVE-2026-5342A flaw has been found in LibRaw up to 0.22.0.
Updated under an hour ago ()
Does this affect you?
It affects libraw. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 5.3 MEDIUM (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weakness (CWE)
- CWE-119, CWE-125
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Not given
- NVD analysis
- Analyzed
- Record last updated
- Jul 24, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
libraw libraw libraw:libraw | before 0.22.1 | NVD |
References
- https://github.com/LibRaw/LibRaw/product
- https://github.com/LibRaw/LibRaw/commit/b8397cd45657b84e88bd1202528d1764265f185cpatch
- https://github.com/LibRaw/LibRaw/issues/795issue-tracking
- https://github.com/LibRaw/LibRaw/issues/795#issuecomment-4073769886issue-tracking
- https://github.com/LibRaw/LibRaw/releases/tag/0.22.1product, release-notes
- https://github.com/biniamf/pocs/tree/main/libraw_nikonpaddedexploit, third-party-advisory
- https://vuldb.com/submit/781223exploit, third-party-advisory, vdb-entry
- https://vuldb.com/vuln/354671third-party-advisory, vdb-entry
- https://vuldb.com/vuln/354671/ctipermissions-required, vdb-entry
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.