CVE-2026-20911Incorrect Calculation of Buffer Size in Libraw

Severity
9.8CRITICALNVD
EPSS
0.1%
top 83.39%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 7
Latest updateApr 16

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

CVEListV5libraw/librawCommit 0b56545, Commit d20315b+1
NVDlibraw/libraw0.22.0, 0.22.1+1
debiandebian/libraw

🔴Vulnerability Details

2
GHSA
GHSA-rc49-6x7v-hf76: A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality of LibRaw Commit 0b56545 and Commit d20315b2026-04-07
OSV
CVE-2026-20911: A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality of LibRaw Commit 0b56545 and Commit d20315b2026-04-07

📋Vendor Advisories

2
Red Hat
LibRaw: LibRaw: Arbitrary Code Execution via specially crafted file2026-04-07
Debian
CVE-2026-20911: libraw - A heap-based buffer overflow vulnerability exists in the HuffTable::initval func...2026

🕵️Threat Intelligence

2
Talos
Foxit, LibRaw vulnerabilities2026-04-16
Wiz
CVE-2026-20911 Impact, Exploitability, and Mitigation Steps | Wiz

💬Community

9
Bugzilla
CVE-2026-20911 digikam: LibRaw: Arbitrary Code Execution via specially crafted file [fedora-all]2026-04-07
Bugzilla
CVE-2026-20911 libraw1394: LibRaw: Arbitrary Code Execution via specially crafted file [fedora-all]2026-04-07
Bugzilla
CVE-2026-20911 darktable: LibRaw: Arbitrary Code Execution via specially crafted file [fedora-all]2026-04-07
Bugzilla
CVE-2026-20911 LibRaw: LibRaw: Arbitrary Code Execution via specially crafted file2026-04-07
Bugzilla
CVE-2026-20911 digikam: LibRaw: Arbitrary Code Execution via specially crafted file [epel-all]2026-04-07