Gentoo Logo

PeerCast: Buffer overflow


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200603-17 / peercast
Release Date March 21, 2006
Latest Revision March 21, 2006: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-sound/peercast < 0.1217 >= 0.1217 All supported architectures

Related bugreports: #123432


PeerCast is vulnerable to a buffer overflow that may lead to the execution of arbitrary code.

2.  Impact Information


PeerCast is a Peer to Peer broadcasting technology for listening to radio and watching video on the Internet.


INFIGO discovered a problem in the URL handling code. Buffers that are allocated on the stack can be overflowed inside of nextCGIarg() function.


By sending a specially crafted request to the HTTP server, a remote attacker can cause a stack overflow, resulting in the execution of arbitrary code.

3.  Resolution Information


There is no known workaround at this time.


All PeerCast users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/peercast-0.1217"

4.  References


Page updated March 21, 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.