AZL-115978: CVE-2026-135177 affecting package LibRaw 0.21.3-1

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
azure-linux/libraw<=0.21.3-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Disable LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES to avoid the vulnerable four-frame Pentax DNG processing path.

    LibRaw LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES = disabled

Event History

Nov 23, 2026
Advisory Published
via OSV·03:17 PM
Data Sourced
via OSV·03:17 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

When is an application exposed to this denial-of-service issue?

An application is exposed when it processes attacker-supplied four-frame Pentax DNG files and has LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES enabled. The crafted file must have too few IFDs matching the raw dimensions.

2

What can an attacker achieve?

An attacker can crash the application by causing LibRaw::pentax_4shot_load_raw() to scan beyond the 10 entries in tiff_ifd[]. The provided information describes denial of service, not code execution or data disclosure.

3

Are applications using LibRaw affected by default?

The issue is described as requiring LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES to be enabled. The provided data does not state whether that option is enabled by default.

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