LibRaw Image File x3f_utils_patched.cpp get_huffman_diff out-of-bounds
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.8 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, was found in LibRaw. This affects the function get_huffman_diff of the file libraw\src\x3f\x3f_utils_patched.cpp of the component Image File Handler. Executing a manipulation can lead to out-of-bounds.
This vulnerability appears as CVE-2020-35531. The attack may be performed from remote. There is no available exploit.
It is advisable to implement a patch to correct this issue.
Details
A vulnerability classified as problematic was found in LibRaw (Image Processing Software) (affected version not known). This vulnerability affects the function get_huffman_diff of the file libraw\src\x3f\x3f_utils_patched.cpp of the component Image File Handler. The manipulation with an unknown input leads to a out-of-bounds vulnerability. The CWE definition for the vulnerability is CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. As an impact it is known to affect confidentiality. CVE summarizes:
In LibRaw, an out-of-bounds read vulnerability exists within the get_huffman_diff() function (libraw\src\x3f\x3f_utils_patched.cpp) when reading data from an image file.
The weakness was presented 09/02/2022 as 270. The advisory is shared for download at github.com. This vulnerability was named CVE-2020-35531 since 12/17/2020. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 214470 (Debian dla-3113 : libraw-bin - security update), which helps to determine the existence of the flaw in a target environment.
Applying the patch d75af00681a74dcc8b929207eb895611a6eceb68 is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at Tenable (214470). Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
License
Website
- Product: https://github.com/LibRaw/LibRaw/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.9VulDB Meta Temp Score: 4.8
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.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: 🔍
Exploiting
Class: Out-of-boundsCWE: CWE-125 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
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: 214470
Nessus Name: Debian dla-3113 : libraw-bin - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: d75af00681a74dcc8b929207eb895611a6eceb68
Timeline
12/17/2020 🔍09/02/2022 🔍
09/02/2022 🔍
04/30/2025 🔍
Sources
Product: github.comAdvisory: 270
Status: Confirmed
CVE: CVE-2020-35531 (🔍)
GCVE (CVE): GCVE-0-2020-35531
GCVE (VulDB): GCVE-100-207748
Entry
Created: 09/02/2022 09:38Updated: 04/30/2025 00:05
Changes: 09/02/2022 09:38 (43), 10/11/2022 10:38 (11), 01/22/2025 20:27 (16), 04/30/2025 00:05 (3)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.