Skip to content
Fencer Intel
medium 6.8

CVE-2012-3401 json

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 st…

published 2012-08-13 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-3372

cvss
6.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.1%
EPSS 4.1% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

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.

Patch / fix

  • tiff Debian 14, Debian 13, Debian 12 4.0.2-2

debian advisories DEBIAN-CVE-2012-3401

  • libtiff RHEL 5 3.8.2-18.el5_8
  • libtiff RHEL 6 3.9.4-9.el6_3

red hat advisories RHSA-2012:1590

  • tiff openSUSE Tumbleweed 4.0.7-1.1

opensuse advisories openSUSE-SU-2024:10554-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-3401 updated cvss 6.8

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

  • Red Hat Enterprise Linux (v. 5 server) libtiff 3.8.2-18.el5_8 Red Hat Enterprise Linux Desktop (v. 5 client) libtiff 3.8.2-18.el5_8 Red Hat Enterprise Linux Desktop (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux Desktop Optional (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux HPC Node (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux HPC Node Optional (v. 6) libtiff 3.9.4-9.el6_3
    +5 more products
    Red Hat Enterprise Linux Server (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux Server Optional (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux Workstation (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux Workstation Optional (v. 6) libtiff 3.9.4-9.el6_3 Red Hat RHEL Desktop Workstation (v. 5 client) libtiff 3.8.2-18.el5_8
    fixed: vendor fix RHSA-2012:1590

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.07% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.