6.9

CVE-2026-5342: libraw

CVSS: 6.9v4.0MediumAnalyzed
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.98% chance of exploitation in the next 30 days, higher than 61.6% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
38/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.98%
0%100%
Low · +0.24 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github, reference

Advisory lineage

Upstream 0 · Downstream 5 · 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.98%

Chance of exploitation in the next 30 days

Percentile

62%

Versus all other CVEs

30-day change

+0.24 pp

From 0.73% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.98%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • githubUnverified

    Pocs

    Maturity: poc

  • referenceUnverified

    Exploit Reference (vuldb.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

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