LibRaw up to 0.18.8 dcraw_common.cpp nikon_coolscan_load_raw null pointer dereference

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.3$0-$5k0.00

Summaryinfo

A vulnerability identified as problematic has been detected in LibRaw up to 0.18.8. Affected is the function nikon_coolscan_load_raw of the file internal/dcraw_common.cpp. Performing a manipulation results in null pointer dereference. This vulnerability is identified as CVE-2018-5812. The attack can be initiated remotely. There is not any exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as problematic, was found in LibRaw up to 0.18.8 (Image Processing Software). This affects the function nikon_coolscan_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 "nikon_coolscan_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to trigger a NULL pointer dereference.

The bug was discovered 05/30/2018. The weakness was released 12/07/2018 (Website). It is possible to read the advisory at usn.ubuntu.com. This vulnerability is uniquely identified as CVE-2018-5812 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 of the vulnerability are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 71 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 111630 (openSUSE Security Update : libraw (openSUSE-2018-849)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 197322 (Ubuntu Security Notification for Libraw Vulnerabilities (USN-3838-1)).

Upgrading to version 0.18.9 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 databases at Tenable (111630) and Secunia (SA81800†). Entries connected to this vulnerability are available at VDB-127726, VDB-127729, VDB-127730 and VDB-127732. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.4
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Null pointer dereference
CWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 111630
Nessus Name: openSUSE Security Update : libraw (openSUSE-2018-849)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: LibRaw 0.18.9
Patch: github.com

Timelineinfo

01/19/2018 🔍
05/30/2018 +131 days 🔍
08/09/2018 +71 days 🔍
08/10/2018 +1 days 🔍
12/07/2018 +119 days 🔍
12/07/2018 +0 days 🔍
12/08/2018 +1 days 🔍
02/09/2025 +2254 days 🔍

Sourcesinfo

Product: github.com

Advisory: USN-3838-1
Status: Confirmed

CVE: CVE-2018-5812 (🔍)
GCVE (CVE): GCVE-0-2018-5812
GCVE (VulDB): GCVE-100-127731
Secunia: 81800

See also: 🔍

Entryinfo

Created: 12/08/2018 13:51
Updated: 02/09/2025 00:19
Changes: 12/08/2018 13:51 (73), 04/19/2020 09:46 (1), 06/13/2023 18:50 (5), 02/09/2025 00:19 (15)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!