Buffer overflow in Cscope 15.5, and possibly multiple overflows, allows remote attackers to execute arbitrary code via a C file with a long
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
- Dec 31, 2004
- Updated
- Jun 16, 2026
- EPSS
- 1.7% · 77th percentile
- CWE
- CWE-119
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
28
Monitor
Low priority for now.
- CVSS
- 27 / 40 · 6.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.7%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| cscope | cscope | cpe:2.3:a:cscope:cscope |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- cscope cscope15.5
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | cscope | before 15.5+cvs20050816-1.1 | 15.5+cvs20050816-1.1 |
| Debian:3.0 | cscope | before 15.3-1woody3 | 15.3-1woody3 |
| Debian:3.1 | cscope | before 15.5-1.1sarge1 | 15.5-1.1sarge1 |
| openSUSE:Tumbleweed | cscope | before 15.9-1.9 | 15.9-1.9 |
| Red Hat:enterprise_linux:3::as | cscope | before 0:15.5-16.RHEL3 | 0:15.5-16.RHEL3 |
| Red Hat:enterprise_linux:3::as | cscope-debuginfo | before 0:15.5-16.RHEL3 | 0:15.5-16.RHEL3 |
| Red Hat:enterprise_linux:4::as | cscope | before 0:15.5-10.RHEL4.3 | 0:15.5-10.RHEL4.3 |
| Red Hat:enterprise_linux:4::as | cscope-debuginfo | before 0:15.5-10.RHEL4.3 | 0:15.5-10.RHEL4.3 |
| Red Hat:enterprise_linux:5::client_workstation | cscope | before 0:15.5-15.1.el5_3.1 | 0:15.5-15.1.el5_3.1 |
| Red Hat:enterprise_linux:5::client_workstation | cscope-debuginfo | before 0:15.5-15.1.el5_3.1 | 0:15.5-15.1.el5_3.1 |
Same product
cscope: all recordsOther highest-scoring records for the same primary product.
- CVE-2009-1577Multiple stack-based buffer overflows in the putstring function in find.c in Cscope before 15.6 allow user-assisted remote attackers to exec39Monitor
- CVE-2009-0148Multiple buffer overflows in Cscope before 15.7a allow remote attackers to execute arbitrary code via long strings in input such as (1) sour39Monitor
- CVE-2006-4262Multiple buffer overflows in cscope 15.5 and earlier allow user-assisted attackers to cause a denial of service (crash) and possibly execute21Monitor
- CVE-2004-0996main.c in cscope 15-4 and 15-5 creates temporary files with predictable filenames, which allows local users to overwrite arbitrary files via8Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:cscope | 15.5+cvs20050816-1.1 · Debian:12 | Package registry (OSV) |
| opensuse:cscope | 15.9-1.9 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:cscope | 0:15.5-16.RHEL3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:cscope-debuginfo | 0:15.5-16.RHEL3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
AV:L/AC:M/Au:N/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- docs.info.apple.com/article.html?artnum=306172
- lists.apple.com/archives/security-announce//2007/Jul/msg00004.html
- secunia.com/advisories/13237
- secunia.com/advisories/20191
- secunia.com/advisories/20564
- secunia.com/advisories/26235
- secunia.com/advisories/35462
- sourceforge.net/tracker/index.php?func=detail&aid=1064875&group_id=4664&atid=104664
- www.debian.org/security/2006/dsa-1064
- www.gentoo.org/security/en/glsa/glsa-200606-10.xml
- www.osvdb.org/11920
- www.redhat.com/support/errata/RHSA-2009-1101.html
- www.redhat.com/support/errata/RHSA-2009-1102.html
- www.securityfocus.com/bid/18050
- www.securityfocus.com/bid/25159
- www.vupen.com/english/advisories/2007/2732
- bugzilla.redhat.com/show_bug.cgi?id=490667
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10069
Vendor advisories and official records. Exploit/PoC links are deliberately left out.