Skip to content

LibRaw

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?

ProductAffected 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

FactorValueEvidence×
ImpactDenial of serviceCrash or resource exhaustion onlyFrom the CVSS vector0.40
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.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
  1. Prerequisites multiplied together0.071
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.4 × prerequisites 0.0709 × threat 0.950.269
  4. Rounded to one decimal between 0.1 and 100.3

How the score works

Exploitation and evidence timeline

  1. 23 Nov 2026 Published
  2. 3 Dec 2026 Reference tagged as exploit first seen
  3. 3 Dec 2026 CISA SSVC: proof of concept first seen
  4. 3 Dec 2026 Risk 0.3 (cvss fallback)

Weakness

CWE-125

References

Get alerts for LibRaw

Free email or text alerts when a vulnerability in LibRaw reaches risk 8 or higher. Nothing else.