LibRaw through 0.22.3 Out-of-Bounds Read via pentax_4shot_load_raw
CVE-2026-135177Published 23 Nov 2026, 14:38 UTC
Real-world risk
0.3/ 10Low
Routine
If the vulnerable configuration applies to you: 0.6
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.7
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| LibRawNiche | <= 0.22.3 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.4% chance of exploitation in 30 days (percentile 34), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.071
- Threat T3: Public proof of concept0.950
- 10 × impact 0.4 × prerequisites 0.0709 × threat 0.950.269
- Rounded to one decimal between 0.1 and 100.3
Exploitation and evidence timeline
- 23 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.3 (cvss fallback)
Weakness
CWE-125
References
- https://github.com/LibRaw/LibRaw/issues/890exploit, issue-tracking
- https://github.com/LibRaw/LibRaw/blob/0.22.3/src/decoders/decoders_libraw.cpp#L104-L114technical-description
- https://www.vulncheck.com/advisories/libraw-through-0.22.3-out-of-bounds-read-via-pentax-4shot-load-rawthird-party-advisory
- CVE-2026-135177 on CVE.org