SecurityContext

CVE-2012-3401: LibTIFF - Buffer Overflow

  • Cve: CVE-2012-3401
  • Name: LibTIFF - 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.
  • Impact: Attackers can cause a denial of service or execute arbitrary code by crafting malicious TIFF images.
  • Remediation: Update to the latest version of LibTIFF that addresses this issue or apply patches fixing the initialization bug.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to provide a crafted TIFF image
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.8
  • Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
  • Epss score: 0.0407
  • Epss percentile: 0.90935
  • Assignee: [email protected]
  • Published at: 2012-08-13T20:55:08Z
  • Age in days: 5216
  • Modified at: 2026-06-16T23:43:08Z
  • References total: 18
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-3401
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

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

References

Same in every row:

  • Source: nvd
UrlTags
http://secunia.com/advisories/49938Vendor Advisory
http://secunia.com/advisories/50007Vendor Advisory
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/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

Products

ProductAffectedPlatform boundSourcesUrl
libtiff:libtiff= 3.4 beta37, = 3.4 beta36, = 3.4 beta35, = 3.4 beta34, = 3.4 beta32, = 3.4 beta31, = 3.4 beta29, = 3.4 beta28, = 3.4 beta24, = 3.4 beta18, = 4.0 beta6, = 3.9.2-5.2.1, = 4.0 beta5, <= 4.0.2, = 4.0.1, = 4.0, = 4.0 alpha, = 4.0 beta1, = 4.0 beta2, = 4.0 beta3, = 4.0 beta4, = 3.5.7 alpha4, = 3.9.4, = 3.9.3, = 3.9.2, = 3.9.1, = 3.9.0, = 3.9.0 beta, = 3.9, = 3.8.2, = 3.8.1, = 3.8.0, = 3.7.4, = 3.7.3, = 3.7.2, = 3.7.1, = 3.7.0, = 3.7.0 alpha, = 3.7.0 beta, = 3.7.0 beta2, = 3.6.1, = 3.6.0, = 3.6.0 beta, = 3.6.0 beta2, = 3.5.7, = 3.5.7 alpha, = 3.5.7 alpha2, = 3.5.7 alpha3, = 3.5.7 beta, = 3.5.6, = 3.5.6 beta, = 3.5.5, = 3.5.4, = 3.5.3, = 3.5.2, = 3.5.1, = 3.4nonvd/v1/products/libtiff/libtiff

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts