Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 645980 (CVE-2017-11335)

Summary: <media-libs/tiff-4.0.9: Heap-based buffer overflow in tiff2pdf (CVE-2017-11335)
Product: Gentoo Security Reporter: Ian Zimmerman <nobrowser>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Severity: minor Flags: stable-bot: sanity-check+
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: B3 [noglsa cve]
Package list:
Runtime testing required: No

Description Ian Zimmerman 2018-01-28 17:44:40 UTC
Quoting ${URL}:

There is a heap based buffer overflow in tools/tiff2pdf.c of LibTIFF 4.0.8 via a PlanarConfig=Contig image, which causes a more than one hundred bytes out-of-bounds write (related to the ZIPDecode function in tif_zip.c). A crafted input may lead to a remote denial of service attack or an arbitrary code execution attack.

Supposed upstream fix:

Reproducible: Always
Comment 1 Aaron Bauman (RETIRED) gentoo-dev 2018-03-23 22:17:03 UTC
@arches, please stabilize.
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-03-24 08:07:23 UTC
amd64 stable
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2018-03-24 11:16:26 UTC
ia64 stable
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2018-03-25 22:46:41 UTC
x86 stable
Comment 5 Larry the Git Cow gentoo-dev 2018-03-28 19:32:30 UTC
The bug has been referenced in the following commit(s):

commit 542781819736c4c792791801438b72d42aafb105
Author:     Rolf Eike Beer <>
AuthorDate: 2018-03-28 18:35:15 +0000
Commit:     Sergei Trofimovich <>
CommitDate: 2018-03-28 19:32:16 +0000

    media-libs/tiff: stable 4.0.9-r3 for sparc
    Package-Manager: Portage-2.3.24, Repoman-2.3.6
    RepoMan-Options: --include-arches="sparc"

 media-libs/tiff/tiff-4.0.9-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)}
Comment 6 Mart Raudsepp gentoo-dev 2018-03-28 19:47:45 UTC
arm64 stable
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2018-03-30 20:21:42 UTC
ppc64 stable
Comment 8 Tobias Klausmann (RETIRED) gentoo-dev 2018-03-31 14:18:22 UTC
Stable on alpha.
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2018-04-01 14:24:00 UTC
ppc stable
Comment 10 Markus Meier gentoo-dev 2018-04-08 10:50:44 UTC
arm stable
Comment 11 Matt Turner gentoo-dev 2018-04-22 19:17:49 UTC
hppa stable
Comment 12 Aaron Bauman (RETIRED) gentoo-dev 2018-04-22 20:57:43 UTC
cleanup and glsa will happen in bug 624696