CVE-2018-5802Out-of-bounds Read in Libraw

Severity
8.8HIGHNVD
EPSS
0.7%
top 28.40%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 7
Latest updateMay 13

Description

An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable in LibRaw versions prior to 0.18.7 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages6 packages

NVDlibraw/libraw< 0.18.7
Debianlibraw/libraw< 0.18.7-1+3
CVEListV5libraw/librawPrior to 0.18.7

Also affects: Debian Linux 8.0, Ubuntu Linux 14.04, 16.04, 17.10

Patches

🔴Vulnerability Details

3
GHSA
GHSA-j2qq-rw4v-jjx2: An error within the "kodak_radc_load_raw()" function (internal/dcraw_common2022-05-13
OSV
CVE-2018-5802: An error within the "kodak_radc_load_raw()" function (internal/dcraw_common2018-12-07
CVEList
CVE-2018-5802: An error within the "kodak_radc_load_raw()" function (internal/dcraw_common2018-12-07

📋Vendor Advisories

3
Ubuntu
LibRaw vulnerabilities2018-04-03
Red Hat
LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp2018-01-30
Debian
CVE-2018-5802: libraw - An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp)...2018

💬Community

7
Bugzilla
CVE-2018-5802 dcraw: LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [fedora-all]2020-04-22
Bugzilla
CVE-2018-5802 LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [fedora-all]2020-04-22
Bugzilla
CVE-2018-5802 rawtherapee: LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [fedora-all]2020-04-22
Bugzilla
CVE-2018-5802 mingw-LibRaw: LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [fedora-all]2020-04-22
Bugzilla
CVE-2018-5802 LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [epel-6]2020-04-22
CVE-2018-5802 — Out-of-bounds Read in Libraw | cvebase