LibRaw: out-of-bounds read in samsung_load_raw in internal/dcraw_common.cpp
Published Dec 7, 2018
8.8
HIGHCVSS 3.0
EPSS 1.98%
Description
An error within the "samsung_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.
Affected products
- Vendor n/a Product LibRaw Defaultn/a
- Version Prior to 0.18.9StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | LibRaw | n/a |
|
Configuration 2
- 14.04
- 16.04
- 18.04
No data.
Red Hat Enterprise Linux 7
LibRaw
Not affected
Red Hat Enterprise Linux 8
LibRaw
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | LibRaw | Not affected | n/a |
| Red Hat Enterprise Linux 8 | LibRaw | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of LibRaw as shipped with Red Hat Enterprise Linux 7 as they did not include the vulnerable code.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.98% (0.01983) | 79.82th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.98% (0.01983) | 79.66th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.45% (0.00446) | 75.22th | v3 (v2023.03.01) |
| Apr 29, 2024 | 0.45% (0.00446) | 74.67th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.43% (0.00429) | 73.74th | v3 (v2023.03.01) |
| Dec 1, 2023 | 0.43% (0.00429) | 71.54th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.35% (0.00347) | 67.17th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.25% (0.01247) | 30.57th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.25% (0.01247) | 0.00th | v1 |
References (9)
- https://access.redhat.com/security/cve/CVE-2018-5807 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1610469 Issue Tracking
- https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt x_refsource_MISCRelease Notes
- https://github.com/LibRaw/LibRaw/commit/fd6330292501983ac75fe4162275794b18445bd9 x_refsource_MISCPatch
- https://nvd.nist.gov/vuln/detail/CVE-2018-5807
- https://secuniaresearch.flexerasoftware.com/advisories/81800/ third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- https://secuniaresearch.flexerasoftware.com/secunia_research/2018-10/ x_refsource_MISCThird Party Advisory
- https://usn.ubuntu.com/3838-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-5807
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-5807 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1610469 | Issue Tracking | |
| https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt | x_refsource_MISCRelease Notes | |
| https://github.com/LibRaw/LibRaw/commit/fd6330292501983ac75fe4162275794b18445bd9 | x_refsource_MISCPatch | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-5807 | ||
| https://secuniaresearch.flexerasoftware.com/advisories/81800/ | third-party-advisoryx_refsource_SECUNIAThird Party Advisory | |
| https://secuniaresearch.flexerasoftware.com/secunia_research/2018-10/ | x_refsource_MISCThird Party Advisory | |
| https://usn.ubuntu.com/3838-1/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-5807 |
Change history (0)
No recorded changes yet.