CVE-2026-135177 LibRaw through 0.22.3 Out-of-Bounds Read via pentax_4shot_load_raw

Published Updated

A crafted Pentax four-frame DNG can crash applications using LibRaw with pentax raw options enabled.

CVSS score

Medium

5.7/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-135177?

CVE-2026-135177 is a medium-severity memory corruption vulnerability in LibRaw, published on 23 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-125

How severe is CVE-2026-135177?

CVE-2026-135177 scores 5.7 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Local
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
Passive
Confidentiality
None
Integrity
None
Availability
High

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

Which versions are affected by CVE-2026-135177?

1 open source package ship an affected version, including libraw/libraw.

An affected version is only exploitable if your software calls LibRaw::pentax_4shot_load_raw(). Many projects that include it are not exposed.

PackageAffectedFixed in
libraw/libraw GitHub
pkg:github/libraw/libraw
All versions to 0.22.3None

How do I fix CVE-2026-135177?

No fix has been published for CVE-2026-135177 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-135177 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-135177 exists.

Sources

Also known as AZL-115978, GHSA-p6p7-qgq3-v93f, UBUNTU-CVE-2026-135177.

Is CVE-2026-135177 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free