Every CVE Search/ Get API key

CVE-2015-8366

Array index error in smal_decode_segment function in LibRaw before 0.17.1 allows context...

9.8 CriticalFix available

CVE-2015-8366 is a critical vulnerability (CVSS 9.8) in Libraw, published December 2, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.08%, the 92nd percentile. Fixed in libraw 0.17.1-r0.

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

5.08%Up 2.6 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2015-8366
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-129
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2015-8366
Updated
2026-11-02
EUVDEUVD-2015-8250 No score

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.

Record
EUVD-2015-8250
Updated
2026-11-03
GitHub AdvisoriesGHSA-7798-4jq3-cmj5 9.8

Array index error in smal_decode_segment function in LibRaw before 0.17.1 allows context...

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.

Record
GHSA-7798-4jq3-cmj5
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-129
Updated
2026-11-02
OSVALPINE-CVE-2015-8366 9.8

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.

Record
ALPINE-CVE-2015-8366
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2015-8366
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2015-8366 9.8

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.

Record
DEBIAN-CVE-2015-8366
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2015-8366 9.8

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.

Record
UBUNTU-CVE-2015-8366
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2015-0469 No score

Updated libraw packages fix security vulnerabilities

Updated libraw packages fix security vulnerabilities:

It was found that smal_decode_segment function do not handle index carefully, which may cause index overflow (CVE-2015-8366).

It was found that phase_one_correct function does not handle memory object's initialization correctly, which may have unspecified impact (CVE-2015-8367).

Record
MGASA-2015-0469
Updated
2026-11-02
OSVopenSUSE-SU-2024:11480-1 No score

gimp-ufraw-0.22-9.4 on GA media

These are all security issues fixed in the gimp-ufraw-0.22-9.4 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11480-1
Updated
2026-11-02
OSVUSN-3492-1 No score

libraw vulnerabilities

It was discovered that LibRaw incorrectly handled photo files. If a user or automated system were tricked into processing a specially crafted photo file, a remote attacker could cause applications linked against LibRaw to crash, resulting in a denial of service, or possibly execute arbitrary code

Record
USN-3492-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libraw
Alpine:v3.3
before 0.17.1-r0
0.17.1-r0
darktable
Debian:12
before 2.0.0-1
2.0.0-1
darktable
Debian:13
before 2.0.0-1
2.0.0-1
darktable
Debian:14
before 2.0.0-1
2.0.0-1
dcraw
Debian:12
before 9.28-1
9.28-1
dcraw
Debian:13
before 9.28-1
9.28-1
dcraw
Debian:14
before 9.28-1
9.28-1
exactimage
Debian:12
before 0.9.1-13
0.9.1-13
exactimage
Debian:13
before 0.9.1-13
0.9.1-13
exactimage
Debian:14
before 0.9.1-13
0.9.1-13
Show 45 moreShow less
Affected packages
PackageAffectedFixed
libraw
Debian:12
before 0.17.1-1
0.17.1-1
libraw
Debian:13
before 0.17.1-1
0.17.1-1
libraw
Debian:14
before 0.17.1-1
0.17.1-1
rawtherapee
Debian:12
before 4.2.1241-2
4.2.1241-2
rawtherapee
Debian:13
before 4.2.1241-2
4.2.1241-2
rawtherapee
Debian:14
before 4.2.1241-2
4.2.1241-2
libraw
Mageia:5
before 0.16.2-1.1.mga5
0.16.2-1.1.mga5
libraw
Ubuntu:14.04:LTS
before 0.15.4-1ubuntu0.1, plus listed versions
0.15.3-1ubuntu10.15.4-1
0.15.4-1ubuntu0.1
darktable
Ubuntu:16.04:LTS
All versions, plus listed versions
1.6.8-11.6.9-12.0.0-12.0.1-12.0.3-1
None known
dcraw
Ubuntu:16.04:LTS
All versions, plus listed versions
9.21-0.2
None known
exactimage
Ubuntu:16.04:LTS
All versions, plus listed versions
0.9.1-6build10.9.1-6ubuntu10.9.1-8ubuntu10.9.1-90.9.1-9build1
Show 4 moreShow less
0.9.1-100.9.1-110.9.1-120.9.1-12ubuntu1
None known
kodi
Ubuntu:16.04:LTS
All versions, plus listed versions
15.1+dfsg1-315.2+dfsg1-1build115.2+dfsg1-315.2+dfsg1-3ubuntu115.2+dfsg1-3ubuntu1.1
None known
rawtherapee
Ubuntu:16.04:LTS
All versions, plus listed versions
4.2-2build14.2-4
None known
ufraw
Ubuntu:16.04:LTS
All versions, plus listed versions
0.20-3build1
None known
darktable
Ubuntu:18.04:LTS
All versions, plus listed versions
2.2.5-22.4.0-12.4.1-12.4.2-1
None known
dcraw
Ubuntu:18.04:LTS
All versions, plus listed versions
9.27-1ubuntu1
None known
exactimage
Ubuntu:18.04:LTS
All versions, plus listed versions
0.9.2-1build11.0.1-1
None known
kodi
Ubuntu:18.04:LTS
All versions, plus listed versions
2:17.3+dfsg1-32:17.3+dfsg1-3build12:17.3+dfsg1-52:17.3+dfsg1-5build12:17.3+dfsg1-5build22:17.6+dfsg1-12:17.6+dfsg1-1build12:17.6+dfsg1-1ubuntu1
None known
rawtherapee
Ubuntu:18.04:LTS
All versions, plus listed versions
5.2-15.3-1
None known
darktable
Ubuntu:20.04:LTS
All versions, plus listed versions
2.6.0-12.6.2-32.6.3-12.6.3-1build12.6.3-1build23.0.1-0ubuntu1
None known
exactimage
Ubuntu:20.04:LTS
All versions, plus listed versions
1.0.2-31.0.2-5ubuntu11.0.2-5ubuntu21.0.2-7ubuntu11.0.2-7ubuntu2
None known
kodi
Ubuntu:20.04:LTS
All versions, plus listed versions
2:17.6+dfsg1-4ubuntu42:17.6+dfsg1-4ubuntu92:17.6+dfsg1-4ubuntu102:18.5+dfsg1-0ubuntu32:18.6+dfsg1-2ubuntu1
None known
rawtherapee
Ubuntu:20.04:LTS
All versions, plus listed versions
5.6-15.7-15.8-1
None known
darktable
Ubuntu:22.04:LTS
All versions, plus listed versions
3.6.0-0ubuntu13.8.0-23.8.0-33.8.0-3build13.8.0-3build23.8.1-13.8.1-2
None known
exactimage
Ubuntu:22.04:LTS
All versions, plus listed versions
1.0.2-81.0.2-8build11.0.2-8build21.0.2-8build3
None known
kodi
Ubuntu:22.04:LTS
All versions, plus listed versions
2:19.1+dfsg2-22:19.3+dfsg1-12:19.3+dfsg1-1build22:19.3+dfsg1-1build32:19.3+dfsg1-1build42:19.3+dfsg1-1build52:19.4+dfsg1-2
None known
rawtherapee
Ubuntu:22.04:LTS
All versions, plus listed versions
5.8-3
None known
darktable
Ubuntu:24.04:LTS
All versions, plus listed versions
4.4.2-1ubuntu14.4.2-1ubuntu24.4.2-1.14.4.2-1.1build14.6.1-24.6.1-2build34.6.1-2build44.6.1-2ubuntu1
None known
exactimage
Ubuntu:24.04:LTS
All versions, plus listed versions
1.0.2-11build21.0.2-11build31.0.2-11build41.0.2-11build71.0.2-11build81.0.2-11build9
None known
kodi
Ubuntu:24.04:LTS
All versions, plus listed versions
2:20.2+dfsg-42:20.2+dfsg-4build12:20.2+dfsg-4build22:20.2+dfsg-4ubuntu12:20.3+dfsg-12:20.4+dfsg-12:20.5+dfsg-1build22:20.5+dfsg-1ubuntu1
None known
rawtherapee
Ubuntu:24.04:LTS
All versions, plus listed versions
5.9-1build15.9-25.10-15.10-1build35.10-1build4
None known
darktable
Ubuntu:25.10
All versions, plus listed versions
5.0.1-0ubuntu15.0.1-0ubuntu25.0.1-15.0.1-2
None known
exactimage
Ubuntu:25.10
All versions, plus listed versions
1.2.1-2
None known
kodi
Ubuntu:25.10
All versions, plus listed versions
2:21.2+dfsg-1build22:21.2+dfsg-42:21.2+dfsg-4build12:21.2+dfsg-4build2
None known
rawtherapee
Ubuntu:25.10
All versions, plus listed versions
5.11-2build2
None known
darktable
Ubuntu:26.10
All versions, plus listed versions
5.4.1-15.4.1-1build15.4.1-1build2
None known
exactimage
Ubuntu:26.10
All versions, plus listed versions
1.2.1-2build21.2.1-3build11.2.1-3build2
None known
kodi
Ubuntu:26.10
All versions, plus listed versions
2:21.3+dfsg-1ubuntu12:21.3+dfsg-1.2
None known
rawtherapee
Ubuntu:26.10
All versions, plus listed versions
5.12-25.12-2build1
None known
darktable
Ubuntu:26.04:LTS
All versions, plus listed versions
5.0.1-25.2.1-15.2.1-1build15.2.1-1build25.4.0-15.4.1-1
None known
exactimage
Ubuntu:26.04:LTS
All versions, plus listed versions
1.2.1-21.2.1-2build11.2.1-2build2
None known
kodi
Ubuntu:26.04:LTS
All versions, plus listed versions
2:21.2+dfsg-4build22:21.2+dfsg-4build32:21.2+dfsg-52:21.3+dfsg-12:21.3+dfsg-1build12:21.3+dfsg-1ubuntu1
None known
rawtherapee
Ubuntu:26.04:LTS
All versions, plus listed versions
5.11-2build25.12-15.12-2
None known
libraw
Ubuntu:16.04:LTS
before 0.17.1-1ubuntu0.1, plus listed versions
0.16.2-10.17.0-10.17.1-1
0.17.1-1ubuntu0.1
gimp-ufraw
openSUSE:Tumbleweed
before 0.22-9.4
0.22-9.4

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 17 moreShow less
MoveEnter Open