Vulnerabilities / CVE-2015-8366

critical

CVE-2015-8366

LibRaw: Index overflow in smal_decode_segment

Published Modified CWE 129
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.8AV:N/AC:M/Au:N/C:N/I:P/A:P

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

SourcePackageFixed in
alpine 3.3libraw0.17.1-r0
debian 11darktable, dcraw, exactimage and 2 more2.0.0-1 and 4 more
debian 12darktable, dcraw, exactimage and 2 more2.0.0-1 and 4 more
debian 13darktable, dcraw, exactimage and 2 more2.0.0-1 and 4 more
debian 14darktable, dcraw, exactimage and 2 more2.0.0-1 and 4 more
debian 8dcraw, exactimage, libraw and 2 more0.8.9-7+deb8u2 and 2 more
debian 9dcrawno fix listed
echodarktable, dcraw, exactimage and 2 more2.0.0-1 and 4 more
rapidfort ubuntu 20.04darktable, exactimage, kodi and 1 more2:20.5+dfsg-1build2
rapidfort ubuntu 22.04darktable, exactimage, kodi and 1 more2:20.5+dfsg-1build2
rapidfort ubuntu 24.04darktable, exactimage, kodi and 1 more2:20.5+dfsg-1build2
Red HatLibRaw, LibRaw-devel, LibRaw-static and 1 moreno fix listed
Show all 72 entries from 20 sources
SourcePackageFixed in
alpine 3.3libraw0.17.1-r0
debian 11darktable2.0.0-1
debian 11dcraw9.28-1
debian 11exactimage0.9.1-13
debian 11libraw0.17.1-1
debian 11rawtherapee4.2.1241-2
debian 12darktable2.0.0-1
debian 12dcraw9.28-1
debian 12exactimage0.9.1-13
debian 12libraw0.17.1-1
debian 12rawtherapee4.2.1241-2
debian 13darktable2.0.0-1
debian 13dcraw9.28-1
debian 13exactimage0.9.1-13
debian 13libraw0.17.1-1
debian 13rawtherapee4.2.1241-2
debian 14darktable2.0.0-1
debian 14dcraw9.28-1
debian 14exactimage0.9.1-13
debian 14libraw0.17.1-1
debian 14rawtherapee4.2.1241-2
debian 8dcrawno fix listed
debian 8exactimage0.8.9-7+deb8u2
debian 8libraw0.16.0-9+deb8u2
debian 8rawtherapee4.2-1+deb8u2
debian 8ufrawno fix listed
debian 9dcrawno fix listed
echodarktable2.0.0-1
echodcraw9.28-1
echoexactimage0.9.1-13
echolibraw0.17.1-1
echorawtherapee4.2.1241-2
rapidfort ubuntu 20.04darktableno fix listed
rapidfort ubuntu 20.04exactimageno fix listed
rapidfort ubuntu 20.04kodi2:20.5+dfsg-1build2
rapidfort ubuntu 20.04rawtherapeeno fix listed
rapidfort ubuntu 22.04darktableno fix listed
rapidfort ubuntu 22.04exactimageno fix listed
rapidfort ubuntu 22.04kodi2:20.5+dfsg-1build2
rapidfort ubuntu 22.04rawtherapeeno fix listed
rapidfort ubuntu 24.04darktableno fix listed
rapidfort ubuntu 24.04exactimageno fix listed
rapidfort ubuntu 24.04kodi2:20.5+dfsg-1build2
rapidfort ubuntu 24.04rawtherapeeno fix listed
Red HatLibRawno fix listed
Red HatLibRaw-develno fix listed
Red HatLibRaw-staticno fix listed
Red Hatdcrawno fix listed
root.io debian 13rootio-libraw0.17.1-1
ubuntu 14.04libraw0.15.4-1ubuntu0.1
ubuntu 18.04-ESMdarktableno fix listed
ubuntu 18.04-ESMdcrawno fix listed
ubuntu 18.04-ESMexactimageno fix listed
ubuntu 18.04-ESMkodino fix listed
ubuntu 18.04-ESMrawtherapeeno fix listed
ubuntu 20.04-ESMdarktableno fix listed
ubuntu 20.04-ESMexactimageno fix listed
ubuntu 20.04-ESMkodino fix listed
ubuntu 20.04-ESMrawtherapeeno fix listed
ubuntu 22.04darktableno fix listed
ubuntu 22.04exactimageno fix listed
ubuntu 22.04kodino fix listed
ubuntu 22.04rawtherapeeno fix listed
ubuntu 24.04darktableno fix listed
ubuntu 24.04exactimageno fix listed
ubuntu 24.04rawtherapeeno fix listed
ubuntu 26.04darktableno fix listed
ubuntu 26.04exactimageno fix listed
ubuntu 26.04rawtherapeeno fix listed
ubuntu 26.10darktableno fix listed
ubuntu 26.10exactimageno fix listed
ubuntu 26.10rawtherapeeno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.