CVE-2004-0996 json
main.c in cscope 15-4 and 15-5 creates temporary files with predictable filenames, which allows local users to overwrite arbitrary files vi…
published 2004-12-01 21 y ago modified 2026-06-16 4 mo ago also EUVD-2004-0994
- cvss
- 2.1
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 2
- Exploit-DB
Summary
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.
Patch / fix
- cscope Debian 14, Debian 13, Debian 12 15.5-1.1
debian advisories DEBIAN-CVE-2004-0996
- debian.org/security/2004/dsa-610 advisory
- securityfocus.com/bid/11697 advisory
Timeline
- First public exploit (EDB-24750)
- Published
Exploit prediction
1.15% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-24750 Cscope 13.0/15.x - Insecure Temporary File Creation (2) local, 2004-11-17
- EDB-24749 Cscope 13.0/15.x - Insecure Temporary File Creation (1) local, 2004-11-17
- securityfocus.com http://www.securityfocus.com/bid/11697 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:P/A:N |
References
-
debian.org
/security/2004/dsa-610
vendor-advisory, patch
-
securityfocus.com
/bid/11697
vdb-entry, exploit, patch, vendor-advisory
-
lists.apple.com
/archives/security-announce//2007/Jul/msg00004.html
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200412-11.xml
vendor-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/18125
vdb-entry
-
vupen.com
/english/advisories/2007/2732
vdb-entry
-
securityfocus.com
/archive/1/381611
mailing-list
-
securityfocus.com
/archive/1/381443
mailing-list
-
marc.info
/?l=bugtraq&m=110133485519690&w=2
mailing-list
- docs.info.apple.com /article.html?artnum=306172
-
securityfocus.com
/archive/1/381506
mailing-list
-
securityfocus.com
/bid/25159
vdb-entry
-
secunia.com
/advisories/26235
third-party-advisory
Sources
- CVE List CVE-2004-0996
- NVD CVE-2004-0996
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Fix old broken CPEs.