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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| LibRaw | LibRaw | ≤ 0.22.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libraw | No fix yet | — |
| Debian 13 | libraw | No fix yet | — |
| Debian 12 | libraw | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | kodi +6 | No fix yet | — |
| Ubuntu 26.04 LTS | kodi +6 | No fix yet | — |
| Ubuntu 24.04 LTS | kodi +6 | No fix yet | — |
| Ubuntu 22.04 LTS | kodi +5 | No fix yet | — |
| Ubuntu 20.04 LTS | kodi +5 | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | kodi +5 | No fix yet | — |
| Ubuntu 16.04 LTS | kodi +5 | No fix yet | — |
| Ubuntu Pro 22.04 LTS | digikam | No fix yet | — |
| Ubuntu Pro 20.04 LTS | digikam | No fix yet | — |
| Ubuntu Pro 18.04 LTS | libraw +1 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libraw +1 | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libraw | 0.22.3-1.1 | openSUSE-SU-2026:12712-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | LibRaw | No fix yet | — |
Advisories 1
- openSUSE-SU-2026:12712-1 libraw-devel-0.22.3-1.1 on GA media SUSE / openSUSE Security Updates · Nov 28, 2026
References
- https://github.com/LibRaw/LibRaw/issues/890 issue-tracking
- https://github.com/LibRaw/LibRaw/blob/0.22.3/src/decoders/decoders_libraw.cpp#L104-L114 technical-description
- VulnCheck Advisory: LibRaw through 0.22.3 Out-of-Bounds Read via pentax_4shot_load_raw third-party-advisory