CVE-2012-3401
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 4.1% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 4.1% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 4.1% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Libtiff ≤ 4.0.2
- Libtiff 3.4
- Libtiff 3.5.1
- Libtiff 3.5.2
- Libtiff 3.5.3
- Libtiff 3.5.4
- Libtiff 3.5.5
- Libtiff 3.5.6
Attack profile CVSS 2.0 · 6.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-3401.md and follow it. Check whether this project is affected by CVE-2012-3401. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/49938
- http://secunia.com/advisories/50007
- http://secunia.com/advisories/49938
- http://secunia.com/advisories/50007
References
- 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
- http://secunia.com/advisories/50007
- 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
- http://secunia.com/advisories/50007
- http://secunia.com/advisories/50726