CVE-2008-2040

Peercast 0.1218 - Stack-based Buffer Overflow in HTTP Basic Authentication

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-2040. PoCs published by Nico Golde.

AI-analyzed exploit summary This exploit targets a buffer overflow vulnerability in PeerCast by sending a maliciously crafted HTTP request with an overly long 'Authorization' header. The overflow occurs due to insufficient bounds checking, potentially allowing arbitrary code execution.

Description

Stack-based buffer overflow in the HTTP::getAuthUserPass function (core/common/http.cpp) in Peercast 0.1218 and gnome-peercast allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a Basic Authentication string with a long (1) username or (2) password.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Nico Golde · pythondoslinux
https://www.exploit-db.com/exploits/31713

This exploit targets a buffer overflow vulnerability in PeerCast by sending a maliciously crafted HTTP request with an overly long 'Authorization' header. The overflow occurs due to insufficient bounds checking, potentially allowing arbitrary code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: PeerCast 0.1218
No auth needed
Prerequisites: Network access to the target · PeerCast service running on port 7144
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (14)

Core 14
Core References
Third Party Advisory vendor-advisory x_refsource_gentoo
http://security.gentoo.org/glsa/glsa-200807-11.xml
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/30020
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2008/dsa-1583
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/30325
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/29962
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/42092
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2008/dsa-1582
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2008/1410/references
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/30320
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/31182
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2008/1409/references
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/28986

Scores

EPSS 0.1486
EPSS Percentile 96.3%

Details

CWE
CWE-119
Status published
Products (1)
peercast/peercast 0.1218
Published Apr 30, 2008
Tracked Since Feb 18, 2026