Vulnerability · Published Apr 7, 2026 · Assigned by talos

CVE-2026-21413

Critical 9.8

In plain English

A critical-severity out-of-bounds write in LibRaw from LibRaw. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.4%top 27.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8LibRaw0.19.5-6.el8_10ALSA-2026:13284
AlmaLinux:9LibRaw0.21.1-2.el9_8ALSA-2026:19345
AlmaLinux:9LibRaw0.21.1-2.el9_7ALSA-2026:11360
AlmaLinux:8LibRaw-devel0.19.5-6.el8_10ALSA-2026:13284
AlmaLinux:9LibRaw-devel0.21.1-2.el9_8ALSA-2026:19345
AlmaLinux:9LibRaw-devel0.21.1-2.el9_7ALSA-2026:11360
Alpine:v3.24libraw0.22.1-r0ALPINE-CVE-2026-21413
Debian:12libraw0.20.2-2.1+deb12u2DEBIAN-CVE-2026-21413
Debian:13libraw0.21.4-2+deb13u1DEBIAN-CVE-2026-21413
Debian:14libraw0.22.1-1DEBIAN-CVE-2026-21413
Rocky Linux:8LibRaw0:0.19.5-6.el8_10RLSA-2026:13284
Rocky Linux:9LibRaw0:0.21.1-2.el9_7RLSA-2026:19345
Rocky Linux:9LibRaw0:0.21.1-2.el9_7RLSA-2026:11360
Ubuntu:22.04:LTSdarktableno fix listedUBUNTU-CVE-2026-21413
Ubuntu:24.04:LTSdarktableno fix listedUBUNTU-CVE-2026-21413
Ubuntu:25.10darktableno fix listedUBUNTU-CVE-2026-21413
Ubuntu:26.04:LTSdarktableno fix listedUBUNTU-CVE-2026-21413
Ubuntu:26.10darktableno fix listedUBUNTU-CVE-2026-21413
Ubuntu:22.04:LTSdcrawno fix listedUBUNTU-CVE-2026-21413
Ubuntu:24.04:LTSdcrawno fix listedUBUNTU-CVE-2026-21413
Ubuntu:25.10dcrawno fix listedUBUNTU-CVE-2026-21413
Ubuntu:26.04:LTSdcrawno fix listedUBUNTU-CVE-2026-21413
Ubuntu:26.10dcrawno fix listedUBUNTU-CVE-2026-21413
Ubuntu:24.04:LTSdigikamno fix listedUBUNTU-CVE-2026-21413
Ubuntu:25.10digikamno fix listedUBUNTU-CVE-2026-21413
Ubuntu:26.04:LTSdigikamno fix listedUBUNTU-CVE-2026-21413
Ubuntu:26.10digikamno fix listedUBUNTU-CVE-2026-21413
Ubuntu:22.04:LTSexactimageno fix listedUBUNTU-CVE-2026-21413
Ubuntu:24.04:LTSexactimageno fix listedUBUNTU-CVE-2026-21413
Ubuntu:25.10exactimageno fix listedUBUNTU-CVE-2026-21413
Ubuntu:26.04:LTSexactimageno fix listedUBUNTU-CVE-2026-21413
Ubuntu:26.10exactimageno fix listedUBUNTU-CVE-2026-21413
Ubuntu:22.04:LTSkodino fix listedUBUNTU-CVE-2026-21413
Ubuntu:24.04:LTSkodino fix listedUBUNTU-CVE-2026-21413
Ubuntu:25.10kodino fix listedUBUNTU-CVE-2026-21413
Ubuntu:26.04:LTSkodino fix listedUBUNTU-CVE-2026-21413
Ubuntu:26.10kodino fix listedUBUNTU-CVE-2026-21413
Ubuntu:22.04:LTSlibraw0.20.2-2ubuntu2.22.04.3USN-8522-1
Ubuntu:22.04:LTSlibraw0.20.2-2ubuntu2.22.04.3UBUNTU-CVE-2026-21413
Ubuntu:24.04:LTSlibraw0.21.2-2.1ubuntu0.24.04.2USN-8522-1
Ubuntu:24.04:LTSlibraw0.21.2-2.1ubuntu0.24.04.2UBUNTU-CVE-2026-21413
Ubuntu:25.10librawno fix listedUBUNTU-CVE-2026-21413
Ubuntu:26.04:LTSlibraw0.21.5b-1ubuntu1.1USN-8522-1
Ubuntu:26.04:LTSlibraw0.21.5b-1ubuntu1.1UBUNTU-CVE-2026-21413
Ubuntu:22.04:LTSrawtherapeeno fix listedUBUNTU-CVE-2026-21413
Ubuntu:24.04:LTSrawtherapeeno fix listedUBUNTU-CVE-2026-21413
Ubuntu:25.10rawtherapeeno fix listedUBUNTU-CVE-2026-21413
Ubuntu:26.04:LTSrawtherapeeno fix listedUBUNTU-CVE-2026-21413
Ubuntu:26.10rawtherapeeno fix listedUBUNTU-CVE-2026-21413

Affected products (as reported)

VendorProductVersions
LibRaw LibRaw Commit 0b56545Commit d20315b

Weakness: CWE-129, CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References