VDB

CVE-2026-5342

CVE-2026-5342 PUBLISHED CVSS 6.9 MEDIUM

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

Reported by vuldb · Published April 2, 2026

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.

Risk scores

CVSS 4.0
6.9
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Affected products

VendorProductVersions
n/aLibRaw0.1, 0.2, 0.3
n/aLibRaw0.1, 0.2, 0.4

Timeline

  • Apr 2, 2026 CVE Published
  • Apr 2, 2026 Security Advisory
  • Apr 3, 2026 EPSS Score (30 in total, the first dated here)
  • Apr 7, 2026 CVE Updated
  • Jun 11, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-5342
vulnetix vdb fixes CVE-2026-5342

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-5342/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›