CVE-2017-5225: Buffer Overflow

Published Jan 12, 2017
·
Updated

LibTIFF version 4.0.7 is vulnerable to a heap buffer overflow in the tools/tiffcp resulting in DoS or code execution via a crafted BitsPerSample value.

Affected Software

26 affected componentsFixes available
LibTIFF libtiff=4.0.7
debian/tiff
4.0.2-6+deb7u94.0.3-12.3+deb8u34.0.7-5
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1
alpine/tiff<4.0.7-r1
4.0.7-r1

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.0.2-6+deb7u9Fixed in 4.0.3-12.3+deb8u3Fixed in 4.0.7-5
  2. Upgrade

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

    Fixed in 4.0.7-r1

Event History

Jan 12, 2017
CVE Published
via MITRE·11:00 AM
Data Sourced
via MITRE·11:00 AM
Description
Data Sourced
11:59 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·11:59 AM
DescriptionSeverityAffected Software
Mar 2, 2026
Updated
via NVD·09:16 PM
SeverityWeaknessAffected Software
Jun 17, 2026
Event
via NVD·01:20 AM

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2017-5225?

CVE-2017-5225 is classified as a high-severity vulnerability due to the potential for remote code execution.

2

How do I fix CVE-2017-5225?

To fix CVE-2017-5225, upgrade to LibTIFF version 4.0.8 or later where the vulnerability has been patched.

3

What causes the CVE-2017-5225 vulnerability?

CVE-2017-5225 is caused by a heap buffer overflow in the tiffcp tool when processing a crafted BitsPerSample value.

4

What are the potential impacts of CVE-2017-5225?

The potential impacts of CVE-2017-5225 include denial of service (DoS) and the execution of arbitrary code.

5

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

CVE-2017-5225 affects LibTIFF version 4.0.7 specifically.

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