LibRaw up to 0.18.8 dcraw_common.cpp rollei_load_raw memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in LibRaw up to 0.18.8. It has been rated as critical. This affects the function rollei_load_raw of the file internal/dcraw_common.cpp. This manipulation causes memory corruption.
The identification of this vulnerability is CVE-2018-5810. It is possible to initiate the attack remotely. There is no exploit available.
Upgrading the affected component is advised.
Details
A vulnerability classified as critical was found in LibRaw up to 0.18.8 (Image Processing Software). Affected by this vulnerability is the function rollei_load_raw of the file internal/dcraw_common.cpp. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
An error within the "rollei_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause a heap-based buffer overflow and subsequently cause a crash.
The bug was discovered 05/30/2018. The weakness was shared 12/07/2018 by Laurent Delosieres with Secunia Research (Website). The advisory is shared at usn.ubuntu.com. This vulnerability is known as CVE-2018-5810 since 01/19/2018. The attack can be launched remotely. The exploitation doesn't need any form of authentication. 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 146 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 118353 (SUSE SLED12 Security Update : libraw (SUSE-SU-2018:3343-1)), 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 (118353), SecurityFocus (BID 104663†) and Secunia (SA81800†). The entries VDB-127720, VDB-127721, VDB-127722 and VDB-127724 are related to this item. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://github.com/LibRaw/LibRaw/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.4
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
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: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
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: 118353
Nessus Name: SUSE SLED12 Security Update : libraw (SUSE-SU-2018:3343-1)
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.9
Patch: github.com
Timeline
01/19/2018 🔍05/30/2018 🔍
06/30/2018 🔍
10/23/2018 🔍
10/24/2018 🔍
12/07/2018 🔍
12/07/2018 🔍
12/08/2018 🔍
03/12/2025 🔍
Sources
Product: github.comAdvisory: fd6330292501983ac75fe4162275794b18445bd9
Researcher: Laurent Delosieres
Organization: Secunia Research
Status: Confirmed
CVE: CVE-2018-5810 (🔍)
GCVE (CVE): GCVE-0-2018-5810
GCVE (VulDB): GCVE-100-127729
SecurityFocus: 104663 - LibRaw CVE-2018-5800 Heap Buffer Overflow Vulnerability
Secunia: 81800
See also: 🔍
Entry
Created: 12/08/2018 13:50Updated: 03/12/2025 23:09
Changes: 12/08/2018 13:50 (75), 04/19/2020 09:40 (5), 06/13/2023 18:21 (5), 06/13/2023 18:28 (1), 03/12/2025 23:09 (18)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.