CVE-2012-3401
(tiff2pdf): Heap-based buffer overflow due to improper initialization of T2P context struct pointer
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
La función t2p_read_tiff_init en tiff2pdf (tools/tiff2pdf.c) en libTIFF v4.0.2 y versiones anteriores no inicializa correctamente el puntero de la estructura de contexto T2P en determinadas condiciones de error, lo que permite causar una denegación de servicio (caída de la aplicación) y posiblemente ejecutar código de su elección a atacantes dependientes de contexto a través de una imagen TIFF debidamente modificada que provoca un desbordamiento de búfer basado en memoria dinámica (heap).
CVSS Scores
SSVC
- Decision:-
Timeline
- 2012-06-14 CVE Reserved
- 2012-07-19 CVE Published
- 2023-03-07 EPSS Updated
- 2024-08-06 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-122: Heap-based Buffer Overflow
CAPEC
References (19)
URL | Tag | Source |
---|---|---|
http://libjpeg-turbo.svn.sourceforge.net/viewvc/libjpeg-turbo?view=revision&revision=830 | X_refsource_misc | |
http://osvdb.org/84090 | Vdb Entry | |
http://secunia.com/advisories/50726 | Third Party Advisory | |
http://www.openwall.com/lists/oss-security/2012/07/19/1 | Mailing List | |
http://www.openwall.com/lists/oss-security/2012/07/19/4 | Mailing List | |
http://www.securityfocus.com/bid/54601 | Vdb Entry | |
http://www.xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf | X_refsource_confirm | |
https://bugzilla.redhat.com/attachment.cgi?id=596457 | X_refsource_misc | |
https://exchange.xforce.ibmcloud.com/vulnerabilities/77088 | Vdb Entry |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
http://lists.opensuse.org/opensuse-updates/2012-08/msg00011.html | 2023-02-13 | |
http://rhn.redhat.com/errata/RHSA-2012-1590.html | 2023-02-13 | |
http://secunia.com/advisories/49938 | 2023-02-13 | |
http://secunia.com/advisories/50007 | 2023-02-13 | |
http://security.gentoo.org/glsa/glsa-201209-02.xml | 2023-02-13 | |
http://www.debian.org/security/2012/dsa-2552 | 2023-02-13 | |
http://www.mandriva.com/security/advisories?name=MDVSA-2012:127 | 2023-02-13 | |
http://www.ubuntu.com/usn/USN-1511-1 | 2023-02-13 | |
https://bugzilla.redhat.com/show_bug.cgi?id=837577 | 2012-12-18 | |
https://access.redhat.com/security/cve/CVE-2012-3401 | 2012-12-18 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | <= 4.0.2 Search vendor "Libtiff" for product "Libtiff" and version " <= 4.0.2" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.4 Search vendor "Libtiff" for product "Libtiff" and version "3.4" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.4 Search vendor "Libtiff" for product "Libtiff" and version "3.4" | beta18 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.4 Search vendor "Libtiff" for product "Libtiff" and version "3.4" | beta24 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.4 Search vendor "Libtiff" for product "Libtiff" and version "3.4" | beta28 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.4 Search vendor "Libtiff" for product "Libtiff" and version "3.4" | beta29 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.4 Search vendor "Libtiff" for product "Libtiff" and version "3.4" | beta31 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.4 Search vendor "Libtiff" for product "Libtiff" and version "3.4" | beta32 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.4 Search vendor "Libtiff" for product "Libtiff" and version "3.4" | beta34 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.4 Search vendor "Libtiff" for product "Libtiff" and version "3.4" | beta35 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.4 Search vendor "Libtiff" for product "Libtiff" and version "3.4" | beta36 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.4 Search vendor "Libtiff" for product "Libtiff" and version "3.4" | beta37 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.5.1 Search vendor "Libtiff" for product "Libtiff" and version "3.5.1" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.5.2 Search vendor "Libtiff" for product "Libtiff" and version "3.5.2" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.5.3 Search vendor "Libtiff" for product "Libtiff" and version "3.5.3" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.5.4 Search vendor "Libtiff" for product "Libtiff" and version "3.5.4" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.5.5 Search vendor "Libtiff" for product "Libtiff" and version "3.5.5" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.5.6 Search vendor "Libtiff" for product "Libtiff" and version "3.5.6" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.5.6 Search vendor "Libtiff" for product "Libtiff" and version "3.5.6" | beta |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.5.7 Search vendor "Libtiff" for product "Libtiff" and version "3.5.7" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.5.7 Search vendor "Libtiff" for product "Libtiff" and version "3.5.7" | alpha |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.5.7 Search vendor "Libtiff" for product "Libtiff" and version "3.5.7" | alpha2 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.5.7 Search vendor "Libtiff" for product "Libtiff" and version "3.5.7" | alpha3 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.5.7 Search vendor "Libtiff" for product "Libtiff" and version "3.5.7" | alpha4 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.5.7 Search vendor "Libtiff" for product "Libtiff" and version "3.5.7" | beta |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.6.0 Search vendor "Libtiff" for product "Libtiff" and version "3.6.0" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.6.0 Search vendor "Libtiff" for product "Libtiff" and version "3.6.0" | beta |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.6.0 Search vendor "Libtiff" for product "Libtiff" and version "3.6.0" | beta2 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.6.1 Search vendor "Libtiff" for product "Libtiff" and version "3.6.1" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.7.0 Search vendor "Libtiff" for product "Libtiff" and version "3.7.0" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.7.0 Search vendor "Libtiff" for product "Libtiff" and version "3.7.0" | alpha |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.7.0 Search vendor "Libtiff" for product "Libtiff" and version "3.7.0" | beta |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.7.0 Search vendor "Libtiff" for product "Libtiff" and version "3.7.0" | beta2 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.7.1 Search vendor "Libtiff" for product "Libtiff" and version "3.7.1" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.7.2 Search vendor "Libtiff" for product "Libtiff" and version "3.7.2" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.7.3 Search vendor "Libtiff" for product "Libtiff" and version "3.7.3" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.7.4 Search vendor "Libtiff" for product "Libtiff" and version "3.7.4" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.8.0 Search vendor "Libtiff" for product "Libtiff" and version "3.8.0" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.8.1 Search vendor "Libtiff" for product "Libtiff" and version "3.8.1" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.8.2 Search vendor "Libtiff" for product "Libtiff" and version "3.8.2" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.9 Search vendor "Libtiff" for product "Libtiff" and version "3.9" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.9.0 Search vendor "Libtiff" for product "Libtiff" and version "3.9.0" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.9.0 Search vendor "Libtiff" for product "Libtiff" and version "3.9.0" | beta |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.9.1 Search vendor "Libtiff" for product "Libtiff" and version "3.9.1" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.9.2 Search vendor "Libtiff" for product "Libtiff" and version "3.9.2" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.9.2-5.2.1 Search vendor "Libtiff" for product "Libtiff" and version "3.9.2-5.2.1" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.9.3 Search vendor "Libtiff" for product "Libtiff" and version "3.9.3" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 3.9.4 Search vendor "Libtiff" for product "Libtiff" and version "3.9.4" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 4.0 Search vendor "Libtiff" for product "Libtiff" and version "4.0" | - |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 4.0 Search vendor "Libtiff" for product "Libtiff" and version "4.0" | alpha |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 4.0 Search vendor "Libtiff" for product "Libtiff" and version "4.0" | beta1 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 4.0 Search vendor "Libtiff" for product "Libtiff" and version "4.0" | beta2 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 4.0 Search vendor "Libtiff" for product "Libtiff" and version "4.0" | beta3 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 4.0 Search vendor "Libtiff" for product "Libtiff" and version "4.0" | beta4 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 4.0 Search vendor "Libtiff" for product "Libtiff" and version "4.0" | beta5 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 4.0 Search vendor "Libtiff" for product "Libtiff" and version "4.0" | beta6 |
Affected
| ||||||
Libtiff Search vendor "Libtiff" | Libtiff Search vendor "Libtiff" for product "Libtiff" | 4.0.1 Search vendor "Libtiff" for product "Libtiff" and version "4.0.1" | - |
Affected
|