LibRaw Out-of-Bounds Read in pentax_4shot_load_raw
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
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
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 →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-11-23 Threatist record created from CVE-2026-135177
- 2026-11-23 CISA SSVC decision points changed
- 2026-11-23 Alias added: GHSA-p6p7-qgq3-v93f
- 2026-11-27 Affected versions changed · Red Hat
- 2026-11-27 CVSS score added · Red Hat
References
More LibRaw vulnerabilities
- 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
Sources
- CVE-2026-135177 · CVE Program
- CVE-2026-135177 · NVD
- FIRST EPSS
- GHSA-p6p7-qgq3-v93f · GitHub Advisory Database · CC BY 4.0
- CVE-2026-135177 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences