Buffer overflow in Gimp - CVE-2017-17785
Published: December 20, 2017 / Updated: August 3, 2020
Vulnerability identifier: #VU33234
CSH Severity: Low
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-17785
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local non-authenticated attacker to execute arbitrary code.
In GIMP 2.8.22, there is a heap-based buffer overflow in the fli_read_brun function in plug-ins/file-fli/fli.c.
Affected software
Gimp
gimp (Alpine package)
gimp (Ubuntu package)
gimp
Ubuntu
Fedora
gimp (Alpine package)
gimp (Ubuntu package)
gimp
Ubuntu
Fedora
How to mitigate CVE-2017-17785
Install update from vendor's website.
Gimp - update to 2.9.2
gimp (Alpine package) - addressed in versions 2.8.22-r2, 2.10.2-r0
gimp (Ubuntu package) - addressed in versions 2.8.16-1ubuntu1.1+esm1, 2.8.22-1ubuntu0.1~esm1, 2.10.18-1ubuntu0.1+esm1, 2.10.30-1ubuntu0.1+esm1, 2.10.36-3ubuntu0.24.04.1+esm1
gimp - addressed in versions 2.8.22-3.fc26, 2.8.22-3.fc27
gimp (Alpine package) - addressed in versions 2.8.22-r2, 2.10.2-r0
gimp (Ubuntu package) - addressed in versions 2.8.16-1ubuntu1.1+esm1, 2.8.22-1ubuntu0.1~esm1, 2.10.18-1ubuntu0.1+esm1, 2.10.30-1ubuntu0.1+esm1, 2.10.36-3ubuntu0.24.04.1+esm1
gimp - addressed in versions 2.8.22-3.fc26, 2.8.22-3.fc27