CVE-2012-3401
The t2p_read_tiff_init function in tiff2pdf (tools/tiff2pdf.c) in LibTIFF 4.0.2 and earlier does...
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.
Exploit likelihood
What each source reports
NVD Score used
6.8
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.
- Record
CVE-2012-3401- CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-3401- Updated
- 2026-11-02
EUVDEUVD-2012-3372 No score
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.
- Record
EUVD-2012-3372- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-j3j5-3pcx-xp73 No score
The t2p_read_tiff_init function in tiff2pdf (tools/tiff2pdf.c) in LibTIFF 4.0.2 and earlier does...
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.
- Record
GHSA-j3j5-3pcx-xp73- Weakness
- CWE-119
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2012-3401- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-3401 No score
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.
- Record
DEBIAN-CVE-2012-3401- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10554-1 No score
libtiff-devel-32bit-4.0.7-1.1 on GA media
These are all security issues fixed in the libtiff-devel-32bit-4.0.7-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10554-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tiffDebian:12 |
before 4.0.2-2 | 4.0.2-2 |
tiffDebian:13 |
before 4.0.2-2 | 4.0.2-2 |
tiffDebian:14 |
before 4.0.2-2 | 4.0.2-2 |
tiffDebian:6.0 |
before 3.9.4-5+squeeze5, plus listed versions 3.9.4-53.9.4-5+squeeze13.9.4-5+squeeze23.9.4-5+squeeze33.9.4-5+squeeze4 |
3.9.4-5+squeeze5 |
libtiffRed Hat:enterprise_linux:5::client |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
libtiff-debuginfoRed Hat:enterprise_linux:5::client |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
libtiffRed Hat:enterprise_linux:5::client_workstation |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
libtiff-debuginfoRed Hat:enterprise_linux:5::client_workstation |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
libtiff-develRed Hat:enterprise_linux:5::client_workstation |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
libtiffRed Hat:enterprise_linux:5::server |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
Show 19 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libtiff-debuginfoRed Hat:enterprise_linux:5::server |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
libtiff-develRed Hat:enterprise_linux:5::server |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
libtiffRed Hat:enterprise_linux:6::client |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-debuginfoRed Hat:enterprise_linux:6::client |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-develRed Hat:enterprise_linux:6::client |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-staticRed Hat:enterprise_linux:6::client |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiffRed Hat:enterprise_linux:6::computenode |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-develRed Hat:enterprise_linux:6::computenode |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-staticRed Hat:enterprise_linux:6::computenode |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiffRed Hat:enterprise_linux:6::server |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-debuginfoRed Hat:enterprise_linux:6::server |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-develRed Hat:enterprise_linux:6::server |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-staticRed Hat:enterprise_linux:6::server |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiffRed Hat:enterprise_linux:6::workstation |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-develRed Hat:enterprise_linux:6::workstation |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-staticRed Hat:enterprise_linux:6::workstation |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
tiffopenSUSE:Tumbleweed |
before 4.0.7-1.1 | 4.0.7-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-3401 is a medium vulnerability (CVSS 6.8) in Libtiff, published August 13, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.07%, the 90th percentile. Fixed in tiff 4.0.2-2.
References
bugzilla.redhat.com/show_bug.cgi?id=837577
lists.opensuse.org/opensuse-updates/2012-08/msg00011.html
openwall.com/lists/oss-security/2012/07/19/1
libjpeg-turbo.svn.sourceforge.net/viewvc/libjpeg-turbo?view=revision&revision=830
securityfocus.com/bid/54601
openwall.com/lists/oss-security/2012/07/19/4
Show 81 moreShow less
debian.org/security/2012/dsa-2552
secunia.com/advisories/49938
secunia.com/advisories/50007
ubuntu.com/usn/USN-1511-1
security.gentoo.org/glsa/glsa-201209-02.xml
osvdb.org/84090
exchange.xforce.ibmcloud.com/vulnerabilities/77088
bugzilla.redhat.com/attachment.cgi?id=596457
mandriva.com/security/advisories?name=MDVSA-2012:127
rhn.redhat.com/errata/RHSA-2012-1590.html
xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf
secunia.com/advisories/50726
nvd.nist.gov/vuln/detail/CVE-2012-3401
access.redhat.com/errata/RHSA-2012:1590
access.redhat.com/security/cve/CVE-2012-3401
github.com/advisories/GHSA-j3j5-3pcx-xp73
security-tracker.debian.org/tracker/CVE-2012-3401
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=860198
bugzilla.redhat.com/show_bug.cgi?id=867235
bugzilla.redhat.com/show_bug.cgi?id=871700
security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_1590.json
cve.org/CVERecord?id=CVE-2012-3401
access.redhat.com/security/cve/CVE-2012-4447
cve.org/CVERecord?id=CVE-2012-4447
nvd.nist.gov/vuln/detail/CVE-2012-4447
access.redhat.com/security/cve/CVE-2012-4564
cve.org/CVERecord?id=CVE-2012-4564
nvd.nist.gov/vuln/detail/CVE-2012-4564
access.redhat.com/security/cve/CVE-2012-5581
cve.org/CVERecord?id=CVE-2012-5581
nvd.nist.gov/vuln/detail/CVE-2012-5581
suse.com/security/cve/CVE-2009-2285
suse.com/security/cve/CVE-2009-2347
suse.com/security/cve/CVE-2010-2065
suse.com/security/cve/CVE-2010-2067
suse.com/security/cve/CVE-2010-2233
suse.com/security/cve/CVE-2010-4665
suse.com/security/cve/CVE-2011-0192
suse.com/security/cve/CVE-2011-1167
suse.com/security/cve/CVE-2012-1173
suse.com/security/cve/CVE-2012-2113
suse.com/security/cve/CVE-2012-3401
suse.com/security/cve/CVE-2012-4564
suse.com/security/cve/CVE-2013-1960
suse.com/security/cve/CVE-2013-1961
suse.com/security/cve/CVE-2013-4231
suse.com/security/cve/CVE-2013-4232
suse.com/security/cve/CVE-2013-4243
suse.com/security/cve/CVE-2013-4244
suse.com/security/cve/CVE-2014-8127
suse.com/security/cve/CVE-2014-8128
suse.com/security/cve/CVE-2014-8129
suse.com/security/cve/CVE-2014-8130
suse.com/security/cve/CVE-2014-9655
suse.com/security/cve/CVE-2015-1547
suse.com/security/cve/CVE-2015-7554
suse.com/security/cve/CVE-2015-8665
suse.com/security/cve/CVE-2015-8683
suse.com/security/cve/CVE-2015-8781
suse.com/security/cve/CVE-2015-8782
suse.com/security/cve/CVE-2015-8783
suse.com/security/cve/CVE-2016-3186
suse.com/security/cve/CVE-2016-3622
suse.com/security/cve/CVE-2016-3623
suse.com/security/cve/CVE-2016-3658
suse.com/security/cve/CVE-2016-3945
suse.com/security/cve/CVE-2016-3990
suse.com/security/cve/CVE-2016-3991
suse.com/security/cve/CVE-2016-5314
suse.com/security/cve/CVE-2016-5316
suse.com/security/cve/CVE-2016-5317
suse.com/security/cve/CVE-2016-5320
suse.com/security/cve/CVE-2016-5321
suse.com/security/cve/CVE-2016-5323
suse.com/security/cve/CVE-2016-5652
suse.com/security/cve/CVE-2016-5875
suse.com/security/cve/CVE-2016-9273
suse.com/security/cve/CVE-2016-9297
suse.com/security/cve/CVE-2016-9448
suse.com/security/cve/CVE-2016-9453