Buffer overflow in the readstr_upto function in plug-ins/script-fu/tinyscheme/scheme.c in GIMP 2.6.12 and earlier, and possibly 2.6.13, allows remote attackers to execute arbitrary code via a long string in a command to the script-fu server.
https://bugzilla.gnome.org/show_bug.cgi?id=679215
http://www.reactionpenetrationtesting.co.uk/advisories/scriptfu-buffer-overflow-GIMP-2.6.html
http://www.openwall.com/lists/oss-security/2012/07/01/1
http://www.openwall.com/lists/oss-security/2012/05/31/1
http://security.gentoo.org/glsa/glsa-201209-23.xml
http://lists.opensuse.org/opensuse-updates/2012-09/msg00043.html
http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00000.html