Vulnerabilities / CVE-2017-9117

critical

CVE-2017-9117

libtiff: Heap-based buffer over-read in bmp2tiff

Published Modified CWE 125
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 Hat3.3CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

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

Description

In LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-information header match the actual input, as demonstrated by a heap-based buffer over-read in bmp2tiff. NOTE: mentioning bmp2tiff does not imply that the activation point is in the bmp2tiff.c file (which was removed before the 4.0.7 release).

Affected packages and fixed versions

SourcePackageFixed in
debian 11tiff4.0.7-1
debian 12tiff4.0.7-1
debian 13tiff4.0.7-1
debian 14tiff4.0.7-1
echotiff4.0.7-1
Red Hatcompat-libtiff3, libtiff, libtiff-devel and 2 moreno fix listed
root.io debian 11rootio-tiff4.0.7-1
root.io debian 12rootio-tiff4.0.7-1
root.io debian 13rootio-tiff4.0.7-1
seal Red Hat 7libtiff, seal-libtiff4.0.3-35.el7+sp8
ubuntu 14.04tiff4.0.3-7ubuntu0.9
ubuntu 14.04-ESMtiff4.0.3-7ubuntu0.9
Show all 19 entries from 14 sources
SourcePackageFixed in
debian 11tiff4.0.7-1
debian 12tiff4.0.7-1
debian 13tiff4.0.7-1
debian 14tiff4.0.7-1
echotiff4.0.7-1
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-1
root.io debian 12rootio-tiff4.0.7-1
root.io debian 13rootio-tiff4.0.7-1
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.9
ubuntu 14.04-ESMtiff4.0.3-7ubuntu0.9
ubuntu 16.04tiff4.0.6-1ubuntu0.4
ubuntu 16.04-ESMtiff4.0.6-1ubuntu0.4

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.