# CVE-2026-135177: LibRaw through 0.22.3 Out-of-Bounds Read via pentax\_4shot\_load\_raw

- Priority: **Routine**
- Reason: Not severe (CVSS 5.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-23 · Modified: 2026-11-23
- Aliases: UBUNTU-CVE-2026-135177, DEBIAN-CVE-2026-135177
- Record: https://cvemate.com/vulnerability/CVE-2026-135177 · JSON: https://cvemate.com/vulnerability/CVE-2026-135177/json

## Description

```text
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.
```

## Signals

- CVSS: 5.7 medium (v4.0, CVE.org) CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.383%, percentile 34.43%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libraw (Debian): All versions (No fix recorded)
- ubuntu darktable (Ubuntu): All versions (No fix recorded)
- ubuntu dcraw (Ubuntu): All versions (No fix recorded)
- ubuntu digikam (Ubuntu): All versions (No fix recorded)
- ubuntu exactimage (Ubuntu): All versions (No fix recorded)
- ubuntu kodi (Ubuntu): All versions (No fix recorded)
- ubuntu libraw (Ubuntu): All versions (No fix recorded)
- ubuntu rawtherapee (Ubuntu): All versions (No fix recorded)
- ubuntu ufraw (Ubuntu): All versions (No fix recorded)
- libraw libraw: ≤ 0.22.3

## References

- <https://github.com/LibRaw/LibRaw/issues/890>
- <https://github.com/LibRaw/LibRaw/blob/0.22.3/src/decoders/decoders_libraw.cpp#L104-L114>
- <https://www.vulncheck.com/advisories/libraw-through-0.22.3-out-of-bounds-read-via-pentax-4shot-load-raw>
- <https://ubuntu.com/security/CVE-2026-135177>
- <https://www.cve.org/CVERecord?id=CVE-2026-135177>
- <https://security-tracker.debian.org/tracker/CVE-2026-135177>

---

Data as of 2026-12-05T04:08:12.328Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
