CVE-2008-2040 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can cause a crash or execute arbitrary code via a stack-based buffer overflow in the HTTP authentication handler.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2008-2040?

CVE-2008-2040 is a high-severity memory corruption vulnerability in n/a, published on 30 Apr 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2008-2040?

It affects 1 product.

Products include Peercast Peercast.

How do I fix CVE-2008-2040?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2008-2040 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-2040 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DSA-1582-1, GHSA-98qj-hw8j-wp56.

Is CVE-2008-2040 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free