CVE-2026-20889Integer Overflow or Wraparound 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 x3f_thumb_loader functionality of LibRaw 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 d20315b
NVDlibraw/libraw0.22.0
debiandebian/libraw

🔴Vulnerability Details

2
OSV
CVE-2026-20889: A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader functionality of LibRaw Commit d20315b2026-04-07
GHSA
GHSA-9m8r-gj3p-r7rw: A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader functionality of LibRaw Commit d20315b2026-04-07

📋Vendor Advisories

2
Red Hat
LibRaw: LibRaw: Arbitrary code execution via specially crafted image file2026-04-07
Debian
CVE-2026-20889: libraw - A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader functi...2026

🕵️Threat Intelligence

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

💬Community

9
Bugzilla
CVE-2026-20889 libraw1394: LibRaw: Arbitrary code execution via specially crafted image file [epel-all]2026-04-07
Bugzilla
CVE-2026-20889 mingw-LibRaw: LibRaw: Arbitrary code execution via specially crafted image file [fedora-all]2026-04-07
Bugzilla
CVE-2026-20889 LibRaw: LibRaw: Arbitrary code execution via specially crafted image file [fedora-all]2026-04-07
Bugzilla
CVE-2026-20889 digikam: LibRaw: Arbitrary code execution via specially crafted image file [epel-all]2026-04-07
Bugzilla
CVE-2026-20889 libraw1394: LibRaw: Arbitrary code execution via specially crafted image file [fedora-all]2026-04-07