CVE-2017-17786
In GIMP 2.8.22, there is a heap-based buffer over-read in ReadImage in plug-ins/common/file-tga.c...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2017-17786- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-17786- Updated
- 2026-11-02
EUVDEUVD-2017-8937 No score
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.
- Record
EUVD-2017-8937- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-44w3-qvp9-4hh4
7.8
In GIMP 2.8.22, there is a heap-based buffer over-read in ReadImage in plug-ins/common/file-tga.c...
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.
- Record
GHSA-44w3-qvp9-4hh4- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2017-17786- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-17786
7.8
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.
- Record
DEBIAN-CVE-2017-17786- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSVUBUNTU-CVE-2017-17786
7.8
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.
- Record
UBUNTU-CVE-2017-17786- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0030 No score
Updated gimp packages fix security vulnerability
Several vulnerabilities were discovered in the GIMP which could result in denial of service (application crash) or potentially the execution of arbitrary code if malformed files are opened (CVE-2017-17784, CVE-2017-17785, CVE-2017-17786, CVE-2017-17787, CVE-2017-17788, CVE-2017-17789).
- Record
MGASA-2018-0030- Updated
- 2026-11-02
OSVMGASA-2018-0273 No score
Updated gimp packages fix security vulnerabilities
Updated gimp packages fix security vulnerabilities:
Several vulnerabilities were discovered in GIMP which could result in denial of service (application crash) or potentially the execution of arbitrary code if malformed files are opened (CVE-2017-17784, CVE-2017-17785, CVE-2017-17786, CVE-2017-17787, CVE-2017-17788, CVE-2017-17789).
Also, the webkit1-based help browser plugin has been disabled in favor of using an external browser for the help pages. This is due to security issues in webkit.
- Record
MGASA-2018-0273- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0027-1 No score
Security update for gimp
This update for gimp fixes the following issues:
- CVE-2017-17784: Fixed an insufficient string validation for input names (bsc#1073624).
- CVE-2017-17785: Fixed an heap-based buffer overflow in FLI import (bsc#1073625).
- CVE-2017-17786: Fixed an out-of-bounds read in TGA (bsc#1073626).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2021:0027-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:0601-1 No score
Security update for gimp
This update for gimp fixes the following issues:
- Fix for crashing due to segmentation fault caused by importing ghostscript files. (bsc#1161998)
Security issues fixed:
- CVE-2017-17785: Fixed an heap-based buffer overflow in FLI import (bsc#1073625)
- CVE-2017-17786: Fixed an out-of-bounds read in TGA (bsc#1073626)
- CVE-2017-17788: Fixed an out-of-bounds read in XCF (bsc#1073629)
- Record
SUSE-SU-2020:0601-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:0014-1 No score
Security update for gimp
This update for gimp fixes the following issues:
- CVE-2017-17784: Fixed an insufficient string validation for input names (bsc#1073624).
- CVE-2017-17785: Fixed an heap-based buffer overflow in FLI import (bsc#1073625).
- CVE-2017-17786: Fixed an out-of-bounds read in TGA (bsc#1073626).
- Record
SUSE-SU-2021:0014-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:0015-1 No score
Security update for gimp
This update for gimp fixes the following issues:
- CVE-2017-17784: Fixed an insufficient string validation for input names (bsc#1073624).
- CVE-2017-17785: Fixed an heap-based buffer overflow in FLI import (bsc#1073625).
- CVE-2017-17786: Fixed an out-of-bounds read in TGA (bsc#1073626).
- Record
SUSE-SU-2021:0015-1- Updated
- 2026-11-02
OSVUSN-3539-1 No score
gimp vulnerabilities
It was discovered that GIMP incorrectly handled certain images. If a user were tricked into opening a specially crafted image, an attacker could possibly use this to execute arbitrary code. (CVE-2017-17784, CVE-2017-17785, CVE-2017-17786, CVE-2017-17787, CVE-2017-17788, CVE-2017-17789)
- Record
USN-3539-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gimpDebian:12 |
before 2.8.20-1.1 | 2.8.20-1.1 |
gimpDebian:13 |
before 2.8.20-1.1 | 2.8.20-1.1 |
gimpDebian:14 |
before 2.8.20-1.1 | 2.8.20-1.1 |
gimpDebian:7 From an advisory covering 6 CVEs |
before 2.8.2-2+deb7u3, plus listed versions 2.8.2-22.8.2-2+deb7u12.8.2-2+deb7u2 |
2.8.2-2+deb7u3 |
gimpDebian:8 From an advisory covering 6 CVEs |
before 2.8.14-1+deb8u2, plus listed versions 2.8.14-12.8.14-1+deb8u1 |
2.8.14-1+deb8u2 |
gimpDebian:9 From an advisory covering 6 CVEs |
before 2.8.18-1+deb9u1, plus listed versions 2.8.18-1 |
2.8.18-1+deb9u1 |
gimpMageia:5 From an advisory covering 6 CVEs |
before 2.8.14-4.3.mga5 | 2.8.14-4.3.mga5 |
gimpMageia:6 From an advisory covering 6 CVEs |
before 2.8.22-1.2.mga6 | 2.8.22-1.2.mga6 |
gimpSUSE:Linux Enterprise Desktop 12 SP4 From an advisory covering 3 CVEs |
before 2.8.18-9.8.1 | 2.8.18-9.8.1 |
gimpSUSE:Linux Enterprise Software Development Kit 12 SP4 From an advisory covering 3 CVEs |
before 2.8.18-9.8.1 | 2.8.18-9.8.1 |
Show 10 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gimpSUSE:Linux Enterprise Software Development Kit 12 SP5 From an advisory covering 3 CVEs |
before 2.8.18-9.8.1 | 2.8.18-9.8.1 |
gimpSUSE:Linux Enterprise Workstation Extension 12 SP4 From an advisory covering 3 CVEs |
before 2.8.18-9.8.1 | 2.8.18-9.8.1 |
gimpSUSE:Linux Enterprise Workstation Extension 12 SP5 From an advisory covering 3 CVEs |
before 2.8.18-9.8.1 | 2.8.18-9.8.1 |
gimpSUSE:Linux Enterprise Workstation Extension 15 SP1 From an advisory covering 3 CVEs |
before 2.8.22-5.11.2 | 2.8.22-5.11.2 |
gimpSUSE:Linux Enterprise Software Development Kit 12 SP5 From an advisory covering 3 CVEs |
before 2.8.18-9.18.1 | 2.8.18-9.18.1 |
gimpSUSE:Linux Enterprise Workstation Extension 12 SP5 From an advisory covering 3 CVEs |
before 2.8.18-9.18.1 | 2.8.18-9.18.1 |
gimpUbuntu:14.04:LTS |
before 2.8.10-0ubuntu1.2, plus listed versions 2.8.6-1ubuntu12.8.6-1ubuntu22.8.6-1ubuntu32.8.10-0ubuntu12.8.10-0ubuntu1.1 |
2.8.10-0ubuntu1.2 |
gimpUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 2.8.14-1ubuntu22.8.14-1.2ubuntu12.8.16-1ubuntu12.8.16-1ubuntu1.12.8.16-1ubuntu1.1+esm12.8.16-1ubuntu1.1+esm22.8.16-1ubuntu1.1+esm3 |
None known |
gimpUbuntu:14.04:LTS From an advisory covering 6 CVEs |
before 2.8.10-0ubuntu1.2, plus listed versions 2.8.6-1ubuntu12.8.6-1ubuntu22.8.6-1ubuntu32.8.10-0ubuntu12.8.10-0ubuntu1.1 |
2.8.10-0ubuntu1.2 |
gimpopenSUSE:Leap 15.1 From an advisory covering 3 CVEs |
before 2.8.22-lp151.5.9.1 | 2.8.22-lp151.5.9.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-17786 is a high vulnerability (CVSS 7.8) in Gimp, published December 20, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.34%, the 71st percentile. Fixed in gimp 2.8.20-1.1.
References
debian.org/security/2017/dsa-4077
bugzilla.gnome.org/show_bug.cgi?id=739134
usn.ubuntu.com/3539-1
openwall.com/lists/oss-security/2017/12/19/5
lists.debian.org/debian-lts-announce/2017/12/msg00023.html
securityfocus.com/bid/102765
Show 33 moreShow less
nvd.nist.gov/vuln/detail/CVE-2017-17786
github.com/advisories/GHSA-44w3-qvp9-4hh4
security-tracker.debian.org/tracker/CVE-2017-17786
advisories.mageia.org/MGASA-2018-0030.html
bugs.mageia.org/show_bug.cgi?id=22291
advisories.mageia.org/MGASA-2018-0273.html
bugs.mageia.org/show_bug.cgi?id=22252
lists.opensuse.org/opensuse-updates/2018-01/msg00014.html
suse.com/support/update/announcement/2020/suse-su-20200601-1
bugzilla.suse.com/1073625
bugzilla.suse.com/1073626
bugzilla.suse.com/1073629
bugzilla.suse.com/1161998
suse.com/security/cve/CVE-2017-17785
suse.com/security/cve/CVE-2017-17786
suse.com/security/cve/CVE-2017-17788
suse.com/support/update/announcement/2021/suse-su-20210014-1
bugzilla.suse.com/1073624
suse.com/security/cve/CVE-2017-17784
suse.com/support/update/announcement/2021/suse-su-20210015-1
ubuntu.com/security/CVE-2017-17786
git.gnome.org/browse/gimp/commit?id=674b62ad45b6579ec6d7923dc3cb1ef4e8b5498b
git.gnome.org/browse/gimp/commit?id=8ea316667c8a3296bce2832b3986b58d0fdfc077
git.gnome.org/browse/gimp/commit?h=gimp-2-8&id=ef9c821fff8b637a2178eab1c78cae6764c50e12
git.gnome.org/browse/gimp/commit?h=gimp-2-8&id=22e2571c25425f225abdb11a566cc281fca6f366
ubuntu.com/security/notices/USN-3539-1
cve.org/CVERecord?id=CVE-2017-17786
ubuntu.com/security/CVE-2017-17784
ubuntu.com/security/CVE-2017-17785
ubuntu.com/security/CVE-2017-17787
ubuntu.com/security/CVE-2017-17788
ubuntu.com/security/CVE-2017-17789
lists.opensuse.org/archives/list/[email protected]/thread/LKBDGMCM5XJOHFKTACI2CEISBTSKVLD3