cve.bz

CVE-2026-20911 libraw libraw: Incorrect Calculation of Buffer Size

9.8 criticalExploit referenceEPSS 0.6%

Critical (9.8) in libraw libraw. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-04-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-131 Incorrect Calculation of Buffer Size
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-20911 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-20911?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-20911?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-20911 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libraw:libraw0.22.0
libraw:libraw0.22.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14libraw0.22.1-1DEBIAN-CVE-2026-20911
Ubuntu16.04:LTSkodi, dcraw, ufraw and 1 moreno fix listedUBUNTU-CVE-2026-20911
Ubuntu18.04:LTS, 20.04:LTSdcraw, exactimage, rawtherapeeno fix listedUBUNTU-CVE-2026-20911
Ubuntu22.04:LTSdcraw, darktable, rawtherapeeno fix listedUBUNTU-CVE-2026-20911
Ubuntu24.04:LTSdcraw, digikam, rawtherapeeno fix listedUBUNTU-CVE-2026-20911
Ubuntu25.10, 26.10kodi, dcraw, digikam and 3 moreno fix listedUBUNTU-CVE-2026-20911
Ubuntu26.04:LTSdcraw, digikam, darktable and 2 moreno fix listedUBUNTU-CVE-2026-20911
UbuntuPro:18.04:LTS, Pro:20.04:LTS, Pro:22.04:LTSdigikamno fix listedUBUNTU-CVE-2026-20911
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morelibraw0.20.2-150400.3.21.1SUSE-SU-2026:1556-1
SUSELinux Enterprise Module for Desktop Applications 15 SP7, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Server 15 SP6-LTSS and 2 morelibraw0.21.1-150600.3.10.1SUSE-SU-2026:1555-1
SUSELinux Enterprise Workstation Extension 15 SP7libraw0.18.9-150000.3.33.1SUSE-SU-2026:1438-1
openSUSELeap 16.0libraw0.21.4-160000.3.1openSUSE-SU-2026:20574-1
openSUSETumbleweedlibraw0.22.1-1.1openSUSE-SU-2026:10565-1
Alpinev3.24libraw0.22.1-r0ALPINE-CVE-2026-20911
Azure Linux3LibRawno fix listedAZL-82943

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

LibRaw is not installed by default on Red Hat systems. A user would need to manually install and make available an affected code path for this vulnerability to be exploitable.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6libraw1394Out of support scope
Red Hat Enterprise Linux 7LibRawOut of support scope
Red Hat Enterprise Linux 7libraw1394Will not fix
Red Hat Enterprise Linux 8LibRawNot affected
Red Hat Enterprise Linux 8libraw1394Will not fix
Red Hat Enterprise Linux 9LibRawNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-20911.

Attack patterns (CAPEC)

  • CAPEC-47 Buffer Overflow via Parameter Expansion Likelihood: Medium · Severity: High
  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON