cve.bz

CVE-2017-9935 Out-of-bounds Read

8.8 highExploit referenceEPSS 3.9%Fix available

High (8.8). EPSS 3.9% estimated probability of exploitation activity in the next 30 days.

On this page
In LibTIFF 4.0.8, there is a heap-based buffer overflow in the t2p_write_pdf function in tools/tiff2pdf.c. This heap overflow could lead to different damages. For example, a crafted TIFF document can lead to an out-of-bounds read in TIFFCleanup, an invalid free in TIFFClose or t2p_free, memory corruption in t2p_readwrite_pdf_image, or a double free in t2p_free. Given these possibilities, it probably could cause arbitrary code execution.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
3.9% (unchanged from 3.9% a week ago; 3.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-9935 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-9935?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-9935?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-9935 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libtiff:libtiffthrough 4.0.8
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7tiff4.0.2-6+deb7u17DLA-1206-1
Debian8tiff4.0.3-12.3+deb8u5DSA-4100-1
Debian9tiff4.0.8-2+deb9u2DSA-4100-1
Debian12, 13, 14tiff4.0.9-2DEBIAN-CVE-2017-9935
Ubuntu14.04:LTStiff4.0.3-7ubuntu0.9UBUNTU-CVE-2017-9935 USN-3606-1
Ubuntu16.04:LTStiff4.0.6-1ubuntu0.4UBUNTU-CVE-2017-9935 USN-3606-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3 and 1 moretiff4.0.9-44.10.1SUSE-SU-2018:1180-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3 and 1 moretiff4.0.9-44.24.1SUSE-SU-2018:3289-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4tiff3.8.2-141.169.19.1SUSE-SU-2018:3391-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4tiff3.8.2-141.169.3.1SUSE-SU-2018:1179-1
openSUSETumbleweedtiff4.3.0-1.3openSUSE-SU-2024:11461-1
Alpinev3.5, v3.6, v3.7tiff4.0.9-r5ALPINE-CVE-2017-9935
Alpinev3.8, v3.9, v3.10 and 14 moretiff4.0.9-r6ALPINE-CVE-2017-9935

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5libtiffWill not fix
Red Hat Enterprise Linux 6libtiffWill not fix
Red Hat Enterprise Linux 7compat-libtiff3Will not fix
Red Hat Enterprise Linux 7libtiffWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-9935.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON