6.9

CVE-2026-5342: LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds

Analyzed
AliasesUBUNTU-CVE-2026-5342DEBIAN-CVE-2026-5342
Published 02-04-2026Last modified 07-04-2026

Vulnerability summary

CVE-2026-5342 is a medium (CVSS 6.9) vulnerability in libraw. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 58.9% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Routine

Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.83%
0%100%
Low · +0.07 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2github, reference

Advisory lineage

Upstream 0 · Downstream 6 · Related 5

Timeline

  1. 02-04-2026
    PublishedVulnerability first disclosed.
  2. 07-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

10 scores · 4 sources · 4 versions

EPSS trend

Probability

0.83%

Chance of exploitation in the next 30 days

Percentile

59%

Versus all other CVEs

30-day change

Increase +0.07 pp

From 0.76% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • githubUnverified

    Pocs

    Maturity: poc

  • referenceUnverified

    Exploit Reference (vuldb.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu8 products
  • darktableAll versions (No fix recorded)
  • dcrawAll versions (No fix recorded)
  • digikamAll versions (No fix recorded)
  • exactimageAll versions (No fix recorded)
  • kodiAll versions (No fix recorded)
Debian1 product
  • libraw< 0.20.2-2.1+deb12u2 | < 0.21.4-2+deb13u1 | < 0.22.1-1
Libraw1 product

3 vendors · 10 products

References

13 links
Show all 13 references