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.

Published: 2004-12-31 Last update: 2026-04-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2004-2541 is rated Moderate Risk (56.7/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.94%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2004-2541

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-03-30 1.46% 1.94% +0.48%
2 2025-03-29 1.94% 1.46% -0.48%
3 2025-03-17 1.94%

Full EPSS history (7 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2004-2541

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.9 2.0 MEDIUM
AV:L/AC:M/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
3.4 10.0 [email protected]

Weakness enumeration for CVE-2004-2541

OS Trackers for CVE-2004-2541

vendor priority summary link
debian medium CVE-2004-2541 medium priority: Debian including 1 source packages (cscope), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2004-2541
gentoo normal CVE-2004-2541: 1 GLSA(s) (200606-10), 1 atom(s) (dev-util/cscope); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2004-2541
redhat medium https://access.redhat.com/security/cve/CVE-2004-2541
suse medium CVE-2004-2541 severity moderate: SUSE including 4 source package names (cscope, cscope-15.6-95.22, cscope-15.9-1.9, cscope-15.9-160000.2.2), 17 product×package rows across 17 product lines (SUSE CaaS Platform 4.0, SUSE Enterprise Storage 6, … (17 product lines)): Known Not Affected 14, Fixed 3. https://www.suse.com/security/cve/CVE-2004-2541/
ubuntu medium CVE-2004-2541 medium priority: Ubuntu including 1 source packages (cscope), 9 status rows across 9 suites (dapper, edgy, feisty, gutsy, hardy, intrepid, jaunty, karmic, upstream): released 7, ignored 1, needs-triage 1. https://ubuntu.com/security/CVE-2004-2541

Affected software / configurations for CVE-2004-2541

Vendor Product Version Raw CPE
cscope cscope 15.5 cpe:2.3:a:cscope:cscope:15.5:*:*:*:*:*:*:*

References for CVE-2004-2541

URL Tags
http://docs.info.apple.com/article.html?artnum=306172
http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html
http://secunia.com/advisories/13237 Vendor Advisory
http://secunia.com/advisories/20191
http://secunia.com/advisories/20564
http://secunia.com/advisories/26235
http://secunia.com/advisories/35462
http://sourceforge.net/tracker/index.php?func=detail&aid=1064875&group_id=4664&atid=104664
http://www.debian.org/security/2006/dsa-1064
http://www.gentoo.org/security/en/glsa/glsa-200606-10.xml
http://www.osvdb.org/11920
http://www.redhat.com/support/errata/RHSA-2009-1101.html
http://www.redhat.com/support/errata/RHSA-2009-1102.html
http://www.securityfocus.com/bid/18050
http://www.securityfocus.com/bid/25159
http://www.vupen.com/english/advisories/2007/2732
https://bugzilla.redhat.com/show_bug.cgi?id=490667
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10069
cvelogic Threat Intelligence