Buffer overflow in Libraw

CVE-2026-20911

A heap-based buffer overflow vulnerability exists in the HuffTable::initval 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.006, 51.3th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Libraw — versions 0.22.1, 0.22.0, Commit d20315b

Weakness classification (CWE)

References