Buffer overflow in Libraw

CVE-2026-20889

A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader functionality of LibRaw Commit d20315b. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

Vulnerability class: Integer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.008 (55.1th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 55th percentile — 55.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-20889: held from 0.008 to 0.008.

EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: 0.000

Affected products

  • Libraw — versions 0.22.0, Commit d20315b

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-20889?
CVE-2026-20889 is a critical-severity vulnerability in Libraw, classified under Integer Overflow or Wraparound. CVSS score: 9.8/10. Published 2026-04-07.
How severe is CVE-2026-20889?
Critical severity. CVSS v3 base score is 9.8 out of 10.