Description
LibRaw before 0.20-RC1 lacks a thumbnail size range check. This affects decoders/unpack_thumb.cpp, postprocessing/mem_image.cpp, and utils/thumb_utils.cpp. For example, malloc(sizeof(libraw_processed_image_t)+T.tlength) occurs without validating T.tlength.
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.20.0-4 | — |
| Debian 13 | libraw | 0.20.0-4 | — |
| Debian 12 | libraw | 0.20.0-4 | — |
| Debian 10 | libraw | 0.19.2-2+deb10u2 | DLA-3214-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 20.04 LTS | libraw | 0.19.5-1ubuntu1.1 | USN-5715-1 |
| Ubuntu 18.04 LTS | kodi +5 | No fix yet | — |
| Ubuntu 18.04 LTS | libraw | 0.18.8-1ubuntu0.4 | USN-5715-1 |
| Ubuntu 16.04 LTS | kodi +5 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libraw | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | LibRaw +1 | 0.19.5-2.el8 | RHSA-2020:4451 |
| RHEL 8 | gnome-settings-daemon | 3.32.0-11.el8 | RHSA-2020:4451 |
| RHEL 8 | webkit2gtk3 +3 | 2.28.4-1.el8 | RHSA-2020:4451 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | LibRaw-devel | 0.19.5-2.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | PackageKit +6 | 1.1.12-6.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | dleyna-renderer | 0.6.0-3.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | frei0r-devel +2 | 1.6.1-7.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | gnome-remote-desktop | 0.1.8-3.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | gtk-doc | 1.28-2.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | gvfs | 1.36.2-10.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | libsoup +1 | 2.62.3-2.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | mutter-devel | 3.32.2-48.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | nautilus +1 | 3.28.1-14.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | pipewire +4 | 0.3.6-1.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | pipewire0.2-libs +1 | 0.2.7-6.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | potrace | 1.15-3.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | python3-gobject +2 | 3.28.3-2.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | tracker +1 | 2.1.5-2.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | vte291 +2 | 0.52.4-2.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | webrtc-audio-processing | 0.3-9.el8 | ALSA-2020:4451 |
| AlmaLinux 8 | xdg-desktop-portal-gtk | 1.6.0-1.el8 | ALSA-2020:4451 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | LibRaw | 0.19.5-2.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | PackageKit | 1.1.12-6.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | dleyna-renderer | 0.6.0-3.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | frei0r-plugins | 1.6.1-7.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | gnome-remote-desktop | 0.1.8-3.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | gnome-session | 3.28.1-10.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | gsettings-desktop-schemas | 3.32.0-5.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | gtk3 | 3.22.30-6.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | libsoup | 2.62.3-2.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | pipewire | 0.3.6-1.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | pipewire0.2 | 0.2.7-6.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | potrace | 1.15-3.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | pygobject3 | 3.28.3-2.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | tracker | 2.1.5-2.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | vte291 | 0.52.4-2.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | webrtc-audio-processing | 0.3-9.el8 | RLSA-2020:4451 |
| Rocky Linux 8 | xdg-desktop-portal-gtk | 1.6.0-1.el8 | RLSA-2020:4451 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | libraw | 0.18.9-3.11.1 | SUSE-SU-2020:2029-1 |
| SLES 15 SP1 | libraw | 0.18.9-3.11.1 | SUSE-SU-2020:2029-1 |
| SLES 12 SP5 | libraw | 0.15.4-33.1 | SUSE-SU-2020:2028-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libraw | 0.20.2-4.1 | openSUSE-SU-2024:10980-1 |
| openSUSE Leap 15.2 | libraw | 0.18.9-lp152.5.3.1 | openSUSE-SU-2020:1128-1 |
| openSUSE Leap 15.1 | libraw | 0.18.9-lp151.4.3.1 | openSUSE-SU-2020:1088-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libraw | 0.19.5-r1 | — |
| Alpine v3.23 | libraw | 0.19.5-r1 | — |
| Alpine v3.22 | libraw | 0.19.5-r1 | — |
| Alpine v3.21 | libraw | 0.19.5-r1 | — |
| Alpine v3.20 | libraw | 0.19.5-r1 | — |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libraw | 0.19.5-r1 | — |
| Alpine v3.18 | libraw | 0.19.5-r1 | — |
| Alpine v3.17 | libraw | 0.19.5-r1 | — |
| Alpine v3.16 | libraw | 0.19.5-r1 | — |
| Alpine v3.15 | libraw | 0.19.5-r1 | — |
| Alpine v3.14 | libraw | 0.19.5-r1 | — |
| Alpine v3.13 | libraw | 0.19.5-r1 | — |
| Alpine v3.12 | libraw | 0.19.5-r1 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | LibRaw | 0.19.5-5 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | LibRaw +1 | 0.19.5-2.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | PackageKit +6 | 1.1.12-6.0.1.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | dleyna-renderer | 0.6.0-3.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | frei0r-devel +2 | 1.6.1-7.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | gdm | 1:3.28.3-34.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | gnome-classic-session +22 | 3.32.1-11.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | gnome-control-center +1 | 3.28.2-22.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | gnome-photos +1 | 3.28.1-3.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | gnome-remote-desktop | 0.1.8-3.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | gnome-session +2 | 3.28.1-10.0.1.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | gnome-settings-daemon | 3.32.0-11.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | gnome-shell | 3.32.2-20.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | gnome-terminal +4 | 3.28.3-2.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | gsettings-desktop-schemas +1 | 3.32.0-5.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | gtk-doc | 1.28-2.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | gtk3 +3 | 3.22.30-6.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | gvfs +10 | 1.36.2-10.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | libsoup +1 | 2.62.3-2.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | mutter +1 | 3.32.2-48.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | nautilus +2 | 3.28.1-14.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | pipewire +4 | 0.3.6-1.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | pipewire0.2-libs +1 | 0.2.7-6.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | potrace | 1.15-3.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | tracker +1 | 2.1.5-2.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | vte291 +2 | 0.52.4-2.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | webkit2gtk3 +3 | 2.28.4-1.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | webrtc-audio-processing | 0.3-9.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | xdg-desktop-portal | 1.6.0-2.el8 | ELSA-2020-4451 |
| Oracle Linux 8 | xdg-desktop-portal-gtk | 1.6.0-1.el8 | ELSA-2020-4451 |
Advisories 11
- ALSA-2020:4451 Moderate: GNOME security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2020:4451 Red Hat Security Advisory: GNOME security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- USN-5715-1 libraw vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-3214-1 libraw - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2020:4451 Moderate: GNOME security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2020:1128-1 Security update for libraw SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10980-1 libraw-devel-0.20.2-4.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2029-1 Security update for libraw SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:1088-1 Security update for libraw SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2028-1 Security update for libraw SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2020-4451 Moderate: GNOME security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 10, 2020
References
- https://www.libraw.org/news/libraw-0-20-rc1
- https://github.com/LibRaw/LibRaw/compare/0.20-Beta3...0.20-RC1
- https://github.com/LibRaw/LibRaw/commit/20ad21c0d87ca80217aee47533d91e633ce1864d
- FEDORA-2020-f421eea477 vendor-advisory
- FEDORA-2020-f407db0e65 vendor-advisory
- FEDORA-2020-4f4c778096 vendor-advisory
- FEDORA-2020-07f0a49a9e vendor-advisory
- openSUSE-SU-2020:1088 vendor-advisory
- openSUSE-SU-2020:1128 vendor-advisory
- FEDORA-2020-ed284fd64b vendor-advisory
- FEDORA-2020-c6fa12cfb1 vendor-advisory
- [debian-lts-announce] 20221130 [SECURITY] [DLA 3214-1] libraw security update mailing-list