CVE-2018-5808
publishedLibRaw: stack-based buffer overflow in find_green() leads to arbitrary code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | LibRawPrior to 0.18.9 | Affected | Not stated | flexera |
| Debian | jessie | libraw | Advisory build | 0.16.0-9+deb8u4 | DLA-1734-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-develaarch64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| Debian | stretch | libraw | Advisory build | 0.17.2-6+deb9u2 | DLA-2903-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-develppc64le | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-devels390x | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-develx86_64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-devel-staticaarch64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
Show 19 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP3 | libraw-devel-staticppc64le | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-devel-statics390x | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-devel-staticx86_64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw9aarch64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw9ppc64le | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw9s390x | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw9x86_64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-develaarch64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-develppc64le | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-devels390x | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-develx86_64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-devel-staticaarch64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-devel-staticppc64le | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-devel-statics390x | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-devel-staticx86_64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw9aarch64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw9ppc64le | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw9s390x | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw9x86_64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | LibRaw | Prior to 0.18.9 (affected) | flexera · cna |
Weaknesses
1- Arbitrary code execution through stack-based buffer overflow
References
5- https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt
- https://github.com/LibRaw/LibRaw/commit/fd6330292501983ac75fe4162275794b18445bd9
- [debian-lts-announce] 20190328 [SECURITY] [DLA 1734-1] libraw security update https://lists.debian.org/debian-lts-announce/2019/03/msg00036.html
- 81800 https://secuniaresearch.flexerasoftware.com/advisories/81800/
- https://secuniaresearch.flexerasoftware.com/secunia_research/2018-9/
Provider assertions
2flexera · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ecf2269d5e36c3294003937494c84d55253ad83d89db706a6f74e56dcb68a66a
- Ingested
- 23 Sep 2026, 07:44:52 UTC
- Source record
- Official CVE record