LibTIFF 4.4.0 TIFF File libtiff/tif_unix.c _TIFFmemcpy out-of-bounds write
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in LibTIFF 4.4.0. It has been rated as critical. This affects the function _TIFFmemcpy of the file libtiff/tif_unix.c of the component TIFF File Handler. The manipulation leads to out-of-bounds write.
This vulnerability is uniquely identified as CVE-2022-3627. The attack is possible to be carried out remotely. No exploit exists.
It is recommended to apply a patch to fix this issue.
Details
A vulnerability was found in LibTIFF 4.4.0 (Image Processing Software). It has been rated as critical. This issue affects the function _TIFFmemcpy of the file libtiff/tif_unix.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 availability. The summary by CVE is:
LibTIFF 4.4.0 has an out-of-bounds write in _TIFFmemcpy in libtiff/tif_unix.c:346 when called from extractImageSection, tools/tiffcrop.c:6860, 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 236b7191.
The weakness was disclosed 10/21/2022 as 411. It is possible to read the advisory at gitlab.com. The identification of this vulnerability is CVE-2022-3627 since 10/21/2022. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.
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 236b7191f04c60d09ee836ae13b50f812c841047 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). Be aware that VulDB is the high quality 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: 5.4VulDB Meta Temp Score: 5.4
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
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: 236b7191f04c60d09ee836ae13b50f812c841047
Timeline
10/21/2022 🔍10/21/2022 🔍
10/21/2022 🔍
06/17/2025 🔍
Sources
Product: libtiff.orgAdvisory: 411
Status: Confirmed
CVE: CVE-2022-3627 (🔍)
GCVE (CVE): GCVE-0-2022-3627
GCVE (VulDB): GCVE-100-211967
Entry
Created: 10/21/2022 21:16Updated: 06/17/2025 14:15
Changes: 10/21/2022 21:16 (54), 11/19/2022 10:25 (11), 05/07/2025 18:04 (15), 06/17/2025 14:15 (2)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.