{"id":"CVE-2012-3401","aliases":["DEBIAN-CVE-2012-3401","DSA-2552-1","EUVD-2012-3372","GHSA-j3j5-3pcx-xp73","RHSA-2012:1590","openSUSE-SU-2024:10554-1"],"status":"published","title":"The t2p_read_tiff_init function in tiff2pdf (tools/tiff2pdf.c) in LibTIFF 4.0.2 and earlier does...","description":"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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0407,"percentile":0.90748,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2012-08-13T20:00:00Z","modified":"2026-10-23T17:47:35Z","fixes":[{"ecosystem":"Debian:12","package":"tiff","fixed_in":["4.0.2-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tiff","fixed_in":["4.0.2-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tiff","fixed_in":["4.0.2-2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-2"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.4-5+squeeze5"}]}],"versions":["3.9.4-5","3.9.4-5+squeeze1","3.9.4-5+squeeze2","3.9.4-5+squeeze3","3.9.4-5+squeeze4"],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.7-1.1"}]}],"bundled":49}],"products":[{"vendor":"libtiff","product":"libtiff"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=837577","tags":["x_refsource_MISC","x_transferred","report"]},{"url":"http://lists.opensuse.org/opensuse-updates/2012-08/msg00011.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/07/19/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://libjpeg-turbo.svn.sourceforge.net/viewvc/libjpeg-turbo?view=revision\u0026revision=830","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/54601","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/07/19/4","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.debian.org/security/2012/dsa-2552","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/49938","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/50007","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.ubuntu.com/usn/USN-1511-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-201209-02.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://osvdb.org/84090","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/77088","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://bugzilla.redhat.com/attachment.cgi?id=596457","tags":["x_refsource_MISC","x_transferred","report"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:127","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2012-1590.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"http://www.xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/50726","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3401","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2012:1590","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-3401","tags":["report"]},{"url":"https://github.com/advisories/GHSA-j3j5-3pcx-xp73"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-3401","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=860198","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=867235","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=871700","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_1590.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3401","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-4447","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-4447","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4447","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-4564","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-4564","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4564","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-5581","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-5581","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5581","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2009-2285","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2009-2347","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2010-2065","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2010-2067","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2010-2233","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2010-4665","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2011-0192","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2011-1167","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-1173","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-2113","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-3401","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-4564","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-1960","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-1961","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-4231","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-4232","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-4243","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-4244","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-8127","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-8128","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-8129","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-8130","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-9655","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-1547","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-7554","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8665","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8683","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8781","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8782","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8783","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3186","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3622","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3623","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3658","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3945","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3990","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3991","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5314","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5316","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5317","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5320","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5321","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5323","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5652","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5875","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9273","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9297","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9448","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9453","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2012-3401","description":"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.","status":"published","published":"2012-08-13T20:00:00Z","modified":"2024-08-06T20:05:12.257Z","updated_at":"2026-11-02T14:34:50.615647Z"}],"euvd":[{"id":"EUVD-2012-3372","description":"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.","status":"published","published":"2012-08-13T20:00:00Z","modified":"2024-08-06T20:05:12Z","updated_at":"2026-11-03T01:56:11.327216Z"}],"ghsa":[{"id":"GHSA-j3j5-3pcx-xp73","title":"The t2p_read_tiff_init function in tiff2pdf (tools/tiff2pdf.c) in LibTIFF 4.0.2 and earlier does...","description":"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.","status":"published","published":"2022-05-17T01:44:03Z","modified":"2023-02-10T05:06:21Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:54:01.789224Z"}],"nvd":[{"id":"CVE-2012-3401","description":"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.","status":"published","published":"2012-08-13T20:55:08.6Z","modified":"2026-06-16T23:43:08.98Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:02:15.188652Z"}],"osv":[{"id":"CVE-2012-3401","description":"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.","status":"published","published":"2012-08-13T20:55:08Z","modified":"2026-04-10T03:44:16.752573Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-3401","description":"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.","status":"published","published":"2012-08-13T20:55:08.6Z","modified":"2026-10-23T17:47:35.779289671Z","updated_at":"2026-11-02T15:45:24.92418Z"},{"id":"DSA-2552-1","title":"tiff - several","status":"published","published":"2012-09-26T00:00:00Z","modified":"2026-03-09T01:20:51.285395Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"openSUSE-SU-2024:10554-1","title":"libtiff-devel-32bit-4.0.7-1.1 on GA media","description":"These are all security issues fixed in the libtiff-devel-32bit-4.0.7-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:06:36.058128Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"RHSA-2012:1590","title":"Red Hat Security Advisory: libtiff security update","status":"published","published":"2024-09-15T20:28:28Z","modified":"2026-06-26T12:21:42.991412713Z","updated_at":"2026-11-02T15:53:01.495018Z"}]}}
