CVE-2015-8367
The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors...
CVE-2015-8367 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.60%, the 92nd percentile. Fixed in libraw 0.17.1-r0.
The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors and possibly execute arbitrary code, related to memory object initialization.
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
What each source reports
NVD Score used
9.8
The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors and possibly execute arbitrary code, related to memory object initialization.
- Record
CVE-2015-8367- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-665
- Updated
- 2026-11-02
CVE List No score
The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors and possibly execute arbitrary code, related to memory object initialization.
- Record
CVE-2015-8367- Updated
- 2026-11-02
EUVDEUVD-2015-8251 No score
The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors and possibly execute arbitrary code, related to memory object initialization.
- Record
EUVD-2015-8251- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-q6jq-567x-75gp
9.8
The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors...
The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors and possibly execute arbitrary code, related to memory object initialization.
- Record
GHSA-q6jq-567x-75gp- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-665
- Updated
- 2026-11-02
OSVALPINE-CVE-2015-8367
9.8
The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors and possibly execute arbitrary code, related to memory object initialization.
- Record
ALPINE-CVE-2015-8367- CVSS 3.1
- 9.8 Critical
CVSS: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
The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors and possibly execute arbitrary code, related to memory object initialization.
- Record
CVE-2015-8367- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2015-8367
9.8
The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors and possibly execute arbitrary code, related to memory object initialization.
- Record
DEBIAN-CVE-2015-8367- CVSS 3.1
- 9.8 Critical
CVSS: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-8367
9.8
The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors and possibly execute arbitrary code, related to memory object initialization.
- Record
UBUNTU-CVE-2015-8367- CVSS 3.1
- 9.8 Critical
CVSS: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:10156-1 No score
libraw-devel-0.17.2-1.4 on GA media
These are all security issues fixed in the libraw-devel-0.17.2-1.4 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10156-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:2300-1 No score
Security update for libraw
This update for libraw fixes the following issues:
-
CVE-2015-3885: A specially crafted raw image file could have caused a Denial of Service through an integer overflow. (bsc#930683)
-
CVE-2015-8367: The function phase_one_correct() did not handle memory object initialization correctly, which may have caused some other problems. (bsc#957517)
-
CVE-2017-6886: memory corruption in parse_tiff_ifd() func (internal/dcraw_common.cpp) could lead to Denial of service (bsc#1039380)
-
CVE-2017-6889: integer overflow error within the 'foveon_load_camf()' function (dcraw_foveon.c) could lead to Denial of service (bsc#1039210)
-
CVE-2017-6890: boundary error within the 'foveon_load_camf()' function (dcraw_foveon.c) (bsc#1039209)
- Record
SUSE-SU-2017:2300-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:1380-1 No score
Security update for libraw
This update for libraw fixes the following issues:
- CVE-2025-43962: Fixed out-of-bounds read when tag 0x412 processing in phase_one_correct function (bsc#1241585)
- CVE-2025-43964: Fixed tag 0x412 processing in phase_one_correct does not enforce minimum w0 and w1 values (bsc#1241584)
- Record
SUSE-SU-2025:1380-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
| Package | Affected | Fixed |
|---|---|---|
librawAlpine:v3.3 |
before 0.17.1-r0 | 0.17.1-r0 |
darktableDebian:12 |
before 2.0.0-1 | 2.0.0-1 |
darktableDebian:13 |
before 2.0.0-1 | 2.0.0-1 |
darktableDebian:14 |
before 2.0.0-1 | 2.0.0-1 |
librawDebian:12 |
before 0.17.1-1 | 0.17.1-1 |
librawDebian:13 |
before 0.17.1-1 | 0.17.1-1 |
librawDebian:14 |
before 0.17.1-1 | 0.17.1-1 |
librawMageia:5 |
before 0.16.2-1.1.mga5 | 0.16.2-1.1.mga5 |
librawSUSE:Linux Enterprise Desktop 12 SP2 |
before 0.15.4-9.2 | 0.15.4-9.2 |
librawSUSE:Linux Enterprise Desktop 12 SP3 |
before 0.15.4-9.2 | 0.15.4-9.2 |
Show 32 moreShow less
| Package | Affected | Fixed |
|---|---|---|
librawSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 0.15.4-9.2 | 0.15.4-9.2 |
librawSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 0.15.4-9.2 | 0.15.4-9.2 |
librawSUSE:Linux Enterprise Workstation Extension 12 SP2 |
before 0.15.4-9.2 | 0.15.4-9.2 |
librawSUSE:Linux Enterprise Workstation Extension 12 SP3 |
before 0.15.4-9.2 | 0.15.4-9.2 |
librawSUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 |
before 0.15.4-45.1 | 0.15.4-45.1 |
librawUbuntu:14.04:LTS |
before 0.15.4-1ubuntu0.1, plus listed versions 0.15.3-1ubuntu10.15.4-1 |
0.15.4-1ubuntu0.1 |
exactimageUbuntu: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 less0.9.1-100.9.1-110.9.1-120.9.1-12ubuntu1 |
None known |
kodiUbuntu: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 |
rawtherapeeUbuntu:16.04:LTS |
All versions, plus listed versions 4.2-2build14.2-4 |
None known |
exactimageUbuntu:18.04:LTS |
All versions, plus listed versions 0.9.2-1build11.0.1-1 |
None known |
kodiUbuntu: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 |
rawtherapeeUbuntu:18.04:LTS |
All versions, plus listed versions 5.2-15.3-1 |
None known |
exactimageUbuntu: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 |
kodiUbuntu: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 |
rawtherapeeUbuntu:20.04:LTS |
All versions, plus listed versions 5.6-15.7-15.8-1 |
None known |
exactimageUbuntu:22.04:LTS |
All versions, plus listed versions 1.0.2-81.0.2-8build11.0.2-8build21.0.2-8build3 |
None known |
kodiUbuntu: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 |
rawtherapeeUbuntu:22.04:LTS |
All versions, plus listed versions 5.8-3 |
None known |
exactimageUbuntu: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 |
kodiUbuntu: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 |
rawtherapeeUbuntu:24.04:LTS |
All versions, plus listed versions 5.9-1build15.9-25.10-15.10-1build35.10-1build4 |
None known |
exactimageUbuntu:25.10 |
All versions, plus listed versions 1.2.1-2 |
None known |
kodiUbuntu: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 |
rawtherapeeUbuntu:25.10 |
All versions, plus listed versions 5.11-2build2 |
None known |
exactimageUbuntu:26.10 |
All versions, plus listed versions 1.2.1-2build21.2.1-3build11.2.1-3build2 |
None known |
kodiUbuntu:26.10 |
All versions, plus listed versions 2:21.3+dfsg-1ubuntu12:21.3+dfsg-1.2 |
None known |
rawtherapeeUbuntu:26.10 |
All versions, plus listed versions 5.12-25.12-2build1 |
None known |
exactimageUbuntu:26.04:LTS |
All versions, plus listed versions 1.2.1-21.2.1-2build11.2.1-2build2 |
None known |
kodiUbuntu: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 |
rawtherapeeUbuntu:26.04:LTS |
All versions, plus listed versions 5.11-2build25.12-15.12-2 |
None known |
librawUbuntu: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 |
librawopenSUSE:Tumbleweed |
before 0.17.2-1.4 | 0.17.2-1.4 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
packetstormsecurity.com/files/134573/LibRaw-0.17-Overflow.html
libraw.org/news/libraw-0-17-1
seclists.org/fulldisclosure/2015/Nov/108
nvd.nist.gov/vuln/detail/CVE-2015-8367
github.com/advisories/GHSA-q6jq-567x-75gp
security.alpinelinux.org/vuln/CVE-2015-8367
Show 36 moreShow less
security-tracker.debian.org/tracker/CVE-2015-8367
advisories.mageia.org/MGASA-2015-0469.html
bugs.mageia.org/show_bug.cgi?id=17314
lists.fedoraproject.org/pipermail/package-announce/2015-December/173363.html
suse.com/support/update/announcement/2017/suse-su-20172300-1
bugzilla.suse.com/1039209
bugzilla.suse.com/1039210
bugzilla.suse.com/1039379
bugzilla.suse.com/1039380
bugzilla.suse.com/930683
bugzilla.suse.com/957517
suse.com/security/cve/CVE-2015-3885
suse.com/security/cve/CVE-2015-8367
suse.com/security/cve/CVE-2017-6886
suse.com/security/cve/CVE-2017-6887
suse.com/security/cve/CVE-2017-6889
suse.com/security/cve/CVE-2017-6890
suse.com/security/cve/CVE-2017-6899
suse.com/support/update/announcement/2025/suse-su-20251380-1
bugzilla.suse.com/1241584
bugzilla.suse.com/1241585
suse.com/security/cve/CVE-2025-43962
suse.com/security/cve/CVE-2025-43964
ubuntu.com/security/CVE-2015-8367
ubuntu.com/security/notices/USN-3492-1
cve.org/CVERecord?id=CVE-2015-8367
ubuntu.com/security/CVE-2015-3885
ubuntu.com/security/CVE-2015-8366
ubuntu.com/security/CVE-2017-6886
ubuntu.com/security/CVE-2017-6887
ubuntu.com/security/CVE-2017-13735
ubuntu.com/security/CVE-2017-14265
ubuntu.com/security/CVE-2017-14348
ubuntu.com/security/CVE-2017-14608
suse.com/security/cve/CVE-2013-2126
suse.com/security/cve/CVE-2013-2127