LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp
Published Dec 7, 2018
8.8
HIGHCVSS 3.1
EPSS 1.97%
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.
Affected products
- Vendor n/a Product LibRaw Defaultn/a
- Version Prior to 0.18.7StatusaffectedConstraints-
- 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
- 7.0
- 7.0
- 7.0
Configuration 3
- 14.04
- 16.04
- 17.10
Configuration 4
- 8.0
No data.
Red Hat Enterprise Linux 7
libkdcraw-0:4.10.5-5.el7
Fixed · RHSA-2018:3065
Red Hat Enterprise Linux 5
dcraw
Will not fix
Red Hat Enterprise Linux 6
dcraw
Fix deferred
Red Hat Enterprise Linux 7
LibRaw
Will not fix
Red Hat Enterprise Linux 7
dcraw
Not affected
Red Hat Enterprise Linux 8
LibRaw
Not affected
Red Hat Enterprise Linux 8
dcraw
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | libkdcraw-0:4.10.5-5.el7 | Fixed | RHSA-2018:3065 |
| Red Hat Enterprise Linux 5 | dcraw | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | dcraw | Fix deferred | n/a |
| Red Hat Enterprise Linux 7 | LibRaw | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | dcraw | Not affected | n/a |
| Red Hat Enterprise Linux 8 | LibRaw | Not affected | n/a |
| Red Hat Enterprise Linux 8 | dcraw | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/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
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.97% (0.01974) | 79.72th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.97% (0.01974) | 77.80th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.70% (0.00705) | 69.78th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.58% (0.02582) | 75.92th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.70% (0.00705) | 70.40th | v4 (v2025.03.14) |
| Dec 17, 2024 | 0.44% (0.00436) | 74.36th | v3 (v2023.03.01) |
| Jul 2, 2024 | 0.72% (0.00719) | 80.70th | v3 (v2023.03.01) |
| Apr 29, 2024 | 0.80% (0.00798) | 81.40th | v3 (v2023.03.01) |
| Apr 11, 2024 | 0.70% (0.00703) | 80.03th | v3 (v2023.03.01) |
| Dec 1, 2023 | 0.70% (0.00703) | 78.02th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.57% (0.00569) | 74.45th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.11% (0.01108) | 29.61th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.66% (0.01659) | 34.20th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.66% (0.01659) | 0.00th | v1 |
References (12)
- https://access.redhat.com/errata/RHSA-2018:3065 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-5802 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1553335 Issue Tracking
- https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt x_refsource_MISCRelease Notes
- https://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4 x_refsource_MISCPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/03/msg00036.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-5802
- https://packetstormsecurity.com/files/146172/secunia-libraw.txt
- https://secuniaresearch.flexerasoftware.com/advisories/79000/ third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- https://secuniaresearch.flexerasoftware.com/secunia_research/2018-1/ x_refsource_MISCThird Party Advisory
- https://usn.ubuntu.com/3615-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-5802
Change history (0)
No recorded changes yet.