Gentoo Logo

zoo: Stack-based buffer overflow


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200603-05 / zoo
Release Date March 06, 2006
Latest Revision March 06, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-arch/zoo < 2.10-r1 >= 2.10-r1 All supported architectures

Related bugreports: #123782


A stack-based buffer overflow in zoo may be exploited to execute arbitrary code through malicious ZOO archives.

2.  Impact Information


zoo is a file archiving utility for maintaining collections of files, written by Rahul Dhesi.


Jean-Sebastien Guay-Leroux discovered a boundary error in the fullpath() function in misc.c when processing overly long file and directory names in ZOO archives.


An attacker could craft a malicious ZOO archive and entice someone to open it using zoo. This would trigger a stack-based buffer overflow and potentially allow execution of arbitrary code with the rights of the victim user.

3.  Resolution Information


There is no known workaround at this time.


All zoo users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/zoo-2.10-r1"

4.  References


Page updated March 06, 2006

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.