CVE-2015-8366

NameCVE-2015-8366
DescriptionArray 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesELA-529-1
Debian Bugs806809, 818882, 864168

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
darktable (PTS)jessie1.4.2-1+deb8u1fixed
stretch2.2.1-3fixed
buster2.6.0-1fixed
bullseye3.4.1-5fixed
bookworm4.2.1-4fixed
trixie, sid4.8.1-2fixed
dcraw (PTS)jessie9.21-0.2vulnerable
stretch9.27-1vulnerable
buster, bullseye9.28-2fixed
bookworm9.28-3fixed
trixie, sid9.28-7fixed
exactimage (PTS)jessie, jessie (lts)0.8.9-7+deb8u3fixed
stretch0.9.1-16fixed
buster1.0.2-1+deb10u1fixed
bullseye1.0.2-8fixed
bookworm1.0.2-11fixed
trixie, sid1.0.2-12fixed
kodi (PTS)stretch2:17.1+dfsg1-3fixed
buster (security), buster, buster (lts)2:17.6+dfsg1-4+deb10u1fixed
bullseye2:19.1+dfsg2-2+deb11u1fixed
bookworm2:20.1+dfsg-1fixed
trixie, sid2:21.1+dfsg-5fixed
libraw (PTS)jessie, jessie (lts)0.16.0-9+deb8u6fixed
stretch (security)0.17.2-6+deb9u2fixed
stretch (lts), stretch0.17.2-6+deb9u5fixed
buster (security), buster, buster (lts)0.19.2-2+deb10u4fixed
bullseye (security), bullseye0.20.2-1+deb11u1fixed
bookworm0.20.2-2.1fixed
trixie, sid0.21.3-1fixed
rawtherapee (PTS)jessie4.2-1+deb8u2fixed
stretch5.0-1fixed
buster5.5-1fixed
bullseye5.8-3fixed
bookworm5.9-1fixed
trixie, sid5.11-2fixed
ufraw (PTS)jessie, jessie (lts)0.20-2+deb8u2fixed
stretch0.22-1.1fixed
buster0.22-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
darktablesourcesqueeze(not affected)
darktablesourcewheezy(not affected)
darktablesourcejessie(not affected)
darktablesource(unstable)2.0.0-1
dcrawsourcesqueeze(not affected)
dcrawsourcewheezy(not affected)
dcrawsource(unstable)9.28-1864168
exactimagesourcesqueeze(not affected)
exactimagesourcewheezy(not affected)
exactimagesourcejessie0.8.9-7+deb8u2
exactimagesource(unstable)0.9.1-13
kodisource(unstable)(not affected)
librawsourcesqueeze(not affected)
librawsourcewheezy(not affected)
librawsourcejessie0.16.0-9+deb8u2
librawsource(unstable)0.17.1-1806809
rawtherapeesourcesqueeze(not affected)
rawtherapeesourcewheezy(not affected)
rawtherapeesourcejessie4.2-1+deb8u2
rawtherapeesource(unstable)4.2.1241-2
ufrawsourcesqueeze(not affected)
ufrawsourcewheezy(not affected)
ufrawsourcejessie0.20-2+deb8u2ELA-529-1
ufrawsource(unstable)0.20-4818882

Notes

[wheezy] - libraw <not-affected> (Vulnerable code not present)
[squeeze] - libraw <not-affected> (Vulnerable code not present)
[stretch] - dcraw <no-dsa> (Minor issue)
[jessie] - dcraw <no-dsa> (Minor issue)
[wheezy] - dcraw <not-affected> (Vulnerable code not present)
[squeeze] - dcraw <not-affected> (Vulnerable code not present)
- kodi <not-affected> (Vulnerable code not present)
[jessie] - darktable <not-affected> (Vulnerable code not present)
[wheezy] - darktable <not-affected> (Vulnerable code not present)
[squeeze] - darktable <not-affected> (Vulnerable code not present)
[jessie] - ufraw <no-dsa> (Minor issue)
[wheezy] - ufraw <not-affected> (Vulnerable code not present)
[squeeze] - ufraw <not-affected> (Vulnerable code not present)
[wheezy] - rawtherapee <not-affected> (Vulnerable code not present)
[squeeze] - rawtherapee <not-affected> (Vulnerable code not present)
[wheezy] - exactimage <not-affected> (Vulnerable code not present)
[squeeze] - exactimage <not-affected> (Vulnerable code not present)
exactimage: smal_decode_segment inside dcraw.h not dcraw.c
Fixed by: https://github.com/LibRaw/LibRaw/commit/89d065424f09b788f443734d44857289489ca9e2

Search for package or bug name: Reporting problems