CVE-2018-5808Out-of-bounds Write in Libraw

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

Description

An error within the "find_green()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause a stack-based buffer overflow and subsequently execute arbitrary code.

CVSS vector

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

Affected Packages4 packages

NVDlibraw/libraw< 0.18.9
debiandebian/libraw< libraw 0.18.11-1 (bookworm)
Debianlibraw/libraw< 0.18.11-1+3
CVEListV5libraw/librawPrior to 0.18.9

Also affects: Debian Linux 8.0

Patches

🔴Vulnerability Details

2
GHSA
GHSA-w62w-xxmq-vqhx: An error within the "find_green()" function (internal/dcraw_common2022-05-13
OSV
CVE-2018-5808: An error within the "find_green()" function (internal/dcraw_common2018-12-07

📋Vendor Advisories

2
Red Hat
LibRaw: stack-based buffer overflow in find_green() leads to arbitrary code execution2018-05-30
Debian
CVE-2018-5808: libraw - An error within the "find_green()" function (internal/dcraw_common.cpp) in LibRa...2018

💬Community

2
Bugzilla
CVE-2018-5808 LibRaw: stack-based buffer overflow in find_green() leads to arbitrary code execution [epel-6]2018-12-21
Bugzilla
CVE-2018-5808 LibRaw: stack-based buffer overflow in find_green() leads to arbitrary code execution2018-12-21