LibTIFF 4.4.0 TIFF File tools/tiffcrop.c extractContigSamplesShifted24bits out-of-bounds write

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

Summaryinfo

A vulnerability was found in LibTIFF 4.4.0 and classified as critical. Impacted is the function extractContigSamplesShifted24bits of the file tools/tiffcrop.c of the component TIFF File Handler. Such manipulation leads to out-of-bounds write. This vulnerability is traded as CVE-2022-3598. The attack may be launched remotely. There is no exploit available. It is advisable to implement a patch to correct this issue.

Detailsinfo

A vulnerability was found in LibTIFF 4.4.0 (Image Processing Software) and classified as critical. Affected by this issue is the function extractContigSamplesShifted24bits of the file tools/tiffcrop.c of the component TIFF File Handler. The manipulation with an unknown input leads to a out-of-bounds write vulnerability. Using CWE to declare the problem leads to CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. Impacted is confidentiality, integrity, and availability. CVE summarizes:

LibTIFF 4.4.0 has an out-of-bounds write in extractContigSamplesShifted24bits in tools/tiffcrop.c:3604, allowing attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit cfbb883b.

The weakness was shared 10/21/2022 as 435. The advisory is shared for download at gitlab.com. This vulnerability is handled as CVE-2022-3598 since 10/19/2022. 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 240052 (TencentOS Server 4: libtiff (TSSA-2024:0785)), which helps to determine the existence of the flaw in a target environment.

Applying the patch cfbb883bf6ea7bedcb04177cc4e52d304522fdff is able to eliminate this problem. The bugfix is ready for download at gitlab.com.

The vulnerability is also documented in the vulnerability database at Tenable (240052). 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: 6.1
VulDB Meta Temp Score: 6.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 6.5
NVD Vector: 🔍

CNA Base Score: 5.5
CNA Vector (GitLab Inc.): 🔍

CVSSv2info

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

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

Exploitinginfo

Class: Out-of-bounds write
CWE: CWE-787 / 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 240052
Nessus Name: TencentOS Server 4: libtiff (TSSA-2024:0785)

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: cfbb883bf6ea7bedcb04177cc4e52d304522fdff

Timelineinfo

10/19/2022 🔍
10/21/2022 +2 days 🔍
10/21/2022 +0 days 🔍
06/17/2025 +970 days 🔍

Sourcesinfo

Product: libtiff.org

Advisory: 435
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2022-3598 (🔍)
GCVE (CVE): GCVE-0-2022-3598
GCVE (VulDB): GCVE-100-211964

Entryinfo

Created: 10/21/2022 21:11
Updated: 06/17/2025 14:15
Changes: 10/21/2022 21:11 (45), 11/19/2022 10:07 (20), 03/14/2025 20:24 (15), 06/17/2025 14:15 (2)
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 want to use VulDB in your project?

Use the official API to access entries easily!