Read the docs

LibRaw Out-of-Bounds Read in pentax_4shot_load_raw

Priority MEDIUM 59CWE-125Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
High
Attack requirements
Present
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Deferred Red Hat: fix deferred

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-125 and the CVSS impact.

Summary

LibRaw through 0.22.3 contains an out-of-bounds read in LibRaw::pentax_4shot_load_raw() that scans tiff_ifd[] beyond its 10 entries (CWE-125). An attacker can supply a crafted four-frame Pentax DNG with too few IFDs for the raw dimensions, which crashes the application when LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES is enabled.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

LibRaw through 0.22.3 contains an out-of-bounds read vulnerability in LibRaw::pentax_4shot_load_raw() that allows attackers to crash applications by scanning tiff_ifd[] beyond its 10 entries. Attackers can supply a crafted four-frame Pentax DNG with too few IFDs matching the raw dimensions to cause denial of service when LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES is enabled.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00383 24th percentileScored 2026-11-30
Fix Deferred Red Hat: fix deferred

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
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
LibRawLibRawup to 0.22.3—No fix listedCNA
  • LibRaw VendorLibRaw Affected up to 0.22.3 Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*——LibRaw
  • cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:* Versions — — ·LibRaw

Remediation

The sources list no fixed version for LibRaw. Red Hat rates this Moderate and lists Red Hat Enterprise Linux 6 as affected with no fix planned, and Red Hat Enterprise Linux 7, 8, 9 and 10 as affected with no fix available.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
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-11-23 Threatist record created from CVE-2026-135177
  2. 2026-11-23 CISA SSVC decision points changed
  3. 2026-11-23 Alias added: GHSA-p6p7-qgq3-v93f
  4. 2026-11-27 Affected versions changed · Red Hat
  5. 2026-11-27 CVSS score added · Red Hat

References

  • TI-2026-04674 LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds CVSS 4.0MEDIUM 6.9
  • TI-2020-14361 Buffer Overflow vulnerability in LibRaw::stretch() function in libraw\src\postprocessing\aspect_ratio.cpp. CVSS 3.1MEDIUM 6.5
  • TI-2026-96754 Heap out-of-bounds write in LibRaw xtrans_interpolate CVSS 4.0MEDIUM 5.8
  • TI-2026-04650 LibRaw JPEG DHT losslessjpeg.cpp initval out-of-bounds write CVSS 4.0MEDIUM 5.3
  • TI-2026-16915 Integer overflow in LibRaw CVSS 3.1CRITICAL 9.8
  • TI-2015-06888 The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory… CVSS 3.1CRITICAL 9.8
See all 68 →

Sources