LibRaw up to 0.18.5 dcraw_common.cpp panasonic_load_raw TIFF Image memory corruption

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.
8.7$0-$5k0.00

Summaryinfo

A vulnerability was found in LibRaw up to 0.18.5. It has been declared as critical. Affected by this issue is the function LibRaw::panasonic_load_raw of the file dcraw_common.cpp. Such manipulation as part of TIFF Image leads to memory corruption. This vulnerability is referenced as CVE-2017-16909. It is possible to launch the attack remotely. No exploit is available. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability was found in LibRaw up to 0.18.5 (Image Processing Software). It has been rated as critical. Affected by this issue is the function LibRaw::panasonic_load_raw of the file dcraw_common.cpp. The manipulation as part of a TIFF Image leads to a memory corruption vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, and availability. CVE summarizes:

An error related to the "LibRaw::panasonic_load_raw()" function (dcraw_common.cpp) in LibRaw versions prior to 0.18.6 can be exploited to cause a heap-based buffer overflow and subsequently cause a crash via a specially crafted TIFF image.

The bug was discovered 12/08/2017. The weakness was published 12/07/2018 (Website). The advisory is shared for download at secuniaresearch.flexerasoftware.com. This vulnerability is handled as CVE-2017-16909 since 11/21/2017. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 13 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 105459 (SUSE SLED12 Security Update : libraw (SUSE-SU-2017:3392-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 170613 (SUSE Enterprise Linux Security Update for libraw (SUSE-SU-2017:3392-1)).

Upgrading to version 0.18.6 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 (105459) and Secunia (SA76000†). Similar entry is available at VDB-127701. Once again VulDB remains the best source 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: 9.0
VulDB Meta Temp Score: 8.7

VulDB Base Score: 9.1
VulDB Temp Score: 8.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 105459
Nessus Name: SUSE SLED12 Security Update : libraw (SUSE-SU-2017:3392-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 860160
OpenVAS Name: Ubuntu Update for libraw USN-3615-1
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: LibRaw 0.18.6
Patch: github.com

Timelineinfo

11/21/2017 🔍
12/08/2017 +17 days 🔍
12/21/2017 +13 days 🔍
12/26/2017 +5 days 🔍
12/07/2018 +346 days 🔍
12/07/2018 +0 days 🔍
12/08/2018 +1 days 🔍
05/17/2025 +2352 days 🔍

Sourcesinfo

Product: github.com

Advisory: f1394822a0152ceed77815eafa5cac4e8baab10a
Status: Confirmed

CVE: CVE-2017-16909 (🔍)
GCVE (CVE): GCVE-0-2017-16909
GCVE (VulDB): GCVE-100-127700
Secunia: 76000

See also: 🔍

Entryinfo

Created: 12/08/2018 09:57
Updated: 05/17/2025 18:26
Changes: 12/08/2018 09:57 (75), 04/19/2020 06:49 (1), 06/13/2023 14:55 (5), 06/13/2023 14:59 (1), 05/17/2025 18:26 (34)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!