CVE-2015-8366
LibRaw: Index overflow in smal_decode_segment
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (low).
Description
Array index error in smal_decode_segment function in LibRaw before 0.17.1 allows context-dependent attackers to cause memory errors and possibly execute arbitrary code via vectors related to indexes.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.3 | libraw | 0.17.1-r0 |
| debian 11 | darktable, dcraw, exactimage and 2 more | 2.0.0-1 and 4 more |
| debian 12 | darktable, dcraw, exactimage and 2 more | 2.0.0-1 and 4 more |
| debian 13 | darktable, dcraw, exactimage and 2 more | 2.0.0-1 and 4 more |
| debian 14 | darktable, dcraw, exactimage and 2 more | 2.0.0-1 and 4 more |
| debian 8 | dcraw, exactimage, libraw and 2 more | 0.8.9-7+deb8u2 and 2 more |
| debian 9 | dcraw | no fix listed |
| echo | darktable, dcraw, exactimage and 2 more | 2.0.0-1 and 4 more |
| rapidfort ubuntu 20.04 | darktable, exactimage, kodi and 1 more | 2:20.5+dfsg-1build2 |
| rapidfort ubuntu 22.04 | darktable, exactimage, kodi and 1 more | 2:20.5+dfsg-1build2 |
| rapidfort ubuntu 24.04 | darktable, exactimage, kodi and 1 more | 2:20.5+dfsg-1build2 |
| Red Hat | LibRaw, LibRaw-devel, LibRaw-static and 1 more | no fix listed |
Show all 72 entries from 20 sources
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.3 | libraw | 0.17.1-r0 |
| debian 11 | darktable | 2.0.0-1 |
| debian 11 | dcraw | 9.28-1 |
| debian 11 | exactimage | 0.9.1-13 |
| debian 11 | libraw | 0.17.1-1 |
| debian 11 | rawtherapee | 4.2.1241-2 |
| debian 12 | darktable | 2.0.0-1 |
| debian 12 | dcraw | 9.28-1 |
| debian 12 | exactimage | 0.9.1-13 |
| debian 12 | libraw | 0.17.1-1 |
| debian 12 | rawtherapee | 4.2.1241-2 |
| debian 13 | darktable | 2.0.0-1 |
| debian 13 | dcraw | 9.28-1 |
| debian 13 | exactimage | 0.9.1-13 |
| debian 13 | libraw | 0.17.1-1 |
| debian 13 | rawtherapee | 4.2.1241-2 |
| debian 14 | darktable | 2.0.0-1 |
| debian 14 | dcraw | 9.28-1 |
| debian 14 | exactimage | 0.9.1-13 |
| debian 14 | libraw | 0.17.1-1 |
| debian 14 | rawtherapee | 4.2.1241-2 |
| debian 8 | dcraw | no fix listed |
| debian 8 | exactimage | 0.8.9-7+deb8u2 |
| debian 8 | libraw | 0.16.0-9+deb8u2 |
| debian 8 | rawtherapee | 4.2-1+deb8u2 |
| debian 8 | ufraw | no fix listed |
| debian 9 | dcraw | no fix listed |
| echo | darktable | 2.0.0-1 |
| echo | dcraw | 9.28-1 |
| echo | exactimage | 0.9.1-13 |
| echo | libraw | 0.17.1-1 |
| echo | rawtherapee | 4.2.1241-2 |
| rapidfort ubuntu 20.04 | darktable | no fix listed |
| rapidfort ubuntu 20.04 | exactimage | no fix listed |
| rapidfort ubuntu 20.04 | kodi | 2:20.5+dfsg-1build2 |
| rapidfort ubuntu 20.04 | rawtherapee | no fix listed |
| rapidfort ubuntu 22.04 | darktable | no fix listed |
| rapidfort ubuntu 22.04 | exactimage | no fix listed |
| rapidfort ubuntu 22.04 | kodi | 2:20.5+dfsg-1build2 |
| rapidfort ubuntu 22.04 | rawtherapee | no fix listed |
| rapidfort ubuntu 24.04 | darktable | no fix listed |
| rapidfort ubuntu 24.04 | exactimage | no fix listed |
| rapidfort ubuntu 24.04 | kodi | 2:20.5+dfsg-1build2 |
| rapidfort ubuntu 24.04 | rawtherapee | no fix listed |
| Red Hat | LibRaw | no fix listed |
| Red Hat | LibRaw-devel | no fix listed |
| Red Hat | LibRaw-static | no fix listed |
| Red Hat | dcraw | no fix listed |
| root.io debian 13 | rootio-libraw | 0.17.1-1 |
| ubuntu 14.04 | libraw | 0.15.4-1ubuntu0.1 |
| ubuntu 18.04-ESM | darktable | no fix listed |
| ubuntu 18.04-ESM | dcraw | no fix listed |
| ubuntu 18.04-ESM | exactimage | no fix listed |
| ubuntu 18.04-ESM | kodi | no fix listed |
| ubuntu 18.04-ESM | rawtherapee | no fix listed |
| ubuntu 20.04-ESM | darktable | no fix listed |
| ubuntu 20.04-ESM | exactimage | no fix listed |
| ubuntu 20.04-ESM | kodi | no fix listed |
| ubuntu 20.04-ESM | rawtherapee | no fix listed |
| ubuntu 22.04 | darktable | no fix listed |
| ubuntu 22.04 | exactimage | no fix listed |
| ubuntu 22.04 | kodi | no fix listed |
| ubuntu 22.04 | rawtherapee | no fix listed |
| ubuntu 24.04 | darktable | no fix listed |
| ubuntu 24.04 | exactimage | no fix listed |
| ubuntu 24.04 | rawtherapee | no fix listed |
| ubuntu 26.04 | darktable | no fix listed |
| ubuntu 26.04 | exactimage | no fix listed |
| ubuntu 26.04 | rawtherapee | no fix listed |
| ubuntu 26.10 | darktable | no fix listed |
| ubuntu 26.10 | exactimage | no fix listed |
| ubuntu 26.10 | rawtherapee | no fix listed |
References
- http://packetstormsecurity.com/files/134573/LibRaw-0.17-Overflow.html
- http://seclists.org/fulldisclosure/2015/Nov/108
- http://www.libraw.org/news/libraw-0-17-1
- https://access.redhat.com/security/cve/CVE-2015-8366
- https://nvd.nist.gov/vuln/detail/CVE-2015-8366
- https://ubuntu.com/security/notices/USN-3492-1
- https://www.cve.org/CVERecord?id=CVE-2015-8366