CVE-2004-2541

CVE-2004-2541 is a medium-severity vulnerability in Cscope with a CVSS 2.0 base score of 6.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.

Key facts

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.

Frequently asked questions

What is CVE-2004-2541?
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.
How severe is CVE-2004-2541?
CVE-2004-2541 has a CVSS 2.0 base score of 6.9, rated medium severity.
Is CVE-2004-2541 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (75th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2004-2541?
CVE-2004-2541 affects Cscope. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2004-2541?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2004-2541 published?
CVE-2004-2541 was published on 2004-12-31 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Cscope

All CVEs affecting Cscope →

Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities

Browse all CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities →