Description
An error within the "find_green()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause a stack-based buffer overflow and subsequently execute arbitrary code.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | LibRaw | Prior to 0.18.9 | — |
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 | 0.18.11-1 | — |
| Debian 13 | libraw | 0.18.11-1 | — |
| Debian 12 | libraw | 0.18.11-1 | — |
| Debian 9 | libraw | 0.17.2-6+deb9u2 | DLA-2903-1 |
| Debian 8 | libraw | 0.16.0-9+deb8u4 | DLA-1734-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | kodi +4 | No fix yet | — |
| Ubuntu 26.04 LTS | kodi +4 | No fix yet | — |
| Ubuntu 25.10 | kodi +4 | No fix yet | — |
| Ubuntu 24.04 LTS | kodi +4 | No fix yet | — |
| Ubuntu 22.04 LTS | kodi +4 | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | kodi +4 | No fix yet | — |
| Ubuntu 18.04 LTS | kodi +5 | No fix yet | — |
| Ubuntu 18.04 LTS | libraw | 0.18.8-1ubuntu0.2 | — |
| Ubuntu 16.04 LTS | kodi +5 | No fix yet | — |
| Ubuntu 16.04 LTS | libraw | 0.17.1-1ubuntu0.4 | — |
| Ubuntu 14.04 LTS | libraw | 0.15.4-1ubuntu0.3 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP4 | libraw | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SLES 12 SP3 | libraw | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
Advisories 3
- DLA-1734-1 libraw - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2903-1 libraw - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2019:0002-1 Security update for libraw SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt
- 81800 third-party-advisory
- https://github.com/LibRaw/LibRaw/commit/fd6330292501983ac75fe4162275794b18445bd9
- https://secuniaresearch.flexerasoftware.com/secunia_research/2018-9/
- [debian-lts-announce] 20190328 [SECURITY] [DLA 1734-1] libraw security update mailing-list