LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp
Published Dec 7, 2018
6.5
MEDIUMCVSS 3.0
EPSS 2.04%
Description
An error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw versions prior to 0.18.7 can be exploited to trigger a NULL pointer dereference.
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.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
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:N/I:N/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 (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.04% (0.02039) | 80.40th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.04% (0.02039) | 78.54th | v5 (v2026.06.15) |
| May 21, 2025 | 1.36% (0.01363) | 79.19th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.26% (0.00260) | 47.36th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.52% (0.00518) | 77.54th | v3 (v2023.03.01) |
| Jul 2, 2024 | 0.52% (0.00518) | 76.88th | v3 (v2023.03.01) |
| Apr 8, 2024 | 0.66% (0.00660) | 79.23th | v3 (v2023.03.01) |
| Dec 1, 2023 | 0.66% (0.00660) | 77.23th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.53% (0.00534) | 73.58th | 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-5801 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1553334 Issue Tracking
- https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt x_refsource_MISCRelease Notes
- https://github.com/LibRaw/LibRaw/commit/0df5490b985c419de008d32168650bff17128914 x_refsource_MISCPatch
- 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-5801
- 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-5801
Change history (0)
No recorded changes yet.