Gentoo Logo

bzip2: User-assisted execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201301-05 / bzip2
Release Date January 09, 2013
Latest Revision January 09, 2013: 1
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
app-arch/bzip2 < 1.0.6 >= 1.0.6 All supported architectures

Related bugreports: #338215


An integer overflow vulnerability has been found in bzip2 and could result in execution of arbitrary code or Denial of Service.

2.  Impact Information


bzip2 is a high-quality data compressor used extensively by Gentoo Linux.


An integer overflow vulnerability has been discovered in bzip2. Please review the CVE identifier referenced below for details.


A remote attacker could entice a user to open a specially crafted compressed file using bzip2, possibly resulting in execution of arbitrary code with the privileges of the process, or a Denial of Service condition.

3.  Resolution Information


There is no known workaround at this time.


All bzip2 users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=app-arch/bzip2-1.0.6"

4.  References


Page updated January 09, 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.