Gentoo Logo

zziplib: Buffer Overflow


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200704-05 / zziplib
Release Date April 03, 2007
Latest Revision April 03, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-libs/zziplib < 0.13.49 >= 0.13.49 All supported architectures

Related bugreports: #171441


The zziplib library contains a buffer overflow vulnerability that could lead to user-assisted remote execution of arbitrary code.

2.  Impact Information


The zziplib library is a lightweight library for extracting data from files archived in a single zip file.


dmcox dmcox discovered a boundary error in the zzip_open_shared_io() function from zzip/file.c .


A remote attacker could entice a user to run a zziplib function with an overly long string as an argument which would trigger the buffer overflow and may lead to the execution of arbitrary code.

3.  Resolution Information


There is no known workaround at this time.


All zziplib users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/zziplib-0.13.49"

4.  References


Page updated April 03, 2007

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.