{"id":"UBUNTU-CVE-2017-17786","details":"In GIMP 2.8.22, there is a heap-based buffer over-read in ReadImage in plug-ins/common/file-tga.c (related to bgr2rgb.part.1) via an unexpected bits-per-pixel value for an RGBA image.","modified":"2026-03-13T06:01:44.348215Z","published":"2017-12-20T00:00:00Z","related":["USN-3539-1"],"upstream":["CVE-2017-17786"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-17786"},{"type":"REPORT","url":"https://bugzilla.gnome.org/show_bug.cgi?id=739134"},{"type":"REPORT","url":"https://git.gnome.org/browse/gimp/commit/?id=674b62ad45b6579ec6d7923dc3cb1ef4e8b5498b"},{"type":"REPORT","url":"https://git.gnome.org/browse/gimp/commit/?id=8ea316667c8a3296bce2832b3986b58d0fdfc077"},{"type":"REPORT","url":"https://git.gnome.org/browse/gimp/commit/?h=gimp-2-8&id=ef9c821fff8b637a2178eab1c78cae6764c50e12"},{"type":"REPORT","url":"https://git.gnome.org/browse/gimp/commit/?h=gimp-2-8&id=22e2571c25425f225abdb11a566cc281fca6f366"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2017/12/19/5"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3539-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-17786"}],"affected":[{"package":{"name":"gimp","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/gimp@2.8.10-0ubuntu1.2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.10-0ubuntu1.2"}]}],"versions":["2.8.6-1ubuntu1","2.8.6-1ubuntu2","2.8.6-1ubuntu3","2.8.10-0ubuntu1","2.8.10-0ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"gimp","binary_version":"2.8.10-0ubuntu1.2"},{"binary_name":"gimp-data","binary_version":"2.8.10-0ubuntu1.2"},{"binary_name":"libgimp2.0","binary_version":"2.8.10-0ubuntu1.2"},{"binary_name":"libgimp2.0-dev","binary_version":"2.8.10-0ubuntu1.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-17786.json"}},{"package":{"name":"gimp","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/gimp@2.8.16-1ubuntu1.1+esm3?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.14-1ubuntu2","2.8.14-1.2ubuntu1","2.8.16-1ubuntu1","2.8.16-1ubuntu1.1","2.8.16-1ubuntu1.1+esm1","2.8.16-1ubuntu1.1+esm2","2.8.16-1ubuntu1.1+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"gimp","binary_version":"2.8.16-1ubuntu1.1+esm3"},{"binary_name":"gimp-data","binary_version":"2.8.16-1ubuntu1.1+esm3"},{"binary_name":"libgimp2.0","binary_version":"2.8.16-1ubuntu1.1+esm3"},{"binary_name":"libgimp2.0-dev","binary_version":"2.8.16-1ubuntu1.1+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-17786.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}