CVE-2004-0996

Exp

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.

Published: 2005-01-10 Last update: 2026-04-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2004-0996 is rated Exploit Available (50/100): CVSS Low severity, with medium exploitation likelihood (EPSS 1.15%). Core evidence: 3 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

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

Public exploit references (Exploit-DB) for CVE-2004-0996

EDB-ID Source Kind Published Link
24750 exploit_db edb 2004-11-17 Exploit-DB ↗
24749 exploit_db edb 2004-11-17 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

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

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 2026-06-15 0.56% 1.15% +0.58%
2 2026-01-11 0.36% 0.56% +0.20%
3 2025-03-30 0.36%

Full EPSS history (7 records total)

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

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
2.1 2.0 LOW
AV:L/AC:L/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
3.9 2.9 [email protected]

Weakness enumeration for CVE-2004-0996

OS Trackers for CVE-2004-0996

vendor priority summary link
debian not yet assigned CVE-2004-0996 not yet assigned 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-0996
redhat https://access.redhat.com/security/cve/CVE-2004-0996
suse medium https://www.suse.com/security/cve/CVE-2004-0996/
ubuntu medium CVE-2004-0996 medium priority: Ubuntu including 1 source packages (cscope), 4 status rows across 4 suites (dapper, edgy, feisty, upstream): released 3, needs-triage 1. https://ubuntu.com/security/CVE-2004-0996

Vendor comments (NVD) for CVE-2004-0996

  • Red Hat (2009-04-09T00:00:00)

    Not vulnerable. cscope packages shipped with Red Hat Enterprise Linux 3, 4, and 5 contain a backported patch since their first release.

Affected software / configurations for CVE-2004-0996

Vendor Product Version Raw CPE
cscope cscope 13.0 cpe:2.3:a:cscope:cscope:13.0:*:*:*:*:*:*:*
cscope cscope 15.1 cpe:2.3:a:cscope:cscope:15.1:*:*:*:*:*:*:*
cscope cscope 15.3 cpe:2.3:a:cscope:cscope:15.3:*:*:*:*:*:*:*
cscope cscope 15.4 cpe:2.3:a:cscope:cscope:15.4:*:*:*:*:*:*:*
cscope cscope 15.5 cpe:2.3:a:cscope:cscope:15.5:*:*:*:*:*:*:*
debian debian_linux 3.0 cpe:2.3:o:debian:debian_linux:3.0:*:*:*:*:*:*:*
debian debian_linux 3.0 cpe:2.3:o:debian:debian_linux:3.0:*:alpha:*:*:*:*:*
debian debian_linux 3.0 cpe:2.3:o:debian:debian_linux:3.0:*:arm:*:*:*:*:*
debian debian_linux 3.0 cpe:2.3:o:debian:debian_linux:3.0:*:hppa:*:*:*:*:*
debian debian_linux 3.0 cpe:2.3:o:debian:debian_linux:3.0:*:ia-32:*:*:*:*:*
debian debian_linux 3.0 cpe:2.3:o:debian:debian_linux:3.0:*:ia-64:*:*:*:*:*
debian debian_linux 3.0 cpe:2.3:o:debian:debian_linux:3.0:*:m68k:*:*:*:*:*
debian debian_linux 3.0 cpe:2.3:o:debian:debian_linux:3.0:*:mips:*:*:*:*:*
debian debian_linux 3.0 cpe:2.3:o:debian:debian_linux:3.0:*:mipsel:*:*:*:*:*
debian debian_linux 3.0 cpe:2.3:o:debian:debian_linux:3.0:*:ppc:*:*:*:*:*
debian debian_linux 3.0 cpe:2.3:o:debian:debian_linux:3.0:*:s-390:*:*:*:*:*
debian debian_linux 3.0 cpe:2.3:o:debian:debian_linux:3.0:*:sparc:*:*:*:*:*
gentoo linux cpe:2.3:o:gentoo:linux:*:*:*:*:*:*:*:*
sco unixware 7.1.1 cpe:2.3:o:sco:unixware:7.1.1:*:*:*:*:*:*:*
sco unixware 7.1.3 cpe:2.3:o:sco:unixware:7.1.3:*:*:*:*:*:*:*
sco unixware 7.1.4 cpe:2.3:o:sco:unixware:7.1.4:*:*:*:*:*:*:*

References for CVE-2004-0996

cvelogic Threat Intelligence