A heap-based buffer overflow was found in the way libtiff, library for manipulating TIFF (Tagged Image File Format) image format files, processed certain TIFF images using PixarLog Compression format. An attacker could create a specially-crafted TIFF image that, when opened, could cause an application using libtiff to crash or, possibly, execute arbitrary code with the privileges of the user running the application.
This issue was partly fixed in the libtiff-4.0.2 release via the following commit: revision 1.37 date: 2012-05-24 23:21:45 +0000; author: fwarmerdam; state: Exp; lines: +2 -2; commitid: 5xHvb7ZoNW8P226w; Allocate working buffer one word larger since we "forward accumulate" and overwrite the end by one word in at least some cases. and later seems to be completely resolved in libtiff-4.0.3 via the following commit: revision 1.38 date: 2012-06-21 01:01:53 +0000; author: fwarmerdam; state: Exp; lines: +2 -2; commitid: i91tq45sntOmJv9w; make tbuf large enough for one stride past the end
This issue affects the version of libtiff as shipped with Red Hat Enterprise Linux 5 and 6. This issue affects the version of libtiff as shipped with Fedora 16 and Fedora 17.
Created attachment 616925 [details] Upstream patch
This issue has been assigned CVE-2012-4447 as per: http://seclists.org/oss-sec/2012/q3/563
Created libtiff tracking bugs for this issue Affects: fedora-all [bug 880907]
This issue has been addressed in following products: Red Hat Enterprise Linux 5 Red Hat Enterprise Linux 6 Via RHSA-2012:1590 https://rhn.redhat.com/errata/RHSA-2012-1590.html
Created mingw-libtiff tracking bugs for this issue Affects: fedora-all [bug 889443]
libtiff-3.9.7-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
libtiff-3.9.7-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
libtiff-4.0.3-2.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.