CVE-2017-9404
In LibTIFF 4.0.7, a memory leak vulnerability was found in the function...
In LibTIFF 4.0.7, a memory leak vulnerability was found in the function OJPEGReadHeaderInfoSecTablesQTable in tif_ojpeg.c, which allows attackers to cause a denial of service via a crafted file.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
In LibTIFF 4.0.7, a memory leak vulnerability was found in the function OJPEGReadHeaderInfoSecTablesQTable in tif_ojpeg.c, which allows attackers to cause a denial of service via a crafted file.
- Record
CVE-2017-9404- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-772
- Updated
- 2026-11-02
CVE List No score
In LibTIFF 4.0.7, a memory leak vulnerability was found in the function OJPEGReadHeaderInfoSecTablesQTable in tif_ojpeg.c, which allows attackers to cause a denial of service via a crafted file.
- Record
CVE-2017-9404- Updated
- 2026-11-02
EUVDEUVD-2017-18339 No score
In LibTIFF 4.0.7, a memory leak vulnerability was found in the function OJPEGReadHeaderInfoSecTablesQTable in tif_ojpeg.c, which allows attackers to cause a denial of service via a crafted file.
- Record
EUVD-2017-18339- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-f9rg-wwq3-3cv8
6.5
In LibTIFF 4.0.7, a memory leak vulnerability was found in the function...
In LibTIFF 4.0.7, a memory leak vulnerability was found in the function OJPEGReadHeaderInfoSecTablesQTable in tif_ojpeg.c, which allows attackers to cause a denial of service via a crafted file.
- Record
GHSA-f9rg-wwq3-3cv8- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-772
- Updated
- 2026-11-02
OSV
6.5
In LibTIFF 4.0.7, a memory leak vulnerability was found in the function OJPEGReadHeaderInfoSecTablesQTable in tif_ojpeg.c, which allows attackers to cause a denial of service via a crafted file.
- Record
CVE-2017-9404- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-9404
6.5
In LibTIFF 4.0.7, a memory leak vulnerability was found in the function OJPEGReadHeaderInfoSecTablesQTable in tif_ojpeg.c, which allows attackers to cause a denial of service via a crafted file.
- Record
DEBIAN-CVE-2017-9404- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2017-9404
6.5
In LibTIFF 4.0.7, a memory leak vulnerability was found in the function OJPEGReadHeaderInfoSecTablesQTable in tif_ojpeg.c, which allows attackers to cause a denial of service via a crafted file.
- Record
UBUNTU-CVE-2017-9404- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11461-1 No score
libtiff-devel-32bit-4.3.0-1.3 on GA media
These are all security issues fixed in the libtiff-devel-32bit-4.3.0-1.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11461-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:2569-1 No score
Security update for tiff
This update for tiff to version 4.0.8 fixes a several bugs and security issues:
These security issues were fixed:
- CVE-2017-7595: The JPEGSetupEncode function allowed remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image (bsc#1033127).
- CVE-2016-10371: The TIFFWriteDirectoryTagCheckedRational function allowed remote attackers to cause a denial of service (assertion failure and application exit) via a crafted TIFF file (bsc#1038438).
- CVE-2017-7598: Error in tif_dirread.c allowed remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image (bsc#1033118).
- CVE-2017-7596: Undefined behavior because of floats outside their expected value range, which allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image (bsc#1033126).
- CVE-2017-7597: Undefined behavior because of floats outside their expected value range, which allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image (bsc#1033120).
- CVE-2017-7599: Undefined behavior because of shorts outside their expected value range, which allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image (bsc#1033113).
- CVE-2017-7600: Undefined behavior because of chars outside their expected value range, which allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image (bsc#1033112).
- CVE-2017-7601: Because of a shift exponent too large for 64-bit type long undefined behavior was caused, which allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image (bsc#1033111).
- CVE-2017-7602: Prevent signed integer overflow, which allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image (bsc#1033109).
- CVE-2017-7592: The putagreytile function had a left-shift undefined behavior issue, which might allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image (bsc#1033131).
- CVE-2017-7593: Ensure that tif_rawdata is properly initialized, to prevent remote attackers to obtain sensitive information from process memory via a crafted image (bsc#1033129).
- CVE-2017-7594: The OJPEGReadHeaderInfoSecTablesDcTable function allowed remote attackers to cause a denial of service (memory leak) via a crafted image (bsc#1033128).
- CVE-2017-9403: Prevent memory leak in function TIFFReadDirEntryLong8Array, which allowed attackers to cause a denial of service via a crafted file (bsc#1042805).
- CVE-2017-9404: Fixed memory leak vulnerability in function OJPEGReadHeaderInfoSecTablesQTable, which allowed attackers to cause a denial of service via a crafted file (bsc#1042804).
These various other issues were fixed:
- Fix uint32 overflow in TIFFReadEncodedStrip() that caused an integer division by zero. Reported by Agostino Sarubbo.
- fix heap-based buffer overflow on generation of PixarLog / LUV compressed files, with ColorMap, TransferFunction attached and nasty plays with bitspersample. The fix for LUV has not been tested, but suffers from the same kind of issue of PixarLog.
- modify ChopUpSingleUncompressedStrip() to instanciate compute ntrips as TIFFhowmany_32(td->td_imagelength, rowsperstrip), instead of a logic based on the total size of data. Which is faulty is the total size of data is not sufficient to fill the whole image, and thus results in reading outside of the StripByCounts/StripOffsets arrays when using TIFFReadScanline()
- make OJPEGDecode() early exit in case of failure in OJPEGPreDecode(). This will avoid a divide by zero, and potential…
- Record
SUSE-SU-2017:2569-1- Updated
- 2026-11-02
OSVUSN-3602-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-3602-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tiffDebian:12 |
before 4.0.8-1 | 4.0.8-1 |
tiffDebian:13 |
before 4.0.8-1 | 4.0.8-1 |
tiffDebian:14 |
before 4.0.8-1 | 4.0.8-1 |
tiff3Debian:7 |
before 3.9.6-11+deb7u6, plus listed versions 3.9.6-113.9.6-11+deb7u13.9.6-11+deb7u23.9.6-11+deb7u33.9.6-11+deb7u43.9.6-11+deb7u5 |
3.9.6-11+deb7u6 |
tiffDebian:7 |
before 4.0.2-6+deb7u14, plus listed versions 4.0.2-64.0.2-6+deb7u14.0.2-6+deb7u104.0.2-6+deb7u114.0.2-6+deb7u12 Show 9 moreShow less4.0.2-6+deb7u134.0.2-6+deb7u24.0.2-6+deb7u34.0.2-6+deb7u44.0.2-6+deb7u54.0.2-6+deb7u64.0.2-6+deb7u74.0.2-6+deb7u84.0.2-6+deb7u9 |
4.0.2-6+deb7u14 |
tiffSUSE:Linux Enterprise Desktop 12 SP2 |
before 4.0.8-44.3.1 | 4.0.8-44.3.1 |
tiffSUSE:Linux Enterprise Desktop 12 SP3 |
before 4.0.8-44.3.1 | 4.0.8-44.3.1 |
tiffSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 4.0.8-44.3.1 | 4.0.8-44.3.1 |
tiffSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 4.0.8-44.3.1 | 4.0.8-44.3.1 |
tiffSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 4.0.8-44.3.1 | 4.0.8-44.3.1 |
Show 7 moreShow less
| Package | Affected | Fixed |
|---|---|---|
tiffSUSE:Linux Enterprise Server 12 SP2 |
before 4.0.8-44.3.1 | 4.0.8-44.3.1 |
tiffSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 4.0.8-44.3.1 | 4.0.8-44.3.1 |
tiffSUSE:Linux Enterprise Server 12 SP3 |
before 4.0.8-44.3.1 | 4.0.8-44.3.1 |
tiffSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 4.0.8-44.3.1 | 4.0.8-44.3.1 |
tiffUbuntu:14.04:LTS |
before 4.0.3-7ubuntu0.8, plus listed versions 4.0.2-4ubuntu34.0.3-5ubuntu14.0.3-64.0.3-6ubuntu14.0.3-7 Show 6 moreShow less4.0.3-7ubuntu0.14.0.3-7ubuntu0.24.0.3-7ubuntu0.34.0.3-7ubuntu0.44.0.3-7ubuntu0.64.0.3-7ubuntu0.7 |
4.0.3-7ubuntu0.8 |
tiffUbuntu:16.04:LTS |
before 4.0.6-1ubuntu0.3, plus listed versions 4.0.3-12.3ubuntu24.0.5-14.0.6-14.0.6-1ubuntu0.14.0.6-1ubuntu0.2 |
4.0.6-1ubuntu0.3 |
tiffopenSUSE:Tumbleweed |
before 4.3.0-1.3 | 4.3.0-1.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-9404 is a medium vulnerability (CVSS 6.5) in Libtiff, published June 2, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.47%, the 73rd percentile. Fixed in tiff 4.0.8-1.
References
usn.ubuntu.com/3602-1
bugzilla.maptools.org/show_bug.cgi?id=2688
debian.org/security/2017/dsa-3903
nvd.nist.gov/vuln/detail/CVE-2017-9404
github.com/advisories/GHSA-f9rg-wwq3-3cv8
security-tracker.debian.org/tracker/CVE-2017-9404
Show 94 moreShow less
suse.com/support/update/announcement/2017/suse-su-20172569-1
bugzilla.suse.com/1033109
bugzilla.suse.com/1033111
bugzilla.suse.com/1033112
bugzilla.suse.com/1033113
bugzilla.suse.com/1033118
bugzilla.suse.com/1033120
bugzilla.suse.com/1033126
bugzilla.suse.com/1033127
bugzilla.suse.com/1033128
bugzilla.suse.com/1033129
bugzilla.suse.com/1033131
bugzilla.suse.com/1038438
bugzilla.suse.com/1042804
bugzilla.suse.com/1042805
suse.com/security/cve/CVE-2016-10371
suse.com/security/cve/CVE-2017-7592
suse.com/security/cve/CVE-2017-7593
suse.com/security/cve/CVE-2017-7594
suse.com/security/cve/CVE-2017-7595
suse.com/security/cve/CVE-2017-7596
suse.com/security/cve/CVE-2017-7597
suse.com/security/cve/CVE-2017-7598
suse.com/security/cve/CVE-2017-7599
suse.com/security/cve/CVE-2017-7600
suse.com/security/cve/CVE-2017-7601
suse.com/security/cve/CVE-2017-7602
suse.com/security/cve/CVE-2017-9403
suse.com/security/cve/CVE-2017-9404
ubuntu.com/security/CVE-2017-9404
ubuntu.com/security/notices/USN-3602-1
cve.org/CVERecord?id=CVE-2017-9404
ubuntu.com/security/CVE-2016-10266
ubuntu.com/security/CVE-2016-10267
ubuntu.com/security/CVE-2016-10268
ubuntu.com/security/CVE-2016-10269
ubuntu.com/security/CVE-2016-10371
ubuntu.com/security/CVE-2017-7592
ubuntu.com/security/CVE-2017-7593
ubuntu.com/security/CVE-2017-7594
ubuntu.com/security/CVE-2017-7595
ubuntu.com/security/CVE-2017-7596
ubuntu.com/security/CVE-2017-7597
ubuntu.com/security/CVE-2017-7598
ubuntu.com/security/CVE-2017-7599
ubuntu.com/security/CVE-2017-7600
ubuntu.com/security/CVE-2017-7601
ubuntu.com/security/CVE-2017-7602
ubuntu.com/security/CVE-2017-9403
ubuntu.com/security/CVE-2017-9815
ubuntu.com/security/CVE-2017-9936
ubuntu.com/security/CVE-2017-10688
ubuntu.com/security/CVE-2017-11335
ubuntu.com/security/CVE-2017-12944
ubuntu.com/security/CVE-2017-13726
ubuntu.com/security/CVE-2017-13727
ubuntu.com/security/CVE-2017-18013
ubuntu.com/security/CVE-2018-5784
suse.com/security/cve/CVE-2006-0405
suse.com/security/cve/CVE-2006-2656
suse.com/security/cve/CVE-2008-1586
suse.com/security/cve/CVE-2008-2327
suse.com/security/cve/CVE-2016-10095
suse.com/security/cve/CVE-2016-10266
suse.com/security/cve/CVE-2016-10267
suse.com/security/cve/CVE-2016-10268
suse.com/security/cve/CVE-2016-10269
suse.com/security/cve/CVE-2016-10270
suse.com/security/cve/CVE-2016-10271
suse.com/security/cve/CVE-2016-10272
suse.com/security/cve/CVE-2016-5318
suse.com/security/cve/CVE-2016-9538
suse.com/security/cve/CVE-2017-11613
suse.com/security/cve/CVE-2017-16232
suse.com/security/cve/CVE-2017-18013
suse.com/security/cve/CVE-2017-5225
suse.com/security/cve/CVE-2017-9935
suse.com/security/cve/CVE-2017-9936
suse.com/security/cve/CVE-2018-10779
suse.com/security/cve/CVE-2018-10963
suse.com/security/cve/CVE-2018-12900
suse.com/security/cve/CVE-2018-16335
suse.com/security/cve/CVE-2018-17000
suse.com/security/cve/CVE-2018-17100
suse.com/security/cve/CVE-2018-17101
suse.com/security/cve/CVE-2018-17795
suse.com/security/cve/CVE-2018-18557
suse.com/security/cve/CVE-2018-18661
suse.com/security/cve/CVE-2018-19210
suse.com/security/cve/CVE-2018-5784
suse.com/security/cve/CVE-2018-7456
suse.com/security/cve/CVE-2018-8905
suse.com/security/cve/CVE-2019-6128
suse.com/security/cve/CVE-2019-7663
Left out here: the rest of 1 source description. The JSON record has them.