Read the docs
TI-2026-04674 Aliases CVE-2026-5342GHSA-jp35-q64r-j6gf

LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds

Priority HIGH 70CWE-119Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 4 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.

Summary

A flaw has been found in LibRaw up to 0.22.0. This affects the function LibRaw::nikon_load_padded_packed_raw of the file src/decoders/decoders_libraw.cpp of the component TIFF/NEF. Executing a manipulation of the argument load_flags/raw_width can lead to out-of-bounds read. It is possible to launch the attack remotely. The exploit has been published and may be used. Upgrading to version 0.22.1 mitigates this issue. This patch is called b8397cd45657b84e88bd1202528d1764265f185c. It is advisable to upgrade the affected component.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00764 55th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA and NVD
Fix Partial LibRaw: 0.22.1Red Hat: 4 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—LibRaw0.1; 0.2; 0.3; 0.4; 0.5; 0.6; 0.7; 0.8; 0.9; 0.10; 0.11; 0.12; 0.13; 0.14; 0.15; 0.16; 0.17; 0.18; 0.19; 0.20; 0.21; 0.22.00.22.1Patch availableCNA
  • LibRaw Vendor— Affected 0.1; 0.2; 0.3; 0.4; 0.5; 0.6; 0.7; 0.8; 0.9; 0.10; 0.11; 0.12; 0.13; 0.14; 0.15; 0.16; 0.17; 0.18; 0.19; 0.20; 0.21; 0.22.0 Fixed in 0.22.1 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*before 0.22.1VulnerableLibRaw
  • cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:* Versions before 0.22.1 Vulnerable ·LibRaw

Remediation

  • Fix · CNA LibRaw Fixed in 0.22.1

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-5342
  2. 2026-10-03 Alias added: GHSA-jp35-q64r-j6gf

References

  • TI-2020-14361 Buffer Overflow vulnerability in LibRaw::stretch() function in libraw\src\postprocessing\aspect_ratio.cpp. CVSS 3.1MEDIUM 6.5
  • TI-2026-04650 LibRaw JPEG DHT losslessjpeg.cpp initval out-of-bounds write CVSS 4.0MEDIUM 5.3
  • TI-2015-06888 The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory… CVSS 3.1CRITICAL 9.8
  • TI-2026-16934 A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality… CVSS 3.1CRITICAL 9.8
  • TI-2026-16915 Integer overflow in LibRaw CVSS 3.1CRITICAL 9.8
  • TI-2015-06887 Array index error in smal_decode_segment function in LibRaw before 0.17.1 allows… CVSS 3.1CRITICAL 9.8
See all 62 →

Sources