// For flags

CVE-2012-3401

(tiff2pdf): Heap-based buffer overflow due to improper initialization of T2P context struct pointer

Severity Score

6.8
*CVSS v2

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

The t2p_read_tiff_init function in tiff2pdf (tools/tiff2pdf.c) in LibTIFF 4.0.2 and earlier does not properly initialize the T2P context struct pointer in certain error conditions, which allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted TIFF image that triggers a heap-based buffer overflow.

La función t2p_read_tiff_init en tiff2pdf (tools/tiff2pdf.c) en libTIFF v4.0.2 y versiones anteriores no inicializa correctamente el puntero de la estructura de contexto T2P en determinadas condiciones de error, lo que permite causar una denegación de servicio (caída de la aplicación) y posiblemente ejecutar código de su elección a atacantes dependientes de contexto a través de una imagen TIFF debidamente modificada que provoca un desbordamiento de búfer basado en memoria dinámica (heap).

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2012-06-14 CVE Reserved
  • 2012-07-19 CVE Published
  • 2023-03-07 EPSS Updated
  • 2024-08-06 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-122: Heap-based Buffer Overflow
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
<= 4.0.2
Search vendor "Libtiff" for product "Libtiff" and version " <= 4.0.2"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.4
Search vendor "Libtiff" for product "Libtiff" and version "3.4"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.4
Search vendor "Libtiff" for product "Libtiff" and version "3.4"
beta18
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.4
Search vendor "Libtiff" for product "Libtiff" and version "3.4"
beta24
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.4
Search vendor "Libtiff" for product "Libtiff" and version "3.4"
beta28
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.4
Search vendor "Libtiff" for product "Libtiff" and version "3.4"
beta29
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.4
Search vendor "Libtiff" for product "Libtiff" and version "3.4"
beta31
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.4
Search vendor "Libtiff" for product "Libtiff" and version "3.4"
beta32
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.4
Search vendor "Libtiff" for product "Libtiff" and version "3.4"
beta34
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.4
Search vendor "Libtiff" for product "Libtiff" and version "3.4"
beta35
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.4
Search vendor "Libtiff" for product "Libtiff" and version "3.4"
beta36
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.4
Search vendor "Libtiff" for product "Libtiff" and version "3.4"
beta37
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.5.1
Search vendor "Libtiff" for product "Libtiff" and version "3.5.1"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.5.2
Search vendor "Libtiff" for product "Libtiff" and version "3.5.2"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.5.3
Search vendor "Libtiff" for product "Libtiff" and version "3.5.3"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.5.4
Search vendor "Libtiff" for product "Libtiff" and version "3.5.4"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.5.5
Search vendor "Libtiff" for product "Libtiff" and version "3.5.5"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.5.6
Search vendor "Libtiff" for product "Libtiff" and version "3.5.6"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.5.6
Search vendor "Libtiff" for product "Libtiff" and version "3.5.6"
beta
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.5.7
Search vendor "Libtiff" for product "Libtiff" and version "3.5.7"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.5.7
Search vendor "Libtiff" for product "Libtiff" and version "3.5.7"
alpha
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.5.7
Search vendor "Libtiff" for product "Libtiff" and version "3.5.7"
alpha2
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.5.7
Search vendor "Libtiff" for product "Libtiff" and version "3.5.7"
alpha3
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.5.7
Search vendor "Libtiff" for product "Libtiff" and version "3.5.7"
alpha4
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.5.7
Search vendor "Libtiff" for product "Libtiff" and version "3.5.7"
beta
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.6.0
Search vendor "Libtiff" for product "Libtiff" and version "3.6.0"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.6.0
Search vendor "Libtiff" for product "Libtiff" and version "3.6.0"
beta
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.6.0
Search vendor "Libtiff" for product "Libtiff" and version "3.6.0"
beta2
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.6.1
Search vendor "Libtiff" for product "Libtiff" and version "3.6.1"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.7.0
Search vendor "Libtiff" for product "Libtiff" and version "3.7.0"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.7.0
Search vendor "Libtiff" for product "Libtiff" and version "3.7.0"
alpha
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.7.0
Search vendor "Libtiff" for product "Libtiff" and version "3.7.0"
beta
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.7.0
Search vendor "Libtiff" for product "Libtiff" and version "3.7.0"
beta2
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.7.1
Search vendor "Libtiff" for product "Libtiff" and version "3.7.1"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.7.2
Search vendor "Libtiff" for product "Libtiff" and version "3.7.2"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.7.3
Search vendor "Libtiff" for product "Libtiff" and version "3.7.3"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.7.4
Search vendor "Libtiff" for product "Libtiff" and version "3.7.4"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.8.0
Search vendor "Libtiff" for product "Libtiff" and version "3.8.0"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.8.1
Search vendor "Libtiff" for product "Libtiff" and version "3.8.1"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.8.2
Search vendor "Libtiff" for product "Libtiff" and version "3.8.2"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.9
Search vendor "Libtiff" for product "Libtiff" and version "3.9"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.9.0
Search vendor "Libtiff" for product "Libtiff" and version "3.9.0"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.9.0
Search vendor "Libtiff" for product "Libtiff" and version "3.9.0"
beta
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.9.1
Search vendor "Libtiff" for product "Libtiff" and version "3.9.1"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.9.2
Search vendor "Libtiff" for product "Libtiff" and version "3.9.2"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.9.2-5.2.1
Search vendor "Libtiff" for product "Libtiff" and version "3.9.2-5.2.1"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.9.3
Search vendor "Libtiff" for product "Libtiff" and version "3.9.3"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
3.9.4
Search vendor "Libtiff" for product "Libtiff" and version "3.9.4"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
4.0
Search vendor "Libtiff" for product "Libtiff" and version "4.0"
-
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
4.0
Search vendor "Libtiff" for product "Libtiff" and version "4.0"
alpha
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
4.0
Search vendor "Libtiff" for product "Libtiff" and version "4.0"
beta1
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
4.0
Search vendor "Libtiff" for product "Libtiff" and version "4.0"
beta2
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
4.0
Search vendor "Libtiff" for product "Libtiff" and version "4.0"
beta3
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
4.0
Search vendor "Libtiff" for product "Libtiff" and version "4.0"
beta4
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
4.0
Search vendor "Libtiff" for product "Libtiff" and version "4.0"
beta5
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
4.0
Search vendor "Libtiff" for product "Libtiff" and version "4.0"
beta6
Affected
Libtiff
Search vendor "Libtiff"
Libtiff
Search vendor "Libtiff" for product "Libtiff"
4.0.1
Search vendor "Libtiff" for product "Libtiff" and version "4.0.1"
-
Affected