CVE-2018-5816
publishedLibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | LibRawPrior to 0.18.12 | Affected | Not stated | flexera |
| SUSE / openSUSE | SLE-15 | libraw-develx86_64 | Advisory build | 0.18.9-3.5.1 | SUSE-SU-2019:0005-1 |
| Ubuntu | bionic | libraw | Advisory build | 0.18.8-1ubuntu0.2 | USN-3838-1 |
| SUSE / openSUSE | SLE-15 | libraw16x86_64 | Advisory build | 0.18.9-3.5.1 | SUSE-SU-2019:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libraw-develi586 | Advisory build | 0.18.9-lp150.2.3.1 | OPENSUSE-SU-2019:0008-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libraw-develx86_64 | Advisory build | 0.18.9-lp150.2.3.1 | OPENSUSE-SU-2019:0008-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libraw-devel-statici586 | Advisory build | 0.18.9-lp150.2.3.1 | OPENSUSE-SU-2019:0008-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libraw-devel-staticx86_64 | Advisory build | 0.18.9-lp150.2.3.1 | OPENSUSE-SU-2019:0008-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-15.0 | libraw-toolsi586 | Advisory build | 0.18.9-lp150.2.3.1 | OPENSUSE-SU-2019:0008-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libraw-toolsx86_64 | Advisory build | 0.18.9-lp150.2.3.1 | OPENSUSE-SU-2019:0008-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libraw16i586 | Advisory build | 0.18.9-lp150.2.3.1 | OPENSUSE-SU-2019:0008-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libraw16x86_64 | Advisory build | 0.18.9-lp150.2.3.1 | OPENSUSE-SU-2019:0008-1 |
| Ubuntu | bionic | libraw-bin | Advisory build | 0.18.8-1ubuntu0.2 | USN-3838-1 |
| Ubuntu | bionic | libraw16 | Advisory build | 0.18.8-1ubuntu0.2 | USN-3838-1 |
| Ubuntu | xenial | libraw | Advisory build | 0.17.1-1ubuntu0.4 | USN-3838-1 |
| Ubuntu | xenial | libraw-bin | Advisory build | 0.17.1-1ubuntu0.4 | USN-3838-1 |
| Ubuntu | xenial | libraw15 | Advisory build | 0.17.1-1ubuntu0.4 | USN-3838-1 |
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).
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.12 (affected) | flexera · cna |
Weaknesses
1- DoS (Denial of Service) through division by zero
References
5- https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt
- https://github.com/LibRaw/LibRaw/commit/1d8d1b452e5dc74033ee9f846081a0efb616cc39
- 83507 https://secuniaresearch.flexerasoftware.com/advisories/83507/
- https://secuniaresearch.flexerasoftware.com/secunia_research/2018-14/
- USN-3838-1 https://usn.ubuntu.com/3838-1/
Provider assertions
2flexera · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0bac00f2092b8ebd89205f53b7290ee1dea531d715035d74595a691ce885b975
- Ingested
- 23 Sep 2026, 07:44:52 UTC
- Source record
- Official CVE record