Skip to main content
VulnerabilityPublished Updated

CVE-2026-5342: Darktable · A flaw has been found in LibRaw up to 0.22.0

Affects darktableSource GCVE Database

0
Compare
Authoritative record:CVE-2026-5342· Medium 6.9

Public exploit available · CVSS 6.9 Medium · fixed in 0.20.2-2ubuntu2.22.04.3 : patch darktable as a priority.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.20.2-2ubuntu2.22.04.3, 0.21.2-2.1ubuntu0.24.04.2, 0.21.5b-1ubuntu1.1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade the Ubuntu libraw to 0.20.2-2ubuntu2.22.04.3 (package) or 0.21.2-2.1ubuntu0.24.04.2 (package) or 0.21.5b-1ubuntu1.1 (package).

Affected software

ProductAffectedFixed in
Ubuntu 26.10darktablepkg:deb/ubuntu/darktable?arch=source&distro=stonkingOther threatsAffected
  • =5.4.1-1
  • =5.4.1-1build1
  • =5.4.1-1build2
Fixed in–
Ubuntu 26.10dcrawpkg:deb/ubuntu/dcraw?arch=source&distro=stonkingOther threatsAffected
  • =9.28-8build1
Fixed in–
Ubuntu 26.10digikampkg:deb/ubuntu/digikam?arch=source&distro=stonkingOther threatsAffected
  • =4:9.0.0-0ubuntu1
  • =4:9.0.0-0ubuntu2
  • =4:9.1.0-1ubuntu2
Fixed in–
Ubuntu 26.10exactimagepkg:deb/ubuntu/exactimage?arch=source&distro=stonkingOther threatsAffected
  • =1.2.1-2build2
  • =1.2.1-3build1
  • =1.2.1-3build2
Fixed in–
Ubuntu 26.10kodipkg:deb/ubuntu/kodi?arch=source&distro=stonkingOther threatsAffected
  • =2:21.3+dfsg-1ubuntu1
  • =2:21.3+dfsg-1.2
Fixed in–
Ubuntu 26.10rawtherapeepkg:deb/ubuntu/rawtherapee?arch=source&distro=stonkingOther threatsAffected
  • =5.12-2
  • =5.12-2build1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…