CVE-2016-3186
published 2016-04-19CVE-2016-3186: Buffer overflow in the readextension function in gif2tiff.c in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (application crash) via a…
PriorityP422medium6.2CVSS 3.0
AVLACLPRNUINSUCNINAH
EPSS
2.49%
82.7th percentile
Buffer overflow in the readextension function in gif2tiff.c in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (application crash) via a crafted GIF file.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | tiff | < tiff 4.0.6-3 (bookworm) | tiff 4.0.6-3 (bookworm) |
| libtiff | libtiff | — | — |
| opensuse | opensuse | — | — |
CVSS provenance
nvdv3.06.2MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv6.2MEDIUM
vendor_debian6.2MEDIUM
vendor_redhat6.2MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
LibTIFF vulnerabilities
vendor_ubuntu·2018-03-26
CVE-2016-3186 LibTIFF vulnerabilities
Title: LibTIFF vulnerabilities
Summary: LibTIFF could be made to crash or run programs as your login if it opened a
specially crafted file.
It was discovered that LibTIFF incorrectly handled certain malformed
images. If a user or automated system were tricked into opening a specially
crafted image, a remote attacker could crash the application, leading to a
denial of service, or possibly execute arbitrary code with user privileges.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
libtiff: buffer overflow in gif2tiff
vendor_redhat·2016-03-30·CVSS 6.2
CVE-2016-3186 [MEDIUM] CWE-121 libtiff: buffer overflow in gif2tiff
libtiff: buffer overflow in gif2tiff
Buffer overflow in the readextension function in gif2tiff.c in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (application crash) via a crafted GIF file.
Package: libtiff (Red Hat Enterprise Linux 5) - Will not fix
Package: libtiff (Red Hat Enterprise Linux 6) - Will not fix
Package: compat-libtiff3 (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2016-3186: tiff - Buffer overflow in the readextension function in gif2tiff.c in LibTIFF 4.0.6 all...
vendor_debian·2016·CVSS 6.2
CVE-2016-3186 [MEDIUM] CVE-2016-3186: tiff - Buffer overflow in the readextension function in gif2tiff.c in LibTIFF 4.0.6 all...
Buffer overflow in the readextension function in gif2tiff.c in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (application crash) via a crafted GIF file.
Scope: local
bookworm: resolved (fixed in 4.0.6-3)
bullseye: resolved (fixed in 4.0.6-3)
forky: resolved (fixed in 4.0.6-3)
sid: resolved (fixed in 4.0.6-3)
trixie: resolved (fixed in 4.0.6-3)
GHSA
GHSA-3x5j-gmvm-pgmx: Buffer overflow in the readextension function in gif2tiff
ghsa_unreviewed·2022-05-14
CVE-2016-3186 [MEDIUM] CWE-119 GHSA-3x5j-gmvm-pgmx: Buffer overflow in the readextension function in gif2tiff
Buffer overflow in the readextension function in gif2tiff.c in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (application crash) via a crafted GIF file.
OSV
CVE-2016-3186: Buffer overflow in the readextension function in gif2tiff
osv·2016-04-19·CVSS 6.2
CVE-2016-3186 [MEDIUM] CVE-2016-3186: Buffer overflow in the readextension function in gif2tiff
Buffer overflow in the readextension function in gif2tiff.c in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (application crash) via a crafted GIF file.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-3186 mingw-libtiff: libtiff: buffer overflow in gif2tiff [epel-7]
bugzilla·2016-03-30·CVSS 6.2
CVE-2016-3186 [MEDIUM] CVE-2016-3186 mingw-libtiff: libtiff: buffer overflow in gif2tiff [epel-7]
CVE-2016-3186 mingw-libtiff: libtiff: buffer overflow in gif2tiff [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
[bug automatically created by: add-tracking-bugs]
Di
Bugzilla
CVE-2016-3186 mingw-libtiff: libtiff: buffer overflow in gif2tiff [fedora-all]
bugzilla·2016-03-30·CVSS 6.2
CVE-2016-3186 [MEDIUM] CVE-2016-3186 mingw-libtiff: libtiff: buffer overflow in gif2tiff [fedora-all]
CVE-2016-3186 mingw-libtiff: libtiff: buffer overflow in gif2tiff [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of
Bugzilla
CVE-2016-3186 libtiff: buffer overflow in gif2tiff [fedora-all]
bugzilla·2016-03-30·CVSS 6.2
CVE-2016-3186 [MEDIUM] CVE-2016-3186 libtiff: buffer overflow in gif2tiff [fedora-all]
CVE-2016-3186 libtiff: buffer overflow in gif2tiff [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora. While
Bugzilla
CVE-2016-3186 libtiff: buffer overflow in gif2tiff
bugzilla·2016-03-21·CVSS 6.2
CVE-2016-3186 [MEDIUM] CVE-2016-3186 libtiff: buffer overflow in gif2tiff
CVE-2016-3186 libtiff: buffer overflow in gif2tiff
A buffer overflow vulnerability was reported in libtiff library, in gif2tiff component. A maliciously crafted file could cause the application to crash.
Original bug report with reproducer:
https://bugzilla.redhat.com/show_bug.cgi?id=1319503
Discussion:
Acknowledgments:
Name: Aladdin Mubaied
---
Created libtiff tracking bugs for this issue:
Affects: fedora-all [bug 1322307]
---
Created mingw-libtiff tracking bugs for this issue:
Affects: fedora-all [bug 1322309]
---
Created mingw-libtiff tracking bugs for this issue:
Affects: epel-7 [bug 1322310]
---
Also disclosed on oss-security mailing list via:
http://www.openwall.com/lists/oss-security/2016/03/30/2
---
Created attachment 1144235
Patch solving this buffer overflow
W
Bugzilla
buffer overflow in gif2tiff
bugzilla·2016-03-20
[HIGH] buffer overflow in gif2tiff
buffer overflow in gif2tiff
Created attachment 1138356
crasher
Hi, There is a buffer overflow in gif2tiff.c:353. details are below : what it
appears to me is an overflow in the readextension function. I have attached a
copy of crash.gif file for testing .
please note that I'm running libtiff v4.0.6 .
-bash$ gif2tiff crash.gif /tmp/out.tiff
*** buffer overflow detected ***: /opt/libtiff/bin/gif2tiff terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x7f9c4b86c9c7]
/lib64/libc.so.6(+0x10bb90)[0x7f9c4b86ab90]
/lib64/libc.so.6(__fread_chk+0x12c)[0x7f9c4b86b26c]
/opt/libtiff/bin/gif2tiff[0x403aab]
/opt/libtiff/bin/gif2tiff[0x407a0d]
/opt/libtiff/bin/gif2tiff[0x402db9]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f9c4b780af5]
/opt/libtiff/bin/gif2tiff[0x402f15]
===
http://lists.opensuse.org/opensuse-updates/2016-04/msg00064.htmlhttp://lists.opensuse.org/opensuse-updates/2016-04/msg00075.htmlhttp://www.securitytracker.com/id/1035442https://access.redhat.com/errata/RHSA-2019:2053https://bugzilla.redhat.com/show_bug.cgi?id=1319503https://security.gentoo.org/glsa/201701-16https://usn.ubuntu.com/3606-1/http://lists.opensuse.org/opensuse-updates/2016-04/msg00064.htmlhttp://lists.opensuse.org/opensuse-updates/2016-04/msg00075.htmlhttp://www.securitytracker.com/id/1035442https://access.redhat.com/errata/RHSA-2019:2053https://bugzilla.redhat.com/show_bug.cgi?id=1319503https://security.gentoo.org/glsa/201701-16https://usn.ubuntu.com/3606-1/
2016-04-19
Published