CVE-2018-5802
Fixed in a distro release EPSS 2%
An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable in LibRaw versions prior to 0.18.7 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.
Products: libraw, redhat enterprise_linux_desktop, redhat enterprise_linux_server, redhat enterprise_linux_workstation, canonical ubuntu_linux, debian_linux
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | libraw | 0.18.7-1 |
| Debian 13 | libraw | 0.18.7-1 |
| Debian 14 | libraw | 0.18.7-1 |
| Debian 8 | libraw | 0.16.0-9+deb8u4 |
| Debian 9 | libraw | 0.17.2-6+deb9u2 |
| Red Hat Enterprise Linux 7 | libkdcraw | 0:4.10.5-5.el7 |
| Red Hat Enterprise Linux 7 | libkdcraw-debuginfo | 0:4.10.5-5.el7 |
| Red Hat Enterprise Linux 7 | libkdcraw-devel | 0:4.10.5-5.el7 |
| SUSE Linux Enterprise Desktop 12 SP3 | libraw | 0.15.4-21.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP3 | libraw | 0.15.4-21.1 |
| SUSE Linux Enterprise Workstation Extension 12 SP3 | libraw | 0.15.4-21.1 |
| Ubuntu 14.04 LTS | libraw | 0.15.4-1ubuntu0.2 |
| Ubuntu 16.04 LTS | darktable | no fix |
| Ubuntu 16.04 LTS | dcraw | no fix |
| Ubuntu 16.04 LTS | exactimage | no fix |
| Ubuntu 16.04 LTS | kodi | no fix |
| Ubuntu 16.04 LTS | libraw | 0.17.1-1ubuntu0.2 |
| Ubuntu 16.04 LTS | rawtherapee | no fix |
| Ubuntu 16.04 LTS | ufraw | no fix |
| Ubuntu 18.04 LTS | darktable | no fix |
| Ubuntu 18.04 LTS | dcraw | no fix |
| Ubuntu 18.04 LTS | exactimage | no fix |
| Ubuntu 18.04 LTS | kodi | no fix |
| Ubuntu 18.04 LTS | rawtherapee | no fix |
| Ubuntu 18.04 LTS | ufraw | no fix |
| Ubuntu 20.04 LTS | darktable | no fix |
| Ubuntu 20.04 LTS | dcraw | no fix |
| Ubuntu 20.04 LTS | exactimage | no fix |
| Ubuntu 20.04 LTS | kodi | no fix |
| Ubuntu 20.04 LTS | rawtherapee | no fix |
| Ubuntu 22.04 LTS | darktable | no fix |
| Ubuntu 22.04 LTS | dcraw | no fix |
| Ubuntu 22.04 LTS | exactimage | no fix |
| Ubuntu 22.04 LTS | kodi | no fix |
| Ubuntu 22.04 LTS | rawtherapee | no fix |
| Ubuntu 24.04 LTS | darktable | no fix |
| Ubuntu 24.04 LTS | dcraw | no fix |
| Ubuntu 24.04 LTS | exactimage | no fix |
| Ubuntu 24.04 LTS | kodi | no fix |
| Ubuntu 24.04 LTS | rawtherapee | no fix |
| Ubuntu 25.10 | darktable | no fix |
| Ubuntu 25.10 | dcraw | no fix |
| Ubuntu 25.10 | exactimage | no fix |
| Ubuntu 25.10 | kodi | no fix |
| Ubuntu 25.10 | rawtherapee | no fix |
| Ubuntu 26.04 LTS | darktable | no fix |
| Ubuntu 26.04 LTS | dcraw | no fix |
| Ubuntu 26.04 LTS | exactimage | no fix |
| Ubuntu 26.04 LTS | kodi | no fix |
| Ubuntu 26.04 LTS | rawtherapee | no fix |
| Ubuntu 26.10 | darktable | no fix |
| Ubuntu 26.10 | dcraw | no fix |
| Ubuntu 26.10 | exactimage | no fix |
| Ubuntu 26.10 | kodi | no fix |
| Ubuntu 26.10 | rawtherapee | no fix |