Home / Niels / Provos Systrace / CVE-2004-2012
CVE-2004-2012: is it exploited, and which versions of Niels Provos Systrace are affected and fixed?
CVE-2004-2012 is a vulnerability in Niels Provos Systrace. 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, 06:38 UTC). Affected: provos systrace 1.1, provos systrace 1.2, provos systrace 1.3 and 5 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.2, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:54 UTC.
What is CVE-2004-2012?
The systrace_exit function in the systrace utility for NetBSD-current and 2.0 before April 16, 2004, and certain FreeBSD ports, does not verify the owner of the /dec/systrace connection before setting euid to 0, which allows local users to gain root privileges.
From the CVE record by mitre, last updated August 8, 2024, 01:15 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| niels | provos systrace | 1.1 | application |
| niels | provos systrace | 1.2 | application |
| niels | provos systrace | 1.3 | application |
| niels | provos systrace | 1.4 | application |
| niels | provos systrace | 1.5 | application |
| vladimir kotal | systrace port for freebsd | 2004-03-09 | application |
| vladimir kotal | systrace port for freebsd | 2004-06-02 | application |
| netbsd | netbsd | 2.0 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:08 UTC.
How severe is CVE-2004-2012?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.2 | CVSS 2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C | 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-2012 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.85% probability of exploitation activity in the next 30 days, percentile 59.5 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- 20040510 Advisory 04/2004: Net(Free)BSD Systrace local root vulnerabilitiy mailing-list, x_refsource_BUGTRAQ
- 10320 vdb-entry, x_refsource_BID
- systrace-gain-privileges(16110) vdb-entry, x_refsource_XF
- 11585 third-party-advisory, x_refsource_SECUNIA
- NetBSD-SA2004-007 vendor-advisory, x_refsource_NETBSD
When was it published, and where is the official record?
- Reserved
- May 4, 2005
- Published
- May 10, 2005, 04:00 UTC
- CVE record updated
- August 8, 2024, 01:15 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:08 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:54 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2004-2012
Is CVE-2004-2012 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 0.85% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Niels Provos Systrace are affected by CVE-2004-2012?
provos systrace 1.1, provos systrace 1.2, provos systrace 1.3, provos systrace 1.4, provos systrace 1.5, systrace port for freebsd 2004-03-09 and 2 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2004-2012?
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-2012?
High (7.2, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2004-2012?
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.