CVE-2026-21413
Fixed in a distro release EPSS 1%CVSS 9.8
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.
Products: LibRaw, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On, Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.6 Telecommunications Update Service, Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions, Red Hat Enterprise Linux 8.8 Telecommunications Update Service, Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.4 Extended Update Support, Red Hat Enterprise Linux 9.6 Extended Update Support, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | LibRaw | 0.19.5-6.el8_10 |
| AlmaLinux 8 | LibRaw-devel | 0.19.5-6.el8_10 |
| AlmaLinux 9 | LibRaw | 0.21.1-2.el9_7 |
| AlmaLinux 9 | LibRaw | 0.21.1-2.el9_8 |
| AlmaLinux 9 | LibRaw-devel | 0.21.1-2.el9_7 |
| AlmaLinux 9 | LibRaw-devel | 0.21.1-2.el9_8 |
| Debian 12 | libraw | 0.20.2-2.1+deb12u2 |
| Debian 13 | libraw | 0.21.4-2+deb13u1 |
| Debian 14 | libraw | 0.22.1-1 |
| Red Hat Enterprise Linux 8 | LibRaw | 0:0.19.5-6.el8_10 |
| Red Hat Enterprise Linux 8 | LibRaw-debuginfo | 0:0.19.5-6.el8_10 |
| Red Hat Enterprise Linux 8 | LibRaw-debugsource | 0:0.19.5-6.el8_10 |
| Red Hat Enterprise Linux 8 | LibRaw-devel | 0:0.19.5-6.el8_10 |
| Red Hat Enterprise Linux 8 | LibRaw-samples-debuginfo | 0:0.19.5-6.el8_10 |
| Red Hat Enterprise Linux 9 | LibRaw | 0:0.21.1-2.el9_7 |
| Red Hat Enterprise Linux 9 | LibRaw | 0:0.21.1-2.el9_8 |
| Red Hat Enterprise Linux 9 | LibRaw-debuginfo | 0:0.21.1-2.el9_7 |
| Red Hat Enterprise Linux 9 | LibRaw-debuginfo | 0:0.21.1-2.el9_8 |
| Red Hat Enterprise Linux 9 | LibRaw-debugsource | 0:0.21.1-2.el9_7 |
| Red Hat Enterprise Linux 9 | LibRaw-debugsource | 0:0.21.1-2.el9_8 |
| Red Hat Enterprise Linux 9 | LibRaw-devel | 0:0.21.1-2.el9_7 |
| Red Hat Enterprise Linux 9 | LibRaw-devel | 0:0.21.1-2.el9_8 |
| Red Hat Enterprise Linux 9 | LibRaw-samples-debuginfo | 0:0.21.1-2.el9_7 |
| Red Hat Enterprise Linux 9 | LibRaw-samples-debuginfo | 0:0.21.1-2.el9_8 |
| Red Hat rhel aus 8.4 | LibRaw | 0:0.19.5-2.el8_4.1 |
| Red Hat rhel aus 8.4 | LibRaw-debuginfo | 0:0.19.5-2.el8_4.1 |
| Red Hat rhel aus 8.4 | LibRaw-debugsource | 0:0.19.5-2.el8_4.1 |
| Red Hat rhel aus 8.4 | LibRaw-samples-debuginfo | 0:0.19.5-2.el8_4.1 |
| Red Hat rhel aus 8.6 | LibRaw | 0:0.19.5-3.el8_6.1 |
| Red Hat rhel aus 8.6 | LibRaw-debuginfo | 0:0.19.5-3.el8_6.1 |
| Red Hat rhel aus 8.6 | LibRaw-debugsource | 0:0.19.5-3.el8_6.1 |
| Red Hat rhel aus 8.6 | LibRaw-samples-debuginfo | 0:0.19.5-3.el8_6.1 |
| Red Hat rhel e4s 8.6 | LibRaw | 0:0.19.5-3.el8_6.1 |
| Red Hat rhel e4s 8.6 | LibRaw-debuginfo | 0:0.19.5-3.el8_6.1 |
| Red Hat rhel e4s 8.6 | LibRaw-debugsource | 0:0.19.5-3.el8_6.1 |
| Red Hat rhel e4s 8.6 | LibRaw-samples-debuginfo | 0:0.19.5-3.el8_6.1 |
| Red Hat rhel e4s 8.8 | LibRaw | 0:0.19.5-3.el8_8.1 |
| Red Hat rhel e4s 8.8 | LibRaw-debuginfo | 0:0.19.5-3.el8_8.1 |
| Red Hat rhel e4s 8.8 | LibRaw-debugsource | 0:0.19.5-3.el8_8.1 |
| Red Hat rhel e4s 8.8 | LibRaw-samples-debuginfo | 0:0.19.5-3.el8_8.1 |
| Red Hat rhel e4s 9.0 | LibRaw | 0:0.20.2-6.el9_0 |
| Red Hat rhel e4s 9.0 | LibRaw-debuginfo | 0:0.20.2-6.el9_0 |
| Red Hat rhel e4s 9.0 | LibRaw-debugsource | 0:0.20.2-6.el9_0 |
| Red Hat rhel e4s 9.0 | LibRaw-samples-debuginfo | 0:0.20.2-6.el9_0 |
| Red Hat rhel e4s 9.2 | LibRaw | 0:0.20.2-6.el9_2 |
| Red Hat rhel e4s 9.2 | LibRaw-debuginfo | 0:0.20.2-6.el9_2 |
| Red Hat rhel e4s 9.2 | LibRaw-debugsource | 0:0.20.2-6.el9_2 |
| Red Hat rhel e4s 9.2 | LibRaw-samples-debuginfo | 0:0.20.2-6.el9_2 |
| Red Hat rhel eus 9.4 | LibRaw | 0:0.21.1-2.el9_4 |
| Red Hat rhel eus 9.4 | LibRaw-debuginfo | 0:0.21.1-2.el9_4 |
| Red Hat rhel eus 9.4 | LibRaw-debugsource | 0:0.21.1-2.el9_4 |
| Red Hat rhel eus 9.4 | LibRaw-devel | 0:0.21.1-2.el9_4 |
| Red Hat rhel eus 9.4 | LibRaw-samples-debuginfo | 0:0.21.1-2.el9_4 |
| Red Hat rhel eus 9.6 | LibRaw | 0:0.21.1-2.el9_6 |
| Red Hat rhel eus 9.6 | LibRaw-debuginfo | 0:0.21.1-2.el9_6 |
| Red Hat rhel eus 9.6 | LibRaw-debugsource | 0:0.21.1-2.el9_6 |
| Red Hat rhel eus 9.6 | LibRaw-devel | 0:0.21.1-2.el9_6 |
| Red Hat rhel eus 9.6 | LibRaw-samples-debuginfo | 0:0.21.1-2.el9_6 |
| Red Hat rhel eus long life 8.4 | LibRaw | 0:0.19.5-2.el8_4.1 |
| Red Hat rhel eus long life 8.4 | LibRaw-debuginfo | 0:0.19.5-2.el8_4.1 |
| Red Hat rhel eus long life 8.4 | LibRaw-debugsource | 0:0.19.5-2.el8_4.1 |
| Red Hat rhel eus long life 8.4 | LibRaw-samples-debuginfo | 0:0.19.5-2.el8_4.1 |
| Red Hat rhel tus 8.6 | LibRaw | 0:0.19.5-3.el8_6.1 |
| Red Hat rhel tus 8.6 | LibRaw-debuginfo | 0:0.19.5-3.el8_6.1 |
| Red Hat rhel tus 8.6 | LibRaw-debugsource | 0:0.19.5-3.el8_6.1 |
| Red Hat rhel tus 8.6 | LibRaw-samples-debuginfo | 0:0.19.5-3.el8_6.1 |
| Red Hat rhel tus 8.8 | LibRaw | 0:0.19.5-3.el8_8.1 |
| Red Hat rhel tus 8.8 | LibRaw-debuginfo | 0:0.19.5-3.el8_8.1 |
| Red Hat rhel tus 8.8 | LibRaw-debugsource | 0:0.19.5-3.el8_8.1 |
| Red Hat rhel tus 8.8 | LibRaw-samples-debuginfo | 0:0.19.5-3.el8_8.1 |
| Rocky Linux 8 | LibRaw | 0:0.19.5-6.el8_10 |
| Rocky Linux 9 | LibRaw | 0:0.21.1-2.el9_7 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | libraw | 0.20.2-150400.3.21.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | libraw | 0.20.2-150400.3.21.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | libraw | 0.20.2-150400.3.21.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | libraw | 0.20.2-150400.3.21.1 |
| SUSE Linux Enterprise Module for Desktop Applications 15 SP7 | libraw | 0.21.1-150600.3.10.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | libraw | 0.21.1-150600.3.10.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | libraw | 0.20.2-150400.3.21.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | libraw | 0.20.2-150400.3.21.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | libraw | 0.21.1-150600.3.10.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | libraw | 0.20.2-150400.3.21.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | libraw | 0.20.2-150400.3.21.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | libraw | 0.21.1-150600.3.10.1 |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | libraw | 0.21.1-150600.3.10.1 |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | libraw | 0.18.9-150000.3.33.1 |
| Ubuntu 16.04 LTS | darktable | no fix |
| Ubuntu 16.04 LTS | dcraw | no fix |
| Ubuntu 16.04 LTS | exactimage | no fix |
| Ubuntu 16.04 LTS | kodi | no fix |
| Ubuntu 16.04 LTS | rawtherapee | no fix |
| Ubuntu 16.04 LTS | ufraw | no fix |
| Ubuntu 18.04 LTS | darktable | no fix |
| Ubuntu 18.04 LTS | dcraw | no fix |
| Ubuntu 18.04 LTS | exactimage | no fix |
| Ubuntu 18.04 LTS | kodi | no fix |
| Ubuntu 18.04 LTS | rawtherapee | no fix |
| Ubuntu 18.04 LTS | ufraw | no fix |
| Ubuntu 20.04 LTS | darktable | no fix |
| Ubuntu 20.04 LTS | dcraw | no fix |
| Ubuntu 20.04 LTS | exactimage | no fix |
| Ubuntu 20.04 LTS | kodi | no fix |
| Ubuntu 20.04 LTS | libraw | no fix |
| Ubuntu 20.04 LTS | rawtherapee | no fix |
| Ubuntu 22.04 LTS | darktable | no fix |
| Ubuntu 22.04 LTS | dcraw | no fix |
| Ubuntu 22.04 LTS | exactimage | no fix |
| Ubuntu 22.04 LTS | kodi | no fix |
| Ubuntu 22.04 LTS | libraw | 0.20.2-2ubuntu2.22.04.3 |
| Ubuntu 22.04 LTS | rawtherapee | no fix |
| Ubuntu 24.04 LTS | darktable | no fix |
| Ubuntu 24.04 LTS | dcraw | no fix |
| Ubuntu 24.04 LTS | digikam | no fix |
| Ubuntu 24.04 LTS | exactimage | no fix |
| Ubuntu 24.04 LTS | kodi | no fix |
| Ubuntu 24.04 LTS | libraw | 0.21.2-2.1ubuntu0.24.04.2 |
| Ubuntu 24.04 LTS | rawtherapee | no fix |
| Ubuntu 25.10 | darktable | no fix |
| Ubuntu 25.10 | dcraw | no fix |
| Ubuntu 25.10 | digikam | no fix |
| Ubuntu 25.10 | exactimage | no fix |
| Ubuntu 25.10 | kodi | no fix |
| Ubuntu 25.10 | libraw | no fix |
| Ubuntu 25.10 | rawtherapee | no fix |
| Ubuntu 26.04 LTS | darktable | no fix |
| Ubuntu 26.04 LTS | dcraw | no fix |
| Ubuntu 26.04 LTS | digikam | no fix |
| Ubuntu 26.04 LTS | exactimage | no fix |
| Ubuntu 26.04 LTS | kodi | no fix |
| Ubuntu 26.04 LTS | libraw | 0.21.5b-1ubuntu1.1 |
| Ubuntu 26.04 LTS | rawtherapee | no fix |
| Ubuntu 26.10 | darktable | no fix |
| Ubuntu 26.10 | dcraw | no fix |
| Ubuntu 26.10 | digikam | no fix |
| Ubuntu 26.10 | exactimage | no fix |
| Ubuntu 26.10 | kodi | no fix |
| Ubuntu 26.10 | rawtherapee | no fix |
| Ubuntu Pro 16.04 LTS | digikam | no fix |
| Ubuntu Pro 16.04 LTS | libraw | no fix |
| Ubuntu Pro 18.04 LTS | digikam | no fix |
| Ubuntu Pro 18.04 LTS | libraw | no fix |
| Ubuntu Pro 20.04 LTS | digikam | no fix |
| Ubuntu Pro 22.04 LTS | digikam | no fix |
| openSUSE Leap 16.0 | libraw | 0.21.4-160000.3.1 |
| openSUSE Tumbleweed | libraw | 0.22.1-1.1 |