LibTIFF 4.4.0 TIFF File tools/tiffcrop.c extractContigSamplesShifted24bits out-of-bounds write
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.0 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
Website
- Product: http://www.libtiff.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.1VulDB 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.): 🔍
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-bounds writeCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 240052
Nessus Name: TencentOS Server 4: libtiff (TSSA-2024:0785)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: cfbb883bf6ea7bedcb04177cc4e52d304522fdff
Timeline
10/19/2022 🔍10/21/2022 🔍
10/21/2022 🔍
06/17/2025 🔍
Sources
Product: libtiff.orgAdvisory: 435
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2022-3598 (🔍)
GCVE (CVE): GCVE-0-2022-3598
GCVE (VulDB): GCVE-100-211964
Entry
Created: 10/21/2022 21:11Updated: 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.
No comments yet. Languages: en.
Please log in to comment.