Description
LibRaw 0.22.0 contains an incorrect numeric conversion vulnerability in LibRaw::parse_tiff_ifd() when processing TIFF tag 0x00fe (NewSubfileType). A specially crafted RAW, TIFF, or DNG file can supply an attacker-controlled NewSubfileType value outside the range of a signed int. The parser converts this value and narrows it to int without performing range validation. This out-of-range conversion triggers undefined behavior, resulting in process termination and denial of service.
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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | libraw | 0.21.1-150600.3.13.1 | SUSE-SU-2026:4829-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libraw | 0.22.2-2.1 | openSUSE-SU-2026:11933-1 |
Advisories 2
- SUSE-SU-2026:4829-1 Security update for libraw SUSE / openSUSE Security Updates · Oct 21, 2026
- openSUSE-SU-2026:11933-1 libraw-devel-0.22.2-2.1 on GA media SUSE / openSUSE Security Updates · Oct 1, 2026