LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service
Published Dec 7, 2018
6.5
MEDIUMCVSS 3.0
EPSS 2.11%
Description
An integer overflow error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger a division by zero via specially crafted NOKIARAW file (Note: This vulnerability is caused due to an incomplete fix of CVE-2018-5804).
Affected products
- Vendor n/a Product LibRaw Defaultn/a
- Version Prior to 0.18.12StatusaffectedConstraints-
- 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.
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:N/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:C
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 | 2.11% (0.02108) | 81.08th | v5 (v2026.06.15) |
| Aug 23, 2026 | 2.29% (0.02293) | 81.77th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.32% (0.00317) | 70.73th | v3 (v2023.03.01) |
| Apr 29, 2024 | 0.32% (0.00317) | 70.10th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.34% (0.00344) | 70.80th | v3 (v2023.03.01) |
| Dec 1, 2023 | 0.34% (0.00344) | 68.37th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.25% (0.00253) | 61.29th | 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-5816 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1610156 Issue Tracking
- https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt x_refsource_MISCThird Party Advisory
- https://github.com/LibRaw/LibRaw/commit/1d8d1b452e5dc74033ee9f846081a0efb616cc39 x_refsource_MISCPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-5816
- https://secuniaresearch.flexerasoftware.com/advisories/83507/ third-party-advisoryx_refsource_SECUNIAPermissions RequiredThird Party Advisory
- https://secuniaresearch.flexerasoftware.com/secunia_research/2018-14/ 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-5816
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-5816 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1610156 | Issue Tracking | |
| https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt | x_refsource_MISCThird Party Advisory | |
| https://github.com/LibRaw/LibRaw/commit/1d8d1b452e5dc74033ee9f846081a0efb616cc39 | x_refsource_MISCPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-5816 | ||
| https://secuniaresearch.flexerasoftware.com/advisories/83507/ | third-party-advisoryx_refsource_SECUNIAPermissions RequiredThird Party Advisory | |
| https://secuniaresearch.flexerasoftware.com/secunia_research/2018-14/ | 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-5816 |
Change history (0)
No recorded changes yet.