CVE-2018-5808
published 2018-12-07CVE-2018-5808: 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…
PriorityP348high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EPSS
2.79%
84.8th percentile
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.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | libraw | < libraw 0.18.11-1 (bookworm) | libraw 0.18.11-1 (bookworm) |
| libraw | libraw | < 0.18.9 | 0.18.9 |
| libraw | libraw | — | — |
| libraw | libraw | >= 0 < 0.18.11-1 | 0.18.11-1 |
| libraw | libraw | >= 0 < 0.18.11-1 | 0.18.11-1 |
| libraw | libraw | >= 0 < 0.18.11-1 | 0.18.11-1 |
| libraw | libraw | >= 0 < 0.18.11-1 | 0.18.11-1 |
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
LibRaw: stack-based buffer overflow in find_green() leads to arbitrary code execution
vendor_redhat·2018-05-30·CVSS 8.8
CVE-2018-5808 [HIGH] CWE-121 LibRaw: stack-based buffer overflow in find_green() leads to arbitrary code execution
LibRaw: stack-based buffer overflow in find_green() leads to arbitrary code execution
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.
Statement: This issue did not affect the versions of LibRaw as shipped with Red Hat Enterprise Linux 7 as it does not allow an attacker enough control to corrupt the internal state.
Package: LibRaw (Red Hat Enterprise Linux 7) - Not affected
Package: LibRaw (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2018-5808: libraw - An error within the "find_green()" function (internal/dcraw_common.cpp) in LibRa...
vendor_debian·2018·CVSS 8.8
CVE-2018-5808 [HIGH] CVE-2018-5808: libraw - An error within the "find_green()" function (internal/dcraw_common.cpp) in LibRa...
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.
Scope: local
bookworm: resolved (fixed in 0.18.11-1)
bullseye: resolved (fixed in 0.18.11-1)
forky: resolved (fixed in 0.18.11-1)
sid: resolved (fixed in 0.18.11-1)
trixie: resolved (fixed in 0.18.11-1)
GHSA
GHSA-w62w-xxmq-vqhx: An error within the "find_green()" function (internal/dcraw_common
ghsa_unreviewed·2022-05-13
CVE-2018-5808 [HIGH] CWE-787 GHSA-w62w-xxmq-vqhx: An error within the "find_green()" function (internal/dcraw_common
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.
OSV
CVE-2018-5808: An error within the "find_green()" function (internal/dcraw_common
osv·2018-12-07·CVSS 8.8
CVE-2018-5808 [HIGH] CVE-2018-5808: An error within the "find_green()" function (internal/dcraw_common
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-5808 LibRaw: stack-based buffer overflow in find_green() leads to arbitrary code execution [epel-6]
bugzilla·2018-12-21·CVSS 8.8
CVE-2018-5808 [HIGH] CVE-2018-5808 LibRaw: stack-based buffer overflow in find_green() leads to arbitrary code execution [epel-6]
CVE-2018-5808 LibRaw: stack-based buffer overflow in find_green() leads to arbitrary code execution [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-6.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the foll
Bugzilla
CVE-2018-5808 LibRaw: stack-based buffer overflow in find_green() leads to arbitrary code execution
bugzilla·2018-12-21·CVSS 8.8
CVE-2018-5808 [HIGH] CVE-2018-5808 LibRaw: stack-based buffer overflow in find_green() leads to arbitrary code execution
CVE-2018-5808 LibRaw: stack-based buffer overflow in find_green() leads to arbitrary code execution
A flaw was found in LibRaw versions prior to 0.18.9. An error within the "find_green()" function (internal/dcraw_common.cpp) can be exploited to cause a stack-based buffer overflow and subsequently execute arbitrary code.
References:
https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt
https://secuniaresearch.flexerasoftware.com/advisories/81800/
https://secuniaresearch.flexerasoftware.com/secunia_research/2018-9/
Upstream commit:
https://github.com/LibRaw/LibRaw/commit/fd6330292501983ac75fe4162275794b18445bd9
Discussion:
Created LibRaw tracking bugs for this issue:
Affects: epel-6 [bug 1661519]
---
Increase Impact of the flaw to Important and set C:H/I:H/A:H because arbitrary
https://github.com/LibRaw/LibRaw/blob/master/Changelog.txthttps://github.com/LibRaw/LibRaw/commit/fd6330292501983ac75fe4162275794b18445bd9https://lists.debian.org/debian-lts-announce/2019/03/msg00036.htmlhttps://secuniaresearch.flexerasoftware.com/advisories/81800/https://secuniaresearch.flexerasoftware.com/secunia_research/2018-9/https://github.com/LibRaw/LibRaw/blob/master/Changelog.txthttps://github.com/LibRaw/LibRaw/commit/fd6330292501983ac75fe4162275794b18445bd9https://lists.debian.org/debian-lts-announce/2019/03/msg00036.htmlhttps://secuniaresearch.flexerasoftware.com/advisories/81800/https://secuniaresearch.flexerasoftware.com/secunia_research/2018-9/
2018-12-07
Published