Description
A stack-based buffer overflow in the find_green() function of dcraw through 9.28, as used in ufraw-batch and many other products, may allow a remote attacker to cause a control-flow hijack, denial-of-service, or unspecified other impact via a maliciously crafted raw photo file.
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 | dcraw | 9.28-2 | — |
| Debian 13 | dcraw | 9.28-2 | — |
| Debian 12 | dcraw | 9.28-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | dcraw | 9.28-2 | — |
| Ubuntu 20.04 LTS | dcraw | 9.28-2 | — |
| Ubuntu 18.04 LTS | dcraw | No fix yet | — |
| Ubuntu 18.04 LTS | ufraw | 0.22-3.1~build0.18.04.1 | — |
| Ubuntu 16.04 LTS | dcraw +1 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | dcraw | 9.28.0-3.3.1 | SUSE-SU-2022:1749-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | dcraw | 9.28.0-1.6 | openSUSE-SU-2024:10712-1 |
| openSUSE Tumbleweed | gimp-ufraw | 0.22-9.4 | openSUSE-SU-2024:11480-1 |
| openSUSE Leap 15.3 | dcraw | 9.28.0-150000.3.3.1 | SUSE-SU-2022:1277-1 |
Advisories 4
- openSUSE-SU-2024:11480-1 gimp-ufraw-0.22-9.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1749-1 Security update for dcraw SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10712-1 dcraw-9.28.0-1.6 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1277-1 Security update for dcraw SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906529
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890086
- FEDORA-2020-ef1ff20b59 vendor-advisory
- FEDORA-2020-19c7f8e25f vendor-advisory
- FEDORA-2020-545493aa4b vendor-advisory