CVE-2017-9935: Buffer Overflow

Published Jun 26, 2017
·
Updated

In LibTIFF 4.0.8, there is a heap-based buffer overflow in the t2pwritepdf 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 t2pfree, memory corruption in t2preadwritepdfimage, or a double free in t2pfree. Given these possibilities, it probably could cause arbitrary code execution.

Affected Software

8 affected componentsFixes available
LibTIFF libtiff<=4.0.8
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
debian/tiff
4.2.0-1+deb11u54.2.0-1+deb11u84.5.0-6+deb12u44.7.0-3+deb13u24.7.0-3+deb13u34.7.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/tiff to a version that resolves this vulnerability.

    Fixed in 4.2.0-1+deb11u5Fixed in 4.2.0-1+deb11u8Fixed in 4.5.0-6+deb12u4Fixed in 4.7.0-3+deb13u2Fixed in 4.7.0-3+deb13u3Fixed in 4.7.2-1

Event History

Jun 26, 2017
CVE Published
via MITRE·12:00 PM
Data Sourced
via MITRE·12:00 PM
Description
Data Sourced
via NVD·12:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 5, 2024
Data Sourced
via Launchpad·05:51 AM
Description
Feb 19, 2026
Data Sourced
via Ubuntu·03:57 PM
RemedyDescriptionSeverityAffected Software
Jul 20, 2026
Data Sourced
via Debian·02:08 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-9935?

CVE-2017-9935 is classified as a high-severity vulnerability due to the potential for a heap-based buffer overflow leading to memory corruption.

2

How do I fix CVE-2017-9935?

To remediate CVE-2017-9935, upgrade to a fixed version of LibTIFF, such as 4.2.0-1+deb11u5 or later.

3

Which versions of LibTIFF are affected by CVE-2017-9935?

CVE-2017-9935 affects LibTIFF versions up to and including 4.0.8.

4

What software packages are vulnerable to CVE-2017-9935?

Vulnerable packages related to CVE-2017-9935 include tiff on Debian systems and multiple versions of LibTIFF.

5

What could happen if I am affected by CVE-2017-9935?

If affected by CVE-2017-9935, a crafted TIFF document could lead to out-of-bounds reads or memory corruption, potentially resulting in application crashes or exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203