Skip to content
Fencer Vulns
critical 9.8

CVE-2026-21413 json

A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw functionality of...

published 2026-04-07 7 mo ago modified 2026-10-13 26 d ago also EUVD-2026-19624 , GHSA-g53g-r75r-95g5 , JLSEC-2026-1115

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 72%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia LibRaw_jll 0.22.2+0
  • Red Hat Red Hat Enterprise Linux 8 0:0.19.5-6.el8_10
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:0.19.5-2.el8_4.1
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On 0:0.19.5-2.el8_4.1
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 0:0.19.5-3.el8_6.1
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service 0:0.19.5-3.el8_6.1
  • Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions 0:0.19.5-3.el8_6.1
  • Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service 0:0.19.5-3.el8_8.1
  • Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions 0:0.19.5-3.el8_8.1
  • Red Hat Red Hat Enterprise Linux 9 0:0.21.1-2.el9_7, 0:0.21.1-2.el9_8
  • Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions 0:0.20.2-6.el9_0
  • Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions 0:0.20.2-6.el9_2
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support 0:0.21.1-2.el9_4
  • Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support 0:0.21.1-2.el9_6
  • libraw Debian 12 0.20.2-2.1+deb12u2
  • libraw Debian 13 0.21.4-2+deb13u1
  • libraw Debian 14 0.22.1-1

debian advisories DEBIAN-CVE-2026-21413

  • libraw Ubuntu 22.04 LTS 0.20.2-2ubuntu2.22.04.3
  • libraw Ubuntu 24.04 LTS 0.21.2-2.1ubuntu0.24.04.2
  • libraw Ubuntu 26.04 LTS 0.21.5b-1ubuntu1.1

ubuntu advisories UBUNTU-CVE-2026-21413

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • LibRaw RHEL 9 0.21.1-2.el9_8
  • LibRaw RHEL 8 0.19.5-6.el8_10
  • LibRaw RHEL 9 0.21.1-2.el9_7
  • LibRaw RHEL 8.8 TUS, RHEL 8.8 E4S 0.19.5-3.el8_8.1
  • LibRaw RHEL 8.6 TUS, RHEL 8.6 E4S, RHEL 8.6 AUS 0.19.5-3.el8_6.1
  • LibRaw RHEL 8.4 EUS_LONG_LIFE, RHEL 8.4 AUS 0.19.5-2.el8_4.1
  • LibRaw RHEL 9.4 EUS 0.21.1-2.el9_4
  • LibRaw RHEL 9.2 E4S 0.20.2-6.el9_2

red hat advisories RHSA-2026:19345RHSA-2026:14673RHSA-2026:14655RHSA-2026:14224RHSA-2026:13870RHSA-2026:13868

  • libraw SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 0.20.2-150400.3.21.1
  • libraw SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Workstation Extension 15 SP7 +2 more 0.21.1-150600.3.10.1
  • libraw SLE Workstation Extension 15 SP7 0.18.9-150000.3.33.1

suse advisories SUSE-SU-2026:1556-1SUSE-SU-2026:1555-1SUSE-SU-2026:1438-1

  • libraw openSUSE Leap 16.0 0.21.4-160000.3.1
  • libraw openSUSE Tumbleweed 0.22.1-1.1

opensuse advisories openSUSE-SU-2026:20574-1openSUSE-SU-2026:10565-1

  • LibRaw AlmaLinux 9 0.21.1-2.el9_8
  • LibRaw AlmaLinux 8 0.19.5-6.el8_10
  • LibRaw AlmaLinux 9 0.21.1-2.el9_7

almalinux advisories ALSA-2026:19345ALSA-2026:13284ALSA-2026:11360

  • LibRaw Rocky Linux 9 0.21.1-2.el9_7
  • LibRaw Rocky Linux 8 0.19.5-6.el8_10

rocky linux advisories RLSA-2026:19345RLSA-2026:13284RLSA-2026:11360

  • libraw Alpine 3.24 0.22.1-r0

alpine advisories ALPINE-CVE-2026-21413

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-21413 updated cvss 7.5

LibRaw: LibRaw: Arbitrary code execution via heap-based buffer overflow in lossless JPEG loading

  • Red Hat Enterprise Linux 6 libraw1394 Red Hat Enterprise Linux 7 LibRaw, libraw1394
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 libraw1394
    affected: workaround, no fix planned “Will not fix”
  • Red Hat CodeReady Linux Builder EUS (v.9.4) LibRaw-devel 0.21.1-2.el9_4, LibRaw-debuginfo 0.21.1-2.el9_4, LibRaw-debugsource 0.21.1-2.el9_4, LibRaw-samples-debuginfo 0.21.1-2.el9_4
    fixed: vendor fix RHSA-2026:13870
  • Red Hat CodeReady Linux Builder EUS (v.9.6) LibRaw-devel 0.21.1-2.el9_6, LibRaw-debuginfo 0.21.1-2.el9_6, LibRaw-debugsource 0.21.1-2.el9_6, LibRaw-samples-debuginfo 0.21.1-2.el9_6
    fixed: vendor fix RHSA-2026:13854
  • Red Hat Enterprise Linux AppStream (v. 8) LibRaw 0.19.5-6.el8_10
    fixed: vendor fix RHSA-2026:13284
  • Red Hat Enterprise Linux AppStream (v. 9) LibRaw 0.21.1-2.el9_7, LibRaw 0.21.1-2.el9_8
    fixed: vendor fix RHSA-2026:11360
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) LibRaw 0.19.5-2.el8_4.1
    fixed: vendor fix RHSA-2026:14224
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) LibRaw 0.19.5-3.el8_6.1 Red Hat Enterprise Linux AppStream E4S (v.8.6) LibRaw 0.19.5-3.el8_6.1
    fixed: vendor fix RHSA-2026:14655
show 10 more
  • Red Hat Enterprise Linux AppStream E4S (v.8.8) LibRaw 0.19.5-3.el8_8.1
    fixed: vendor fix RHSA-2026:14673
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) LibRaw 0.20.2-6.el9_0
    fixed: vendor fix RHSA-2026:13860
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) LibRaw 0.20.2-6.el9_2
    fixed: vendor fix RHSA-2026:13868
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) LibRaw 0.21.1-2.el9_4
    fixed: vendor fix RHSA-2026:13870
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) LibRaw 0.21.1-2.el9_6
    fixed: vendor fix RHSA-2026:13854
  • Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) LibRaw 0.19.5-2.el8_4.1
    fixed: vendor fix RHSA-2026:14224
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) LibRaw 0.19.5-3.el8_6.1
    fixed: vendor fix RHSA-2026:14655
  • Red Hat Enterprise Linux AppStream TUS (v.8.8) LibRaw 0.19.5-3.el8_8.1
    fixed: vendor fix RHSA-2026:14673
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) LibRaw-devel 0.21.1-2.el9_7, LibRaw-devel 0.21.1-2.el9_8, LibRaw-debuginfo 0.21.1-2.el9_7, LibRaw-debuginfo 0.21.1-2.el9_8, LibRaw-debugsource 0.21.1-2.el9_7, LibRaw-debugsource 0.21.1-2.el9_8, +2 more
    fixed: vendor fix RHSA-2026:11360
  • Red Hat Enterprise Linux CRB (v. 8) LibRaw-devel 0.19.5-6.el8_10, LibRaw-debuginfo 0.19.5-6.el8_10, LibRaw-debugsource 0.19.5-6.el8_10, LibRaw-samples-debuginfo 0.19.5-6.el8_10
    fixed: vendor fix RHSA-2026:13284

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
26 d ago

Exploit prediction

1.41% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • talosintelligence.com https://talosintelligence.com/vulnerability_reports/TALOS-2026-2331 referenced PoC, tagged "exploit" by a source, unverified
  • talosintelligence.com https://www.talosintelligence.com/vulnerability_reports/TALOS-2026-2331 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
julia LibRaw_jll
>=0.22.1+0, <0.22.2+0
0.22.2+0

Affected products

  • LibRaw LibRaw
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service
  • Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service
  • Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7

Classification

Weakness
  • CWE-129 Improper Validation of Array Index
  • CWE-787 Out-of-bounds Write

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.