Every CVE Search/ Get API key

CVE-2018-5801

An error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw versions prior to...

6.5 MediumFix available

An error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw versions prior to 0.18.7 can be exploited to trigger a NULL pointer dereference.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.04%Up 0.4 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

An error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw versions prior to 0.18.7 can be exploited to trigger a NULL pointer dereference.

Record
CVE-2018-5801
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-476
Updated
2026-11-02
CVE List No score

An error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw versions prior to 0.18.7 can be exploited to trigger a NULL pointer dereference.

Record
CVE-2018-5801
Updated
2026-11-02
EUVDEUVD-2018-17568 No score

An error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw versions prior to 0.18.7 can be exploited to trigger a NULL pointer dereference.

Record
EUVD-2018-17568
Updated
2026-11-03
GitHub AdvisoriesGHSA-chvh-r3pc-vjf8 6.5

An error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw versions prior to...

An error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw versions prior to 0.18.7 can be exploited to trigger a NULL pointer dereference.

Record
GHSA-chvh-r3pc-vjf8
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-02
OSV 6.5

An error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw versions prior to 0.18.7 can be exploited to trigger a NULL pointer dereference.

Record
CVE-2018-5801
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-5801 6.5

An error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw versions prior to 0.18.7 can be exploited to trigger a NULL pointer dereference.

Record
DEBIAN-CVE-2018-5801
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 8 moreShow less
OSVRHSA-2018:3065 7.0

Red Hat Security Advisory: libkdcraw security update

Record
RHSA-2018:3065
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-5801 6.5

An error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw versions prior to 0.18.7 can be exploited to trigger a NULL pointer dereference.

Record
UBUNTU-CVE-2018-5801
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2019-0017 No score

Updated dcraw packages fix security vulnerability

A NULL pointer dereference flaw was found in the way dcraw processed images. An attacker could potentially use this flaw to crash dcraw by tricking it into processing crafted images (CVE-2018-5801).

Record
MGASA-2019-0017
Updated
2026-11-02
OSVopenSUSE-SU-2024:10712-1 No score

dcraw-9.28.0-1.6 on GA media

These are all security issues fixed in the dcraw-9.28.0-1.6 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10712-1
Updated
2026-11-02
OSVSUSE-SU-2018:3343-1 No score

Security update for libraw

This update for libraw fixes the following issues:

Security issues fixed:

  • CVE-2018-5800: Fixed heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function (bsc#1084691).
  • CVE-2018-5801: Fixed NULL pointer dereference in LibRaw::unpack function (bsc#1084690).
  • CVE-2018-5802: Fixed out-of-bounds read in kodak_radc_load_raw function (bsc#1084688).
  • CVE-2018-5813: Fixed infinite loop in the parse_minolta function (bsc#1103200)
  • CVE-2018-5810: Fixed a heap-based buffer overflow in rollei_load_raw (bsc#1103353)
Record
SUSE-SU-2018:3343-1
Updated
2026-11-02
OSVSUSE-SU-2022:1277-1 No score

Security update for dcraw

This update for dcraw fixes the following issues:

  • CVE-2017-13735: Fixed a denial of service issue due to a floating point exception (bsc#1056170).
  • CVE-2017-14608: Fixed an invalid memory access that could lead to information disclosure or denial of service (bsc#1063798).
  • CVE-2018-19655: Fixed a buffer overflow that could lead to an application crash (bsc#1117896).
  • CVE-2018-5801: Fixed an invalid memory access that could lead to denial of service (bsc#1084690).
  • CVE-2018-5805: Fixed a buffer overflow that could lead to an application crash (bsc#1097973).
  • CVE-2018-5806: Fixed an invalid memory access that could lead to denial of service (bsc#1097974).
  • CVE-2018-19565: Fixed an invalid memory access that could lead to information disclosure or denial of service (bsc#1117622).
  • CVE-2018-19566: Fixed an invalid memory access that could lead to information disclosure or denial of service (bsc#1117517).
  • CVE-2018-19567: Fixed a denial of service issue due to a floating point exception (bsc#1117512).
  • CVE-2018-19568: Fixed a denial of service issue due to a floating point exception (bsc#1117436).
  • CVE-2021-3624: Fixed a buffer overflow that could lead to code execution or denial of service (bsc#1189642).

Non-security fixes:

  • Updated to version 9.28.0.
Record
SUSE-SU-2022:1277-1
Updated
2026-11-02
OSVSUSE-SU-2022:1749-1 No score

Security update for dcraw

This update for dcraw fixes the following issues:

  • CVE-2017-13735: Fixed a denial of service issue due to a floating point exception (bsc#1056170).
  • CVE-2017-14608: Fixed an invalid memory access that could lead to information disclosure or denial of service (bsc#1063798).
  • CVE-2018-19655: Fixed a buffer overflow that could lead to an application crash (bsc#1117896).
  • CVE-2018-5801: Fixed an invalid memory access that could lead to denial of service (bsc#1084690).
  • CVE-2018-5805: Fixed a buffer overflow that could lead to an application crash (bsc#1097973).
  • CVE-2018-5806: Fixed an invalid memory access that could lead to denial of service (bsc#1097974).
  • CVE-2018-19565: Fixed an invalid memory access that could lead to information disclosure or denial of service (bsc#1117622).
  • CVE-2018-19566: Fixed an invalid memory access that could lead to information disclosure or denial of service (bsc#1117517).
  • CVE-2018-19567: Fixed a denial of service issue due to a floating point exception (bsc#1117512).
  • CVE-2018-19568: Fixed a denial of service issue due to a floating point exception (bsc#1117436).
  • CVE-2021-3624: Fixed a buffer overflow that could lead to code execution or denial of service (bsc#1189642).

Non-security fixes:

  • Updated to version 9.28.0.
Record
SUSE-SU-2022:1749-1
Updated
2026-11-02
OSVUSN-3615-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-3615-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libraw
Debian:12
before 0.18.7-1
0.18.7-1
libraw
Debian:13
before 0.18.7-1
0.18.7-1
libraw
Debian:14
before 0.18.7-1
0.18.7-1
libraw
Debian:8
before 0.16.0-9+deb8u4, plus listed versions
0.16.0-90.16.0-9+deb8u10.16.0-9+deb8u20.16.0-9+deb8u3
0.16.0-9+deb8u4
libraw
Debian:9
before 0.17.2-6+deb9u2, plus listed versions
0.17.2-60.17.2-6+deb9u1
0.17.2-6+deb9u2
dcraw
Mageia:6
before 9.27.0-1.1.mga6
9.27.0-1.1.mga6
libkdcraw
Red Hat:enterprise_linux:7::client
before 0:4.10.5-5.el7
0:4.10.5-5.el7
libkdcraw-debuginfo
Red Hat:enterprise_linux:7::client
before 0:4.10.5-5.el7
0:4.10.5-5.el7
libkdcraw-devel
Red Hat:enterprise_linux:7::client
before 0:4.10.5-5.el7
0:4.10.5-5.el7
libkdcraw
Red Hat:enterprise_linux:7::server
before 0:4.10.5-5.el7
0:4.10.5-5.el7
Show 56 moreShow less
Affected packages
PackageAffectedFixed
libkdcraw-debuginfo
Red Hat:enterprise_linux:7::server
before 0:4.10.5-5.el7
0:4.10.5-5.el7
libkdcraw-devel
Red Hat:enterprise_linux:7::server
before 0:4.10.5-5.el7
0:4.10.5-5.el7
libkdcraw
Red Hat:enterprise_linux:7::workstation
before 0:4.10.5-5.el7
0:4.10.5-5.el7
libkdcraw-debuginfo
Red Hat:enterprise_linux:7::workstation
before 0:4.10.5-5.el7
0:4.10.5-5.el7
libkdcraw-devel
Red Hat:enterprise_linux:7::workstation
before 0:4.10.5-5.el7
0:4.10.5-5.el7
libraw
SUSE:Linux Enterprise Desktop 12 SP3
before 0.15.4-21.1
0.15.4-21.1
libraw
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 0.15.4-21.1
0.15.4-21.1
libraw
SUSE:Linux Enterprise Workstation Extension 12 SP3
before 0.15.4-21.1
0.15.4-21.1
dcraw
openSUSE:Leap 15.3
before 9.28.0-150000.3.3.1
9.28.0-150000.3.3.1
dcraw
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 9.28.0-3.3.1
9.28.0-3.3.1
dcraw
SUSE:Linux Enterprise Workstation Extension 12 SP5
before 9.28.0-3.3.1
9.28.0-3.3.1
libraw
Ubuntu:14.04:LTS
before 0.15.4-1ubuntu0.2, plus listed versions
0.15.3-1ubuntu10.15.4-10.15.4-1ubuntu0.1
0.15.4-1ubuntu0.2
libraw
Ubuntu:16.04:LTS
before 0.17.1-1ubuntu0.2, plus listed versions
0.16.2-10.17.0-10.17.1-10.17.1-1ubuntu0.1
0.17.1-1ubuntu0.2
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
ufraw
Ubuntu:18.04:LTS
All versions, plus listed versions
0.22-1.10.22-20.22-30.22-3.1~build0.18.04.10.22-3.1ubuntu0.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
dcraw
Ubuntu:20.04:LTS
All versions, plus listed versions
9.28-2
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
dcraw
Ubuntu:22.04:LTS
All versions, plus listed versions
9.28-29.28-3
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
dcraw
Ubuntu:24.04:LTS
All versions, plus listed versions
9.28-39.28-3.1ubuntu19.28-5ubuntu1
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
dcraw
Ubuntu:25.10
All versions, plus listed versions
9.28-8
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
dcraw
Ubuntu:26.10
All versions, plus listed versions
9.28-8build1
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
dcraw
Ubuntu:26.04:LTS
All versions, plus listed versions
9.28-89.28-8build1
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
dcraw
openSUSE:Tumbleweed
before 9.28.0-1.6
9.28.0-1.6

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-5801 is a medium vulnerability (CVSS 6.5) in Libraw, published March 12, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.04%, the 81st percentile. Fixed in libraw 0.18.7-1.

References

Show 69 moreShow less
MoveEnter Open