{"schemaVersion":3,"id":"CVE-2012-3401","aliases":["DEBIAN-CVE-2012-3401"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2012-08-13T20:00:00.000Z","modified":"2024-08-06T20:05:12.257Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.8,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0407,"percentile":0.90631,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.0407},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0407,"percentile":0.90631}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0407,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0407,"percentile":0.90631}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"debian","product":"tiff","name":"tiff","label":"tiff","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/tiff","purlType":"deb","versions":[{"text":"< 4.0.2-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.2-2","eol":null,"hubHref":null},{"vendor":"libtiff","product":"libtiff","name":"libtiff","label":"libtiff","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.0.2","noFixRecorded":false,"fixedIn":null},{"text":"3.4","noFixRecorded":false,"fixedIn":null},{"text":"3.4:beta18","noFixRecorded":false,"fixedIn":null},{"text":"3.4:beta24","noFixRecorded":false,"fixedIn":null},{"text":"3.4:beta28","noFixRecorded":false,"fixedIn":null},{"text":"3.4:beta29","noFixRecorded":false,"fixedIn":null},{"text":"3.4:beta31","noFixRecorded":false,"fixedIn":null},{"text":"3.4:beta32","noFixRecorded":false,"fixedIn":null},{"text":"3.4:beta34","noFixRecorded":false,"fixedIn":null},{"text":"3.4:beta35","noFixRecorded":false,"fixedIn":null},{"text":"3.4:beta36","noFixRecorded":false,"fixedIn":null},{"text":"3.4:beta37","noFixRecorded":false,"fixedIn":null},{"text":"3.5.1","noFixRecorded":false,"fixedIn":null},{"text":"3.5.2","noFixRecorded":false,"fixedIn":null},{"text":"3.5.3","noFixRecorded":false,"fixedIn":null},{"text":"3.5.4","noFixRecorded":false,"fixedIn":null},{"text":"3.5.5","noFixRecorded":false,"fixedIn":null},{"text":"3.5.6","noFixRecorded":false,"fixedIn":null},{"text":"3.5.6:beta","noFixRecorded":false,"fixedIn":null},{"text":"3.5.7","noFixRecorded":false,"fixedIn":null},{"text":"3.5.7:alpha","noFixRecorded":false,"fixedIn":null},{"text":"3.5.7:alpha2","noFixRecorded":false,"fixedIn":null},{"text":"3.5.7:alpha3","noFixRecorded":false,"fixedIn":null},{"text":"3.5.7:alpha4","noFixRecorded":false,"fixedIn":null},{"text":"3.5.7:beta","noFixRecorded":false,"fixedIn":null},{"text":"3.6.0","noFixRecorded":false,"fixedIn":null},{"text":"3.6.0:beta","noFixRecorded":false,"fixedIn":null},{"text":"3.6.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"3.6.1","noFixRecorded":false,"fixedIn":null},{"text":"3.7.0","noFixRecorded":false,"fixedIn":null},{"text":"3.7.0:alpha","noFixRecorded":false,"fixedIn":null},{"text":"3.7.0:beta","noFixRecorded":false,"fixedIn":null},{"text":"3.7.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"3.7.1","noFixRecorded":false,"fixedIn":null},{"text":"3.7.2","noFixRecorded":false,"fixedIn":null},{"text":"3.7.3","noFixRecorded":false,"fixedIn":null},{"text":"3.7.4","noFixRecorded":false,"fixedIn":null},{"text":"3.8.0","noFixRecorded":false,"fixedIn":null},{"text":"3.8.1","noFixRecorded":false,"fixedIn":null},{"text":"3.8.2","noFixRecorded":false,"fixedIn":null},{"text":"3.9","noFixRecorded":false,"fixedIn":null},{"text":"3.9.0","noFixRecorded":false,"fixedIn":null},{"text":"3.9.0:beta","noFixRecorded":false,"fixedIn":null},{"text":"3.9.1","noFixRecorded":false,"fixedIn":null},{"text":"3.9.2","noFixRecorded":false,"fixedIn":null},{"text":"3.9.2-5.2.1","noFixRecorded":false,"fixedIn":null},{"text":"3.9.3","noFixRecorded":false,"fixedIn":null},{"text":"3.9.4","noFixRecorded":false,"fixedIn":null},{"text":"4.0","noFixRecorded":false,"fixedIn":null},{"text":"4.0:alpha","noFixRecorded":false,"fixedIn":null},{"text":"4.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"4.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"4.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"4.0:beta4","noFixRecorded":false,"fixedIn":null},{"text":"4.0:beta5","noFixRecorded":false,"fixedIn":null},{"text":"4.0:beta6","noFixRecorded":false,"fixedIn":null},{"text":"4.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.0.2 | 3.4 | 3.4:beta18 | 3.4:beta24 | 3.4:beta28 | 3.4:beta29 | 3.4:beta31 | 3.4:beta32 | 3.4:beta34 | 3.4:beta35 | 3.4:beta36 | 3.4:beta37 | 3.5.1 | 3.5.2 | 3.5.3 | 3.5.4 | 3.5.5 | 3.5.6 | 3.5.6:beta | 3.5.7 | 3.5.7:alpha | 3.5.7:alpha2 | 3.5.7:alpha3 | 3.5.7:alpha4 | 3.5.7:beta | 3.6.0 | 3.6.0:beta | 3.6.0:beta2 | 3.6.1 | 3.7.0 | 3.7.0:alpha | 3.7.0:beta | 3.7.0:beta2 | 3.7.1 | 3.7.2 | 3.7.3 | 3.7.4 | 3.8.0 | 3.8.1 | 3.8.2 | 3.9 | 3.9.0 | 3.9.0:beta | 3.9.1 | 3.9.2 | 3.9.2-5.2.1 | 3.9.3 | 3.9.4 | 4.0 | 4.0:alpha | 4.0:beta1 | 4.0:beta2 | 4.0:beta3 | 4.0:beta4 | 4.0:beta5 | 4.0:beta6 | 4.0.1","eol":null,"hubHref":"/vendor/libtiff/libtiff"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=837577","label":"bugzilla.redhat.com/show_bug.cgi?id=837577","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC"]},{"url":"http://lists.opensuse.org/opensuse-updates/2012-08/msg00011.html","label":"lists.opensuse.org/opensuse-updates/2012-08/msg00011.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://www.openwall.com/lists/oss-security/2012/07/19/1","label":"www.openwall.com/lists/oss-security/2012/07/19/1","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST"]},{"url":"http://libjpeg-turbo.svn.sourceforge.net/viewvc/libjpeg-turbo?view=revision&revision=830","label":"libjpeg-turbo.svn.sourceforge.net/viewvc/libjpeg-turbo?view=revision&revision=830","hostname":"libjpeg-turbo.svn.sourceforge.net","tags":["X Refsource MISC"]},{"url":"http://www.securityfocus.com/bid/54601","label":"www.securityfocus.com/bid/54601","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"http://www.openwall.com/lists/oss-security/2012/07/19/4","label":"www.openwall.com/lists/oss-security/2012/07/19/4","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST"]},{"url":"http://www.debian.org/security/2012/dsa-2552","label":"www.debian.org/security/2012/dsa-2552","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN"]},{"url":"http://secunia.com/advisories/49938","label":"secunia.com/advisories/49938","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://secunia.com/advisories/50007","label":"secunia.com/advisories/50007","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://www.ubuntu.com/usn/USN-1511-1","label":"www.ubuntu.com/usn/USN-1511-1","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU"]},{"url":"http://security.gentoo.org/glsa/glsa-201209-02.xml","label":"security.gentoo.org/glsa/glsa-201209-02.xml","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"http://osvdb.org/84090","label":"osvdb.org/84090","hostname":"osvdb.org","tags":["VDB Entry","X Refsource OSVDB"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/77088","label":"exchange.xforce.ibmcloud.com/vulnerabilities/77088","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF"]},{"url":"https://bugzilla.redhat.com/attachment.cgi?id=596457","label":"bugzilla.redhat.com/attachment.cgi?id=596457","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:127","label":"www.mandriva.com/security/advisories?name=MDVSA-2012:127","hostname":"www.mandriva.com","tags":["Vendor Advisory","X Refsource MANDRIVA"]},{"url":"http://rhn.redhat.com/errata/RHSA-2012-1590.html","label":"rhn.redhat.com/errata/RHSA-2012-1590.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf","label":"www.xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf","hostname":"www.xerox.com","tags":["X Refsource CONFIRM"]},{"url":"http://secunia.com/advisories/50726","label":"secunia.com/advisories/50726","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-3401","label":"security-tracker.debian.org/tracker/CVE-2012-3401","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-2552-1","OPENSUSE-SU-2024:10554-1","RHSA-2012:1590"],"duplicates":[],"related":["OPENSUSE-SU-2024:10554-1"]},"timeline":[{"kind":"published","date":"2012-08-13T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T20:05:12.257Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T15:11:44.878Z","stale":false,"partial":false}}