Buffer overflow in Libraw

CVE-2026-21413

A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw functionality of LibRaw Commit 0b56545 and 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.

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.009 (59.1th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 59th percentile — 59.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-21413: held from 0.009 to 0.009.

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

Affected products

  • Libraw — versions 0.22.1, 0.22.0, Commit d20315b

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-21413?
CVE-2026-21413 is a critical-severity vulnerability in Libraw, classified under Improper Validation of Array Index. CVSS score: 9.8/10. Published 2026-04-07.
How severe is CVE-2026-21413?
Critical severity. CVSS v3 base score is 9.8 out of 10.