5.3

CVE-2026-5318: libraw

CVSS: 5.3v4.0MediumAnalyzed
AliasesUBUNTU-CVE-2026-5318DEBIAN-CVE-2026-5318
Published 02-04-2026Last modified 07-04-2026

Vulnerability summary

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

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

Timeline

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

Description

A weakness has been identified in LibRaw up to 0.22.0. This impacts the function HuffTable::initval of the file src/decompressors/losslessjpeg.cpp of the component JPEG DHT Parser. This manipulation of the argument bits[] causes out-of-bounds write. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 0.22.1 will fix this issue. Patch name: a6734e867b19d75367c05f872ac26322464e3995. It is advisable to upgrade the affected component.

CVSS metrics

10 scores · 4 sources · 4 versions

EPSS trend

Probability

0.78%

Chance of exploitation in the next 30 days

Percentile

56%

Versus all other CVEs

30-day change

+0.16 pp

From 0.63% on 22-09-2026

22-09-202622-10-2026
EPSS score
0.78%

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

Ubuntu7 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.22.1-1
Libraw1 product

3 vendors · 9 products

References

12 links
Show all 12 references