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

Published Nov 23, 2026
·
Updated

LibRaw through 0.22.3 contains an out-of-bounds read vulnerability in LibRaw::pentax4shotloadraw() that allows attackers to crash applications by scanning tiffifd[] 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 LIBRAWRAWOPTIONSPENTAXPSALLFRAMES is enabled.

Affected Software

1 affected component
Libraw Libraw<=0.22.3

Event History

Nov 23, 2026
CVE Published
via MITRE·02:38 PM
Data Sourced
via MITRE·02:38 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness
Event
via NVD·03:17 PM

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using LibRaw through 0.22.3 are exposed when they process attacker-supplied four-frame Pentax DNG files with LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES enabled. The stated impact is a crash, resulting in denial of service.

2

What conditions are required to trigger the crash?

An attacker must provide a crafted four-frame Pentax DNG containing too few IFDs that match the raw dimensions. Exploitation also depends on the application enabling the LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES raw-processing option.

3

Is the default LibRaw configuration known to be affected?

The available information identifies the issue only when LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES is enabled. It does not state whether that option is enabled by default.

4

What can be done if updating is not immediately possible?

Avoid enabling LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES when processing untrusted files. Restrict or reject untrusted four-frame Pentax DNG input to reduce exposure to the described crash condition.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203