Home / Cscope / Cscope / CVE-2004-0996
CVE-2004-0996: is it exploited, and which versions of Cscope are affected and fixed?
CVE-2004-0996 is a vulnerability in Cscope. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: cscope 13.0, cscope 15.1, cscope 15.3 and 7 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Low (2.1, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:54 UTC.
What is CVE-2004-0996?
main.c in cscope 15-4 and 15-5 creates temporary files with predictable filenames, which allows local users to overwrite arbitrary files via a symlink attack.
From the CVE record by mitre, last updated August 8, 2024, 00:39 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cscope | cscope | 13.0 | application |
| cscope | cscope | 15.1 | application |
| cscope | cscope | 15.3 | application |
| cscope | cscope | 15.4 | application |
| cscope | cscope | 15.5 | application |
| debian | debian linux | 3.0 | operating system |
| gentoo | linux | all versions | operating system |
| sco | unixware | 7.1.1 | operating system |
| sco | unixware | 7.1.3 | operating system |
| sco | unixware | 7.1.4 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:06 UTC.
How severe is CVE-2004-0996?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.1 | CVSS 2.0 | AV:L/AC:L/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2004-0996 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.15% probability of exploitation activity in the next 30 days, percentile 67.7 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- cscope-tmp-race-condition(18125) vdb-entry, x_refsource_XF
- ADV-2007-2732 vdb-entry, x_refsource_VUPEN
- 20041118 Re: RX171104 Cscope v15.5 and minors - symlink vulnerability - advisory, exploit and patch. mailing-list, x_refsource_BUGTRAQ
- APPLE-SA-2007-07-31 vendor-advisory, x_refsource_APPLE
- 20041117 RX171104 Cscope v15.5 and minors - symlink vulnerability - advisory, exploit and patch. mailing-list, x_refsource_BUGTRAQ
- 11697 vdb-entry, x_refsource_BID
- DSA-610 vendor-advisory, x_refsource_DEBIAN
- 20041124 STG Security Advisory: [SSA-20041122-09] cscope insecure temp file creation vulnerability mailing-list, x_refsource_BUGTRAQ
- http://docs.info.apple.com/article.html?artnum=306172 x_refsource_CONFIRM
- 20041118 Re: RX171104 Cscope v15.5 and minors - symlink vulnerability - advisory, exploit and patch. mailing-list, x_refsource_BUGTRAQ
- 25159 vdb-entry, x_refsource_BID
- GLSA-200412-11 vendor-advisory, x_refsource_GENTOO
- 26235 third-party-advisory, x_refsource_SECUNIA
When was it published, and where is the official record?
- Reserved
- November 2, 2004
- Published
- December 1, 2004, 05:00 UTC
- CVE record updated
- August 8, 2024, 00:39 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:06 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:54 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Cscope?
- May 7, 2009CVE-2009-1577 Cscope: memory corruption (buffer overflow)
- May 5, 2009CVE-2009-0148 Cscope: memory corruption (buffer overflow)
- Aug 23, 2006CVE-2006-4262 Cscope: memory corruption (buffer overflow)
- Nov 20, 2005CVE-2004-2541 Cscope: memory corruption (buffer overflow)
Questions about CVE-2004-0996
Is CVE-2004-0996 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 1.15% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Cscope are affected by CVE-2004-0996?
cscope 13.0, cscope 15.1, cscope 15.3, cscope 15.4, cscope 15.5, debian linux 3.0 and 4 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2004-0996?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2004-0996?
Low (2.1, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2004-0996?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.