Bugzilla – Bug 787892
VUL-1: CVE-2012-4564: tiff: ppm2tiff missing return value check
Last modified: 2013-11-07 12:55:33 UTC
is public, via oss-sec https://bugzilla.redhat.com/show_bug.cgi?id=871700 CVE-2012-4564 From: Huzaifa Sidhpurwala <huzaifas@redhat.com> Date: Fri, 02 Nov 2012 15:53:07 +0530 Subject: [oss-security] libtiff: Missing return value check in ppm2tiff leading to heap-buffer overflow when reading a tiff file Hi All, A flaw was found in the way ppm2tiff, a tool to create a TIFF file from PPM, PGM and PBM image files, did not check the return value of TIFFScanlineSize() function. When TIFFScanlineSize encountered an integer-overflow and returned zero, this value was not checked. A remote attacker could provide a specially-crafted PPM image format file, that when processed by ppm2tiff would lead to ppm2tiff executable crash or, potentially, arbitrary code execution with the privileges of the user running the ppm2tiff binary. Reference: https://bugzilla.redhat.com/show_bug.cgi?id=871700 -- Huzaifa Sidhpurwala / Red Hat Security Response Team
Created attachment 511790 [details] ppm2tiff.patch patch from RH bugzilla
bugbot adjusting priority
Fixed for factory.
This is an autogenerated message for OBS integration: This bug (787892) was mentioned in https://build.opensuse.org/request/show/140217 Factory / tiff
9sp3: sr#23375 10sp3: sr#23376 11: sr#23377 openSUSE: mr#147545
This is an autogenerated message for OBS integration: This bug (787892) was mentioned in https://build.opensuse.org/request/show/147919 Evergreen:11.2 / tiff
Update released for: libtiff-devel, libtiff-devel-32bit, libtiff3, libtiff3-32bit, tiff, tiff-debuginfo, tiff-debugsource Products: SLE-SERVER 11-SP1-TERADATA (x86_64)
Update released for: libtiff, tiff Products: SUSE-CORE 9-SP3-TERADATA (x86_64)
Update released for: libtiff, libtiff-32bit, libtiff-64bit, libtiff-devel, libtiff-devel-32bit, libtiff-devel-64bit, libtiff-x86, tiff, tiff-debuginfo Products: SLE-DESKTOP 10-SP4 (i386, x86_64) SLE-SDK 10-SP4 (i386, ia64, ppc, s390x, x86_64) SLE-SERVER 10-SP4 (i386, ia64, ppc, s390x, x86_64)
Update released for: libtiff, libtiff-32bit, libtiff-devel, libtiff-devel-32bit, tiff, tiff-debuginfo Products: SLE-SERVER 10-SP3-TERADATA (x86_64)
Update released for: libtiff-devel, libtiff-devel-32bit, libtiff3, libtiff3-32bit, libtiff3-x86, tiff, tiff-debuginfo, tiff-debugsource Products: SLE-DEBUGINFO 11-SP2 (i386, ia64, ppc64, s390x, x86_64) SLE-DESKTOP 11-SP2 (i386, x86_64) SLE-SDK 11-SP2 (i386, ia64, ppc64, s390x, x86_64) SLE-SERVER 11-SP2 (i386, ia64, ppc64, s390x, x86_64) SLES4VMWARE 11-SP2 (i386, x86_64)
released
This is an autogenerated message for OBS integration: This bug (787892) was mentioned in https://build.opensuse.org/request/show/176384 Evergreen:11.2 / tiff
Update released for: libtiff, libtiff-32bit, libtiff-devel, libtiff-devel-32bit, tiff, tiff-debuginfo Products: SLE-SERVER 10-SP3-LTSS (i386, s390x, x86_64)