GIMP: Buffer overflow

Security Team  Contact Address

Updated May 07, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200705-08 / gimp
Release Date May 07, 2007
Latest Revision May 07, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-gfx/gimp < 2.2.14 >= 2.2.14 All supported architectures

Related bugreports: #176226

Synopsis

GIMP is vulnerable to a buffer overflow which may lead to the execution of arbitrary code.

2.  Impact Information

Background

GIMP is the GNU Image Manipulation Program.

Description

Marsu discovered that the "set_color_table()" function in the SUNRAS plugin is vulnerable to a stack-based buffer overflow.

Impact

An attacker could entice a user to open a specially crafted .RAS file, possibly leading to the execution of arbitrary code with the privileges of the user running GIMP.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All GIMP users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/gimp-2.2.14"

4.  References