PeerCast is a client and server for P2P-radio network
Luigi Auriemma reported a heap-based buffer overflow within the "handshakeHTTP()" function when processing HTTP requests.
A remote attacker could send a specially crafted request to the vulnerable server, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the PeerCast server, usually "nobody".
There is no known workaround at this time.
All PeerCast users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/peercast-0.1218"