6.8
MEDIUM
CVE-2012-3401
LibTIFF T2P Heap Buffer Overflow
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.

INFO

Published Date :

Aug. 13, 2012, 8:55 p.m.

Last Modified :

Nov. 21, 2024, 1:40 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.4

Exploitability Score :

8.6
Affected Products

The following products are affected by CVE-2012-3401 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Libtiff libtiff
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2012-3401.

URL Resource
http://libjpeg-turbo.svn.sourceforge.net/viewvc/libjpeg-turbo?view=revision&revision=830
http://lists.opensuse.org/opensuse-updates/2012-08/msg00011.html
http://osvdb.org/84090
http://rhn.redhat.com/errata/RHSA-2012-1590.html
http://secunia.com/advisories/49938 Vendor Advisory
http://secunia.com/advisories/50007 Vendor Advisory
http://secunia.com/advisories/50726
http://security.gentoo.org/glsa/glsa-201209-02.xml
http://www.debian.org/security/2012/dsa-2552
http://www.mandriva.com/security/advisories?name=MDVSA-2012:127
http://www.openwall.com/lists/oss-security/2012/07/19/1
http://www.openwall.com/lists/oss-security/2012/07/19/4
http://www.securityfocus.com/bid/54601
http://www.ubuntu.com/usn/USN-1511-1
http://www.xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf
https://bugzilla.redhat.com/attachment.cgi?id=596457
https://bugzilla.redhat.com/show_bug.cgi?id=837577
https://exchange.xforce.ibmcloud.com/vulnerabilities/77088
http://libjpeg-turbo.svn.sourceforge.net/viewvc/libjpeg-turbo?view=revision&revision=830
http://lists.opensuse.org/opensuse-updates/2012-08/msg00011.html
http://osvdb.org/84090
http://rhn.redhat.com/errata/RHSA-2012-1590.html
http://secunia.com/advisories/49938 Vendor Advisory
http://secunia.com/advisories/50007 Vendor Advisory
http://secunia.com/advisories/50726
http://security.gentoo.org/glsa/glsa-201209-02.xml
http://www.debian.org/security/2012/dsa-2552
http://www.mandriva.com/security/advisories?name=MDVSA-2012:127
http://www.openwall.com/lists/oss-security/2012/07/19/1
http://www.openwall.com/lists/oss-security/2012/07/19/4
http://www.securityfocus.com/bid/54601
http://www.ubuntu.com/usn/USN-1511-1
http://www.xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf
https://bugzilla.redhat.com/attachment.cgi?id=596457
https://bugzilla.redhat.com/show_bug.cgi?id=837577
https://exchange.xforce.ibmcloud.com/vulnerabilities/77088

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2012-3401 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2012-3401 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://libjpeg-turbo.svn.sourceforge.net/viewvc/libjpeg-turbo?view=revision&revision=830
    Added Reference http://lists.opensuse.org/opensuse-updates/2012-08/msg00011.html
    Added Reference http://osvdb.org/84090
    Added Reference http://rhn.redhat.com/errata/RHSA-2012-1590.html
    Added Reference http://secunia.com/advisories/49938
    Added Reference http://secunia.com/advisories/50007
    Added Reference http://secunia.com/advisories/50726
    Added Reference http://security.gentoo.org/glsa/glsa-201209-02.xml
    Added Reference http://www.debian.org/security/2012/dsa-2552
    Added Reference http://www.mandriva.com/security/advisories?name=MDVSA-2012:127
    Added Reference http://www.openwall.com/lists/oss-security/2012/07/19/1
    Added Reference http://www.openwall.com/lists/oss-security/2012/07/19/4
    Added Reference http://www.securityfocus.com/bid/54601
    Added Reference http://www.ubuntu.com/usn/USN-1511-1
    Added Reference http://www.xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf
    Added Reference https://bugzilla.redhat.com/attachment.cgi?id=596457
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=837577
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/77088
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 13, 2023

    Action Type Old Value New Value
    Changed Description CVE-2012-3401 libtiff (tiff2pdf): Heap-based buffer overflow due to improper initialization of T2P context struct pointer 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.
    Removed CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Removed CVSS V2 Red Hat, Inc. (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Removed Reference https://access.redhat.com/errata/RHSA-2012:1590 [No Types Assigned]
    Removed Reference https://access.redhat.com/security/cve/CVE-2012-3401 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed 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. CVE-2012-3401 libtiff (tiff2pdf): Heap-based buffer overflow due to improper initialization of T2P context struct pointer
    Added CVSS V2 Red Hat, Inc. (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added Reference https://access.redhat.com/errata/RHSA-2012:1590 [No Types Assigned]
    Added Reference https://access.redhat.com/security/cve/CVE-2012-3401 [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 29, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/77088 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/77088 [No Types Assigned]
  • Initial Analysis by [email protected]

    Aug. 14, 2012

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.88 }} 0.44%

score

0.82235

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability