cvedb.io
CVE-2026-5342
MEDIUM · CVSS 5.3
EPSS exploitation probability: 0%
Published 2026-04-02T15:16:53.343 · Last modified 2026-06-17T10:58:51.667

Summary

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 products

libraw — libraw

Does this affect you?

Add your gear to cvedb and we'll alert you only when libraw ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.