CVE-2016-5323
The _TIFFFax3fillruns function in libtiff before 4.0.6 allows remote attackers to cause a denial...
CVE-2016-5323 is a high vulnerability (CVSS 7.5) in Libtiff, published August 30, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.46%, the 93rd percentile. Fixed in tiff 4.0.7-r0.
The _TIFFFax3fillruns function in libtiff before 4.0.6 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted Tiff image.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
The _TIFFFax3fillruns function in libtiff before 4.0.6 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted Tiff image.
- Record
CVE-2016-5323- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-369
- Updated
- 2026-11-02
CVE List No score
The _TIFFFax3fillruns function in libtiff before 4.0.6 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted Tiff image.
- Record
CVE-2016-5323- Updated
- 2026-11-02
EUVDEUVD-2016-6274 No score
The _TIFFFax3fillruns function in libtiff before 4.0.6 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted Tiff image.
- Record
EUVD-2016-6274- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-qxv7-458j-gmmx
7.5
The _TIFFFax3fillruns function in libtiff before 4.0.6 allows remote attackers to cause a denial...
The _TIFFFax3fillruns function in libtiff before 4.0.6 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted Tiff image.
- Record
GHSA-qxv7-458j-gmmx- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-369
- Updated
- 2026-11-02
OSVALPINE-CVE-2016-5323
7.5
The _TIFFFax3fillruns function in libtiff before 4.0.6 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted Tiff image.
- Record
ALPINE-CVE-2016-5323- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.5
The _TIFFFax3fillruns function in libtiff before 4.0.6 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted Tiff image.
- Record
CVE-2016-5323- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2016-5323
7.5
The _TIFFFax3fillruns function in libtiff before 4.0.6 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted Tiff image.
- Record
DEBIAN-CVE-2016-5323- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-5323
7.5
The _TIFFFax3fillruns function in libtiff before 4.0.6 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted Tiff image.
- Record
UBUNTU-CVE-2016-5323- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2016-0349 No score
The updated packages fix libtiff security vulnerabilities
The _TIFFVGetField function in tif_dir.c in libtiff 4.0.6 allows attackers to cause a denial of service (invalid memory write and crash) or possibly have unspecified other impact via crafted field data in an extension tag in a TIFF image. (CVE-2015-7554)
Heap-based buffer overflow in the PackBitsPreEncode function in tif_packbits.c in bmp2tiff in libtiff 4.0.6 and earlier allows remote attackers to execute arbitrary code or cause a denial of service via a large width field in a BMP image. (CVE-2015-8668)
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. (CVE-2016-3186) (the program gif2tiff has been obsoleted)
The fpAcc function in tif_predict.c in the tiff2rgba tool in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (divide-by-zero error) via a crafted TIFF image. (CVE-2016-3622)
The rgb2ycbcr tool in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (divide-by-zero) by setting the (1) v or (2) h parameter to 0. (CVE-2016-3623)
The _TIFFVGetField function in tif_dirinfo.c in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds write) or execute arbitrary code via a crafted TIFF image. (CVE-2016-3632)
Multiple integer overflows in the (1) cvt_by_strip and (2) cvt_by_tile functions in the tiff2rgba tool in LibTIFF 4.0.6 and earlier, when -b mode is enabled,allow remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted TIFF image, which triggers an out-of-bounds write. (CVE-2016-3945)
Heap-based buffer overflow in the horizontalDifference8 function in tif_pixarlog.c in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted TIFF image to tiffcp. (CVE-2016-3990)
Heap-based buffer overflow in the loadImage function in the tiffcrop tool in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds write) or execute arbitrary code via a crafted TIFF image with zero tiles. (CVE-2016-3991)
PixarLogDecode() out-of-bound writes (CVE-2016-5314)
tif_dir.c: setByteArray() Read access violation (CVE-2016-5315)
tif_pixarlog.c: PixarLogCleanup() Segmentation fault (CVE-2016-5316)
crash occurs when generating a thumbnail for a crafted TIFF image (CVE-2016-5317)
rgb2ycbcr: command excution (CVE-2016-5320)
DumpModeDecode(): Ddos (CVE-2016-5321)
tiffcrop: extractContigSamplesBytes: out-of-bounds read (CVE-2016-5322)
tiffcrop _TIFFFax3fillruns(): divide by zero (CVE-2016-5323)
tiff: heap-based buffer overflow when using the PixarLog compression format (CVE-2016-5875)
tiff: information leak in libtiff/tif_read.c (CVE-2016-6223)
- Record
MGASA-2016-0349- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10554-1 No score
libtiff-devel-32bit-4.0.7-1.1 on GA media
These are all security issues fixed in the libtiff-devel-32bit-4.0.7-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10554-1- Updated
- 2026-11-02
OSVSUSE-SU-2016:3301-1 No score
Security update for tiff
The tiff library and tools were updated to version 4.0.7 fixing various bug and security issues.
- CVE-2014-8127: out-of-bounds read with malformed TIFF image in multiple tools [bnc#914890]
- CVE-2016-9297: tif_dirread.c read outside buffer in _TIFFPrintField() [bnc#1010161]
- CVE-2016-3658: Illegal read in TIFFWriteDirectoryTagLongLong8Array function in tiffset / tif_dirwrite.c [bnc#974840]
- CVE-2016-9273: heap overflow [bnc#1010163]
- CVE-2016-3622: divide By Zero in the tiff2rgba tool [bnc#974449]
- CVE-2016-5652: tiff2pdf JPEG Compression Tables Heap Buffer Overflow [bnc#1007280]
- CVE-2016-9453: out-of-bounds Write memcpy and less bound check in tiff2pdf [bnc#1011107]
- CVE-2016-5875: heap-based buffer overflow when using the PixarLog compressionformat [bnc#987351]
- CVE-2016-9448: regression introduced by fixing CVE-2016-9297 [bnc#1011103]
- CVE-2016-5321: out-of-bounds read in tiffcrop / DumpModeDecode() function [bnc#984813]
- CVE-2016-5323: Divide-by-zero in _TIFFFax3fillruns() function (null ptr dereference?) [bnc#984815]
- Record
SUSE-SU-2016:3301-1- Updated
- 2026-11-02
OSVUSN-3212-1 No score
tiff vulnerabilities
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.
- Record
USN-3212-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tiffAlpine:v3.2 |
before 4.0.7-r0 | 4.0.7-r0 |
tiffAlpine:v3.3 |
before 4.0.7-r0 | 4.0.7-r0 |
tiffAlpine:v3.4 |
before 4.0.7-r0 | 4.0.7-r0 |
tiffDebian:12 |
before 4.0.6-2 | 4.0.6-2 |
tiffDebian:13 |
before 4.0.6-2 | 4.0.6-2 |
tiffDebian:14 |
before 4.0.6-2 | 4.0.6-2 |
tiffDebian:7 |
before 4.0.2-6+deb7u6, plus listed versions 4.0.2-64.0.2-6+deb7u14.0.2-6+deb7u24.0.2-6+deb7u34.0.2-6+deb7u44.0.2-6+deb7u5 |
4.0.2-6+deb7u6 |
tiff3Debian:7 |
before 3.9.6-11+deb7u1, plus listed versions 3.9.6-11 |
3.9.6-11+deb7u1 |
tiffDebian:8 |
before 4.0.3-12.3+deb8u2, plus listed versions 4.0.3-12.34.0.3-12.3+deb8u1 |
4.0.3-12.3+deb8u2 |
libtiffMageia:5 |
before 4.0.6-1.4.mga5 | 4.0.6-1.4.mga5 |
Show 12 moreShow less
| Package | Affected | Fixed |
|---|---|---|
tiffSUSE:Linux Enterprise Desktop 12 SP1 |
before 4.0.7-35.1 | 4.0.7-35.1 |
tiffSUSE:Linux Enterprise Desktop 12 SP2 |
before 4.0.7-35.1 | 4.0.7-35.1 |
tiffSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 4.0.7-35.1 | 4.0.7-35.1 |
tiffSUSE:Linux Enterprise Software Development Kit 12 SP1 |
before 4.0.7-35.1 | 4.0.7-35.1 |
tiffSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 4.0.7-35.1 | 4.0.7-35.1 |
tiffSUSE:Linux Enterprise Server 12 SP1 |
before 4.0.7-35.1 | 4.0.7-35.1 |
tiffSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 4.0.7-35.1 | 4.0.7-35.1 |
tiffSUSE:Linux Enterprise Server 12 SP2 |
before 4.0.7-35.1 | 4.0.7-35.1 |
tiffSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 4.0.7-35.1 | 4.0.7-35.1 |
tiffUbuntu:14.04:LTS |
before 4.0.3-7ubuntu0.6, plus listed versions 4.0.2-4ubuntu34.0.3-5ubuntu14.0.3-64.0.3-6ubuntu14.0.3-7 Show 4 moreShow less4.0.3-7ubuntu0.14.0.3-7ubuntu0.24.0.3-7ubuntu0.34.0.3-7ubuntu0.4 |
4.0.3-7ubuntu0.6 |
tiffUbuntu:16.04:LTS |
before 4.0.6-1ubuntu0.1, plus listed versions 4.0.3-12.3ubuntu24.0.5-14.0.6-1 |
4.0.6-1ubuntu0.1 |
tiffopenSUSE:Tumbleweed |
before 4.0.7-1.1 | 4.0.7-1.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
securityfocus.com/bid/91196
openwall.com/lists/oss-security/2016/06/15/6
lists.opensuse.org/opensuse-security-announce/2016-12/msg00017.html
security.gentoo.org/glsa/201701-16
debian.org/security/2017/dsa-3762
nvd.nist.gov/vuln/detail/CVE-2016-5323
Show 117 moreShow less
github.com/advisories/GHSA-qxv7-458j-gmmx
security.alpinelinux.org/vuln/CVE-2016-5323
security-tracker.debian.org/tracker/CVE-2016-5323
advisories.mageia.org/MGASA-2016-0349.html
bugs.mageia.org/show_bug.cgi?id=17480
openwall.com/lists/oss-security/2015/12/26/7
lists.opensuse.org/opensuse-updates/2016-04/msg00064.html
openwall.com/lists/oss-security/2016/07/14/4
lwn.net/Vulnerabilities/695692
lists.opensuse.org/opensuse-updates/2016-07/msg00087.html
rhn.redhat.com/errata/RHSA-2016-1546.html
lwn.net/Vulnerabilities/696207
lwn.net/Vulnerabilities/698795
lwn.net/Vulnerabilities/699684
suse.com/support/update/announcement/2016/suse-su-20163301-1
bugzilla.suse.com/1007280
bugzilla.suse.com/1010161
bugzilla.suse.com/1010163
bugzilla.suse.com/1011103
bugzilla.suse.com/1011107
bugzilla.suse.com/914890
bugzilla.suse.com/974449
bugzilla.suse.com/974840
bugzilla.suse.com/984813
bugzilla.suse.com/984815
bugzilla.suse.com/987351
suse.com/security/cve/CVE-2014-8127
suse.com/security/cve/CVE-2016-3622
suse.com/security/cve/CVE-2016-3658
suse.com/security/cve/CVE-2016-5321
suse.com/security/cve/CVE-2016-5323
suse.com/security/cve/CVE-2016-5652
suse.com/security/cve/CVE-2016-5875
suse.com/security/cve/CVE-2016-9273
suse.com/security/cve/CVE-2016-9297
suse.com/security/cve/CVE-2016-9448
suse.com/security/cve/CVE-2016-9453
ubuntu.com/security/CVE-2016-5323
seclists.org/oss-sec/2016/q2/548
ubuntu.com/security/notices/USN-3212-1
cve.org/CVERecord?id=CVE-2016-5323
ubuntu.com/security/CVE-2015-7554
ubuntu.com/security/CVE-2015-8668
ubuntu.com/security/CVE-2016-3622
ubuntu.com/security/CVE-2016-3623
ubuntu.com/security/CVE-2016-3624
ubuntu.com/security/CVE-2016-3632
ubuntu.com/security/CVE-2016-3658
ubuntu.com/security/CVE-2016-3945
ubuntu.com/security/CVE-2016-3990
ubuntu.com/security/CVE-2016-3991
ubuntu.com/security/CVE-2016-5314
ubuntu.com/security/CVE-2016-5315
ubuntu.com/security/CVE-2016-5316
ubuntu.com/security/CVE-2016-5317
ubuntu.com/security/CVE-2016-5320
ubuntu.com/security/CVE-2016-5321
ubuntu.com/security/CVE-2016-5322
ubuntu.com/security/CVE-2016-5652
ubuntu.com/security/CVE-2016-5875
ubuntu.com/security/CVE-2016-6223
ubuntu.com/security/CVE-2016-8331
ubuntu.com/security/CVE-2016-9273
ubuntu.com/security/CVE-2016-9297
ubuntu.com/security/CVE-2016-9448
ubuntu.com/security/CVE-2016-9453
ubuntu.com/security/CVE-2016-9532
ubuntu.com/security/CVE-2016-9533
ubuntu.com/security/CVE-2016-9534
ubuntu.com/security/CVE-2016-9535
ubuntu.com/security/CVE-2016-9536
ubuntu.com/security/CVE-2016-9537
ubuntu.com/security/CVE-2016-9538
ubuntu.com/security/CVE-2016-9539
ubuntu.com/security/CVE-2016-9540
ubuntu.com/security/CVE-2016-10092
ubuntu.com/security/CVE-2016-10093
ubuntu.com/security/CVE-2016-10094
ubuntu.com/security/CVE-2017-5225
suse.com/security/cve/CVE-2009-2285
suse.com/security/cve/CVE-2009-2347
suse.com/security/cve/CVE-2010-2065
suse.com/security/cve/CVE-2010-2067
suse.com/security/cve/CVE-2010-2233
suse.com/security/cve/CVE-2010-4665
suse.com/security/cve/CVE-2011-0192
suse.com/security/cve/CVE-2011-1167
suse.com/security/cve/CVE-2012-1173
suse.com/security/cve/CVE-2012-2113
suse.com/security/cve/CVE-2012-3401
suse.com/security/cve/CVE-2012-4564
suse.com/security/cve/CVE-2013-1960
suse.com/security/cve/CVE-2013-1961
suse.com/security/cve/CVE-2013-4231
suse.com/security/cve/CVE-2013-4232
suse.com/security/cve/CVE-2013-4243
suse.com/security/cve/CVE-2013-4244
suse.com/security/cve/CVE-2014-8128
suse.com/security/cve/CVE-2014-8129
suse.com/security/cve/CVE-2014-8130
suse.com/security/cve/CVE-2014-9655
suse.com/security/cve/CVE-2015-1547
suse.com/security/cve/CVE-2015-7554
suse.com/security/cve/CVE-2015-8665
suse.com/security/cve/CVE-2015-8683
suse.com/security/cve/CVE-2015-8781
suse.com/security/cve/CVE-2015-8782
suse.com/security/cve/CVE-2015-8783
suse.com/security/cve/CVE-2016-3186
suse.com/security/cve/CVE-2016-3623
suse.com/security/cve/CVE-2016-3945
suse.com/security/cve/CVE-2016-3990
suse.com/security/cve/CVE-2016-3991
suse.com/security/cve/CVE-2016-5314
suse.com/security/cve/CVE-2016-5316
suse.com/security/cve/CVE-2016-5317
suse.com/security/cve/CVE-2016-5320