CVE-2004-2541 Memory corruption in n/a

Medium 6.9 Published Updated

Remote attackers can execute arbitrary code by tricking a user into browsing a malicious C file with a long include line in Cscope.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2004-2541?

CVE-2004-2541 is a medium-severity memory corruption vulnerability in n/a, published on 20 Nov 2005. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Buffer overflow in Cscope 15.5, and possibly multiple overflows, allows remote attackers to execute arbitrary code via a C file with a long #include line that is later browsed by the target.

Weakness: CWE-119

Which versions are affected by CVE-2004-2541?

It affects 1 product.

Products include Cscope Cscope.

How do I fix CVE-2004-2541?

Upgrade to a fixed version.

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

Is CVE-2004-2541 being exploited?

There is no known exploitation of CVE-2004-2541 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2004-2541, DSA-1064-1, GHSA-jqff-mwp3-mx4x.

Is CVE-2004-2541 in your software?

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

Check your SBOMs for free