Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-20911: A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality of LibRaw Commit 0b5

60
This week
CRITICAL 9.8REMOTEDOWNGRADE

CVE-2026-20911 is a critical-severity flaw (CVSS 9.8) affecting libraw. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.6% (top 50%)
CISA exploited listNo
WeaknessCWE-131, CWE-120
Published2026-04-07
Last modified2026-07-15
Publisher (CNA): Talos · Vendor: libraw

Share: LinkedIn · X · Reddit

Last updated 2026-07-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

libraw libraw DOWNGRADE
Affected: 0.22.0 · 0.22.1
Fixed in: no fixed release known
Safe to downgrade to: a release before 0.22.0
1. Check installed version
apt-cache policy libraw || rpm -q libraw || libraw --version
2. No fixed release: DOWNGRADE to a release before 0.22.0 (Debian / Ubuntu)
apt-cache madison libraw sudo apt install libraw=<VERSION_BEFORE_0.22.0> sudo apt-mark hold libraw
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list libraw sudo dnf downgrade libraw-<VERSION_BEFORE_0.22.0> sudo dnf versionlock add libraw
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora 46 · python-googleapis-common-protos · FIXED · 1.75.5-1.fc46~bootstrap · FEDORA-2026-d911c4c4e6 · source
sudo dnf upgrade --advisory=FEDORA-2026-d911c4c4e6
Fedora ELN · see advisory · FIXED · FEDORA-2026-e3987c278f · source
sudo dnf upgrade --advisory=FEDORA-2026-e3987c278f
Debian 12 · libraw · NOT AFFECTED
Debian 13 · libraw · NOT AFFECTED
RHEL 6 · libraw1394 · DEFERRED
RHEL 7 · LibRaw · DEFERRED
RHEL 7 · libraw1394 · DEFERRED
RHEL 8 · LibRaw · NOT AFFECTED
RHEL 8 · libraw1394 · DEFERRED
Alpine 3.24 · libraw · FIXED · libraw-0.22.1-r0
apk add --upgrade libraw apk info -v libraw

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-20911?

libraw: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2026-20911 being exploited?

CVE-2026-20911 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-20911 affect?

CVE-2026-20911 affects libraw. Severity is critical (CVSS 9.8). 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 maliciou

How urgent is CVE-2026-20911?

Priority 60/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.