CVE-2017-9935

libtiff: Heap-based buffer overflow in t2p_write_pdf function

Published Jun 26, 2017 CVSS 3.0 · 8.8 High EPSS 3.9% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1206-1 tiff security update
Debian DSA Debian DSA DSA-4100-1 tiff security update
EUVD EUVD EUVD-2017-18845 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.
Ubuntu USN Ubuntu USN USN-3606-1 LibTIFF vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.01614}

epss

{'score': 0.00988}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 5:24 PM
Reserved
Jun 26, 2017, 12:00 AM
Status
Modified
Published
Jun 26, 2017, 12:29 PM
Modified
Jun 17, 2026, 1:29 AM
Severity
Moderate
Public date
Jul 11, 2017, 12:00 AM