Vulnerabilities / CVE-2017-5225

critical

CVE-2017-5225

libtiff: Heap-buffer overflow in tools/tiffcp via crafted BitsPerSample value

Published Modified CWE 119, 122
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.0CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (medium).

Description

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 packages and fixed versions

SourcePackageFixed in
alpine 3.10tiff4.0.7-r1
alpine 3.11tiff4.0.7-r1
alpine 3.12tiff4.0.7-r1
alpine 3.13tiff4.0.7-r1
alpine 3.14tiff4.0.7-r1
alpine 3.15tiff4.0.7-r1
alpine 3.16tiff4.0.7-r1
alpine 3.17tiff4.0.7-r1
alpine 3.18tiff4.0.7-r1
alpine 3.19tiff4.0.7-r1
alpine 3.2tiff4.0.7-r1
alpine 3.20tiff4.0.7-r1
Show all 46 entries from 41 sources
SourcePackageFixed in
alpine 3.10tiff4.0.7-r1
alpine 3.11tiff4.0.7-r1
alpine 3.12tiff4.0.7-r1
alpine 3.13tiff4.0.7-r1
alpine 3.14tiff4.0.7-r1
alpine 3.15tiff4.0.7-r1
alpine 3.16tiff4.0.7-r1
alpine 3.17tiff4.0.7-r1
alpine 3.18tiff4.0.7-r1
alpine 3.19tiff4.0.7-r1
alpine 3.2tiff4.0.7-r1
alpine 3.20tiff4.0.7-r1
alpine 3.21tiff4.0.7-r1
alpine 3.22tiff4.0.7-r1
alpine 3.23tiff4.0.7-r1
alpine 3.24tiff4.0.7-r1
alpine 3.3tiff4.0.7-r1
alpine 3.4tiff4.0.7-r1
alpine 3.5tiff4.0.7-r1
alpine 3.6tiff4.0.7-r1
alpine 3.7tiff4.0.7-r1
alpine 3.8tiff4.0.7-r1
alpine 3.9tiff4.0.7-r1
alpine edgetiff4.0.7-r1
debian 11tiff4.0.7-5
debian 12tiff4.0.7-5
debian 13tiff4.0.7-5
debian 14tiff4.0.7-5
debian 7tiff4.0.2-6+deb7u9
debian 8tiff4.0.3-12.3+deb8u3
echotiff4.0.7-5
Red Hatcompat-libtiff3no fix listed
Red Hatlibtiffno fix listed
Red Hatlibtiff-develno fix listed
Red Hatlibtiff-staticno fix listed
Red Hatlibtiff-toolsno fix listed
root.io debian 11rootio-tiff4.0.7-5
root.io debian 12rootio-tiff4.0.7-5
root.io debian 13rootio-tiff4.0.7-5
seal Red Hat 7libtiff4.0.3-35.el7+sp8
seal Red Hat 7seal-libtiff4.0.3-35.el7+sp8
ubuntu 14.04tiff4.0.3-7ubuntu0.6
ubuntu 14.04-ESMtiff4.0.3-7ubuntu0.6
ubuntu 16.04tiff4.0.6-1ubuntu0.1
ubuntu 16.04-ESMtiff4.0.6-1ubuntu0.1
ubuntu 16.10tiff4.0.6-2ubuntu0.1

References

All 12 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.