Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135177: medium-severity vulnerability (CVSS 5.7) in LibRaw LibRaw.
What happened
Original description from the source: 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
Medium severity, CVSS 5.7.
Affected products and versions
LibRaw LibRaw <= 0.22.3
| Product | Versions | Fixed in |
|---|---|---|
| LibRaw LibRaw | <= 0.22.3 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/LibRaw/LibRaw/issues/890 — CVE Program
- https://github.com/LibRaw/LibRaw/blob/0.22.3/src/decoders/decoders_libraw.cpp#L104-L114 — CVE Program
- https://www.vulncheck.com/advisories/libraw-through-0.22.3-out-of-bounds-read-via-pentax-4shot-load-raw — CVE Program
Weaknesses (CWE): CWE-125
Relevant change history
Published
Preliminary advisory published.