LibRaw up to 0.18.7 dcraw_common.cpp leaf_hdr_load_raw null pointer dereference
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
5.3 | $0-$5k | 0.00 |
A vulnerability was found in LibRaw up to 0.18.7 (Image Processing Software). It has been classified as problematic. This affects the function leaf_hdr_load_raw
of the file internal/dcraw_common.cpp. The manipulation with an unknown input leads to a null pointer dereference vulnerability. CWE is classifying the issue as CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. This is going to have an impact on availability. The summary by CVE is:
An error within the "leaf_hdr_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.8 can be exploited to trigger a NULL pointer dereference.
The bug was discovered 03/15/2018. The weakness was published 12/07/2018 by Laurent Delosieres with Secunia Research (Website). The advisory is shared at access.redhat.com. This vulnerability is uniquely identified as CVE-2018-5806 since 01/19/2018. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 236 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 118767 (Oracle Linux 7 : libkdcraw (ELSA-2018-3065)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 237014 (Red Hat Update for libkdcraw (RHSA-2018:3065)).
Upgrading to version 0.18.8 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (118767). Similar entries are available at 127720, 127721, 127722 and 127724.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.5
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Null pointer dereferenceCWE: CWE-476 / CWE-404
ATT&CK: Unknown
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 118767
Nessus Name: Oracle Linux 7 : libkdcraw (ELSA-2018-3065)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: LibRaw 0.18.8
Patch: github.com
Timeline
01/19/2018 🔍03/15/2018 🔍
06/30/2018 🔍
11/06/2018 🔍
11/07/2018 🔍
12/07/2018 🔍
12/07/2018 🔍
12/08/2018 🔍
06/13/2023 🔍
Sources
Advisory: RHSA-2018:3065Researcher: Laurent Delosieres
Organization: Secunia Research
Status: Confirmed
CVE: CVE-2018-5806 (🔍)
SecurityFocus: 104663 - LibRaw CVE-2018-5800 Heap Buffer Overflow Vulnerability
See also: 🔍
Entry
Created: 12/08/2018 13:46Updated: 06/13/2023 17:35
Changes: 12/08/2018 13:46 (75), 04/19/2020 09:31 (5), 06/13/2023 17:35 (5)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.