Gentoo Logo

Snack: User-assisted execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201309-04 / snack
Release Date September 11, 2013
Latest Revision September 11, 2013: 1
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-tcltk/snack < 2.2.10-r5 >= 2.2.10-r5 All supported architectures

Related bugreports: #446822


A buffer overflow in Snack could result in execution of arbitrary code or Denial of Service.

2.  Impact Information


Snack is a sound toolkit for creating multi-platform audio applications with scripting languages.


The GetWavHeader() function in jkSoundFile.c does not have boundary checks when parsing format sub-chunks or unknown sub-chunks.


A remote attacker could entice a user to open a specially crafted WAV file with an application using Snack, possibly resulting in execution of arbitrary code or a Denial of Service condition.

3.  Resolution Information


There is no known workaround at this time.


All Snack users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=dev-tcltk/snack-2.2.10-r5"

4.  References


Page updated September 11, 2013

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.